You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works until execution gets to 0x4172, where the lr register is pointing to garbage (0x0xfffffffd) so when the code jumps there it dies. The lr register points to a sensible address until the msr PSP, r0 call, which is when it changes into garbage. Any idea what I'm doing wrong?
The text was updated successfully, but these errors were encountered:
I'm trying to run an app built using FreeRTOS using Unicorn, but I can't seem to get the exception handlers right.
Relevant FreeRTOS code:
When the
svc 0
exception is raised I set the PC to the corresponding entry in the vector table, which is hard-coded at the moment:This works until execution gets to
0x4172
, where thelr
register is pointing to garbage (0x0xfffffffd
) so when the code jumps there it dies. Thelr
register points to a sensible address until themsr PSP, r0
call, which is when it changes into garbage. Any idea what I'm doing wrong?The text was updated successfully, but these errors were encountered: