cancel
Showing results for 
Search instead for 
Did you mean: 

Boot controller from 0x08004000

sangamesh
Associate II
Posted on June 22, 2015 at 07:19

Hi

We are using STM32F205RCTb

Is it possible to boot the controller from 0x08004000 location? if possible what are the places we need to modify the code. (Boot 0 and Boot 1 pins are already assigned to boot from Main flash)

Please assist on this.
5 REPLIES 5
nesrine
Senior
Posted on June 22, 2015 at 12:41

Hello,

You can only boot from an offset 0 in your case is the 0x0800_0000 but you can execute a code from any address you want by specifying your memory Areas.

I hope this answered your questions,

Syrine.

sangamesh
Associate II
Posted on June 22, 2015 at 13:33

Hi

I am keeping my actual application code @ 0x0800C000 by changing ROM start area in IAR linker section, but keeping  .intvecstart @0x08000000

Will that suffice my requirement of executing code from 0x0800C000 location even after power on reset without any debugger

Please correct me if my understanding is wrong

Thnaks

Posted on June 22, 2015 at 14:10

Yes, as long as your vector table, or at least the two SP and PC entries, resides at 0x08000000, then the bulk of your code can be situated somewhere else.

You'd probably was to review the .MAP, and your created image to confirm things have been built in the manner you want/need.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
sangamesh
Associate II
Posted on June 22, 2015 at 16:42

Hi Clive

Thanks for the clarification, it worked fine.

However we are facing problem in firmware upgrade with Dfu utility, do we need to make any changes while creation of .dfu file or while downloading .dfu file, 

do we need to mention the address of init vector or address of code start(0x0800C000) anywhere

Regards

sangamesh

Posted on June 22, 2015 at 16:50

I'd imagine if you feed the DFU Manager a working .HEX file, that would be sufficient.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..