2017-02-04 03:03 AM
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
2017-02-04 04:37 AM
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.