Forum : ARM
Original Post
Post Information | Post |
---|---|
April 11, 2012 - 3:31pm
|
How to enforce RAID7 (7.36.11.0280) with correctly prepared batch (shifted with linker script to 0x08004000 with vector table set ) to work properly with Rlink in debug mode? In Debug Environment I set 0x4000 in section Code Offset. Finally there will be bootloader at 0x08000000 switching to APP, but for now it would be nice to work only |
First, your elf/hex files already include the address at which the data must be written, so you MUST NOT use the offset option in your situation.
Then, for debugging an application that is designed to be started by a bootloader, you need the bootloader to be programmed. For example, the device cannot run if there is no reset vector and initial stack pointer value at addresses 0 and 4, and it's the bootloader that provides these. So you must add your bootloader's hex or elf file in the application's project as if it was a source file. See the CircleOS applications for examples of thiw procedure.
Changed my mind
????
Could precise your mind?