Topic : RAID7, STM32(F207ZG), code offset(ing)

Forum : ARM

Original Post
Post Information Post
April 11, 2012 - 3:31pm
Guest

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

Replies
Post Information Post
+1
0
-1
April 16, 2012 - 11:19am
Raisonance Support Team

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.

+1
0
-1
March 23, 2016 - 5:02pm
Ambrose Eromosele

Changed my mind

+1
0
-1
March 25, 2016 - 4:53pm
Etienne Cassin

????

Could precise your mind?