hello guys
i have a question.
my app start from 4000, 0 is for bootloader.
when i debug app. (already set link RO base 4000 and set below picture)
running is ok, but after i click keil reset (RST button), it can never run again (stop instantly)...
can someone tell me? thank you...
Related, probably helpful:
"How do I debug application code after a bootloader jump?"
https://developer.arm.com/documentation/ka004997/latest/
I see you are using a .ini file to setup your device.
After hitting reset, this script is not running.
A) You might want to use these commands in your ini file, so that setup can get called each time you reset the debugger:
https://developer.arm.com/documentation/101407/0539/Debug-Functions/Predefined-Functions/OnStopAfterReset?lang=en
https://developer.arm.com/documentation/101407/0539/Debug-Functions/Predefined-Functions/OnResetExec
B) or After clicking Reset in the debugger...
in the command window, you can manually type setup(); to execute that debug function again
https://developer.arm.com/documentation/101407/latest/Debugging/Debug-Windows-and-Dialogs/Command-Window
i will try later, but what you said is absolutely what i want... thank you.