cancel
Showing results for 
Search instead for 
Did you mean: 

Booting STM32F100 after flashing.

Ian Betts
Associate
Posted on February 04, 2017 at 12:03

I have built the simple led blink app using eclipse and gnu arm toolchain without any errors. I am accessing boot monitor via serial interface and programming the flash using stm32flash tool on linux, afterwards I can read back flash and see that contents match. HOWEVER when I try to run the code nothing happens. Not I try to reset the board without BOOT0 tied to 3v, nor if in the boot monitor I request to execute from 0x0. I have tried one or two different GPIOs and checked with a scope none are being manipulated by the software. I should add that the target board is an xrobot vacuum cleaner.

Is there some extra step I am missing ?

Thanks

1 REPLY 1
Posted on February 04, 2017 at 13:37

The lack of errors means that the syntax appears correct, not that it is functional.

Pull BOOT0 low.

The base of FLASH is 0x08000000, don't assume 0 will suffice.

People use debuggers for these types of issues. I can't debug code I can't see.

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