cancel
Showing results for 
Search instead for 
Did you mean: 

Question about STM32 MCU that does not perform the program on it's flash memory, after turning it off, and then on.

REldo.1
Associate II

Hi, 

I'm using STM32 MCU: STM32L4A6AGIxP.

The IDE that I use to write the code for the MCU is: STM32CubeIDE v1.10.1.

The BOOT0 pin of this MCU is floating and not connected to GND.

The big problem that the MCU is SMT FBGA type and and soldered to the PCB, 

so I can't detach it from the PCB and do a direct solder between the BOOT0 pin, to a resistor that connected to GND.

In the IDE, after flashing the MCU in debug mode, the program loaded and performed correctly, but after exiting from debug mode, powering off and powering on the PCB again, the MCU do nothing and doesn't preform the program.

I've noticed that the the program is still exist on the MCU's flash memory, from address 0x0800000, after turning off & on the MCU. 

I suspect that because the situation, that BOOT0 is floating, the program that was burned to the flash memory, isn't loaded to address 0x00000000 on this MCU's memory, and is not performed.

My question: What can I do now with the given situation, that BOOT0 pin is not connected to GND in the soldered smt-fbga MCU, in order to perfrom the flashed program? Can I set BOOT0 programmatically in this MCU model, so that after turning on the processor, the software that is burned on its flash memory will be executed?

Many thanks in advance, and best regards,

Ran

10 REPLIES 10
REldo.1
Associate II

Thanks you all,

I'll try this 🙂