The goal of this assignment is to write a diagnostic hard fault exception handler that may help you to debug later assignments.
Example of the information you should log:
Hard fault at PC=0x1234ABCD LR=0xABCD1234
- Download and unzip the uDebugger project contained in the zip file: uDebugger.zip
- Open the uDebugger.eww workspace in the EWARM IDE.
- Make sure the uDebugger project builds and runs. It should print a Fail message to the UART (BAUD rate should be 38400).
- Implement the code specified by the TODO comments do a global search in the project (Ctrl_Shift-F) for the TODO string. There are TODO comments in these 3 files:
- c
- c
- s
- Clean your project and zip it into a file named uDebugger_<YourUwNetId>.zip
- Clean means delete the Debug folder before zipping so you dont bloat your submission.
- Example submission filename: uDebugger_johndoe.zip
- Submit your zip file by the due date.
Note: Your program should fault exactly 10 times.
Additional Challenge
If you would like an additional challenge, instead of printing just the PC and LR, modify your program to print the entire stack frame consisting of R0-R3, R12, LR, PC, PSR.

![[Solved] EMBSYS105 Assignment 1 uDebugger](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] EMBSYS105 Assignment 5 -MP3 Player](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.