2020-11-18 10:00 AM
A strange debugger (?) issue bugs me on Atollic TrueStudio.
There's a "main firmware", started by bootloader at default address 08000000.
To debug it I just created a default run config in Atollic, which does "monitor reset" before and after load.
This worked for very long time - the resets just went thru the bootloader and it instantly jumped to the app, where the debugger catches up.
After some change in the booloader - maybe, use of the backup RAM area - when the debugger starts, there's immediately a HardFault in the bootloader.
The fault analyzer shows instruction fetch error, with LR=FFFFFFFF.
Then I click on restart button on debugger toolbar, and this time everything runs smoothly.
I don't understand what causes the instruction fetch fault.
Has anyone seen this behavior?
Thanks,
-- pa
2020-11-20 06:46 PM
Up