AnsweredAssumed Answered

Run the STM32 System bootloader from application?

Question asked by scott.gordon.001 on Sep 3, 2014
Latest reply on Sep 4, 2014 by scott.gordon.001

I've been trying to run the system bootloader from my application on an STM32F205.  I think that should b feasible, but at present the system firmware behaves badly.  Probably I'm doing something wrong, but I can't presently see what.


I can read the bootloader version OK (0x33 == V3.3) and I can see what appear to be vectors at 0x1FFF,0000 (AN2606 says 0x1FF0,0000 but I believe it's wrong).

I can pick up the second vector (reset point from 0x1FFF0004 0x1FFF3DE5) and call it as a function.

The code at that address [0x1FFF3DE5] begins executing, but after a few instructions breaks with a UsageFault_StateError.

Can anyone give an insight into what I'm missing?

Also, if anyone is familiar with this, I'm presuming I need to set up the GPIO pins as per AN2606 so the bootloader chooses the appropriate port, e.g., by setting "don't use this" ports to outputs and the port to use to an input(s).