This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1290NCZAD: After the bootloader has downloaded the application, the microcontroller has a chance to enter the FaultISR() function.

Part Number: TM4C1290NCZAD

For the original Bootloader program of TM4C, the main points of my modification are

1. Modified the start address 0x8000.

2. Modified the communication protocol.

3. Added download area and APP run area.

4. Initialized the SPI port.


For Bootloader, the hex written to flash is correct, I have confirmed it.
For APP part, some APP can run normally after downloading in, and some code will enter FaultISR () after downloading in.

About verifying the correctness of the APP program, what I am doing now is just changing the APP start address to 0x0000, and the APP part of the code will run normally.

So now I want to know, how can I solve this occasional problem?


The picture is a screenshot of my debugging, the SP and some register values, and the map of APP.