cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F205RCTb system boot loader

sangamesh
Associate II
Posted on February 18, 2015 at 10:52

Hi

We want to use USB DFU feature available in system bootloader for firmware upgrade

Controller used: STM32F205RCTb

How to jump to bootloader from application(Running in Flash). what should be the Boot options (Boot 0 and Boot 1 positions in hardware)

Please assist on this

Awaiting your reply

Thank you

Sangamesh
3 REPLIES 3
sangamesh
Associate II
Posted on February 20, 2015 at 14:42

Hi clive

Thank you very much for the information

I have one doubt, what is Address for Ram signature in following snippet

 LDR     R0, =0x2000FFF0 ; Address for RAM signature

                LDR     R1, =0xDEADBEEF

                LDR     R2, [R0, #0]

                STR     R0, [R0, #0] ; Invalidate

                CMP     R2, R1

                BEQ     Reboot_Loader

                LDR     R1, =0xDEADDEAD

                CMP     R2, R1

                BEQ     Reboot_RAM

Is it any address in RAM, where we load 0xDEADBEEF value and compare in reset handler?

Please clarify

Posted on February 20, 2015 at 18:32

As if it's not clearly stated, the RAM address is 0x2000FFF0

*((uint32_t *)0x2000FFF0) = 0xDEADBEEF; // Write the magic value

Or pick, and consistently apply, a different address more appropriate to your chip/system.

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