[Solved] EMBSYS105 Assignment 1 uDebugger

$25

File Name: EMBSYS105_Assignment_1__uDebugger.zip
File Size: 310.86 KB

SKU: [Solved] EMBSYS105 Assignment 1 – uDebugger Category: Tag:
5/5 - (1 vote)

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

  1. Download and unzip the uDebugger project contained in the zip file: uDebugger.zip
  2. Open the uDebugger.eww workspace in the EWARM IDE.
  3. Make sure the uDebugger project builds and runs. It should print a Fail message to the UART (BAUD rate should be 38400).
  4. 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:
    1. c
    2. c
    3. s
  5. Clean your project and zip it into a file named uDebugger_<YourUwNetId>.zip
    1. Clean means delete the Debug folder before zipping so you dont bloat your submission.
    2. Example submission filename: uDebugger_johndoe.zip
  6. 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.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] EMBSYS105 Assignment 1  uDebugger[Solved] EMBSYS105 Assignment 1 uDebugger
$25