Forum : ARM
Original Post
Post Information | Post |
---|---|
March 11, 2009 - 5:50pm
|
Hello All, I use Ride7 as platform to build and debug applications for the STR7x family in conjunction with RLink. For a special application, loaded by a bootloader, I would like to debug the startup code of the target application (starting from the point where the bootloader tries to run the application). How can this be done? Thanks for the help |
Hi Kris
This answer might come too late in your case but here is a suggestion.
+ Install the release of Ride7 and RKit-ARM from April
+ Create a project with code you want to debug
+ Add as a node in your apllication the .hex of your bootloader
+ In the application options (of the application you want to debug)
use the "code offset" option from the "debug environmente" option of "ARM advanced Options"
to set an offset to the address the code should be laoded in the FLash
Doing this when you start the debug the code of the bootloader will be placed at reset address
and the application will be written at the offset address.
The code of the bootloader will be executed and you can debug the application code.
Regards,
Matloub