I've been working with the secondary_bootloader project, and I seem to be having some issues when trying to debug the project using a JLink Lite.
When I start debugging in Keil (v5.12), it looks like the code downloads correctly, but then the assembly is completely out of sync with the code in the debugger window and I get the following error in the Keil command window:
**JLink Warning: T-bit of XPSR is 0 but should be 1. Changed to 1.
When I try to step through the code, the PC starts at 0x00000000 and I can step through instructions until I get to a breakpoint. These instructions don't seem to correspond to the secondary_bootloader code.
My other projects seem to work pretty well, it's only the secondary_bootloader project that's causing issues. Do you have any idea what's going on.