Skip to main content
MDeac.1
Associate III
March 14, 2024
Solved

STM32H723ZGT6 will not reboot after powering off

  • March 14, 2024
  • 3 replies
  • 1678 views

Hello All,

I designed and built a bare metal board with an STM32H723ZGT6 and it runs fine.

I have blinking LED's, timer / interrupts running, HSE and LSE etc.

I have been trying to figure out why if I toggle the power supply the device will not boot up clean.

The device appears stable in that I have left it running overnight withn o issues.

I have looked through datasheets etc. but think I am missing something really simple.

The device is powered through a 3.6V 500ma LDO voltage regulator and I can see no issues on this.

 

Pointers on where too look would be appreciated.

 

 

Best answer by MDeac.1

I found the solution so this is for anybody else.

I did not fully understand the BOOT0 pin on the STM32H723ZGT6.

This changes the program memory start execution.

I was not sure of this so had made my bare metal board optional that I could switch using a jumper between VDD and VSS on this pin. When I programmed the device it worked fine but if I powered off/on program start execution was not correct.

Switching from VDD to VSS on the BOOT0 pin and now it works correctly.

3 replies

Tesla DeLorean
Guru
March 14, 2024

What are you doing with the NRST pin? Driven High?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
MDeac.1
MDeac.1Author
Associate III
March 14, 2024

Yes NRST is pulled high through a resistor.

mƎALLEm
Technical Moderator
March 14, 2024

Hello,

The first thought is to start by checking your HW schematics and refer to the AN5419.

Then check your system clock config function clocks etc .. and the flash wait states vs system frequency used..

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
MDeac.1
MDeac.1AuthorAnswer
Associate III
March 14, 2024

I found the solution so this is for anybody else.

I did not fully understand the BOOT0 pin on the STM32H723ZGT6.

This changes the program memory start execution.

I was not sure of this so had made my bare metal board optional that I could switch using a jumper between VDD and VSS on this pin. When I programmed the device it worked fine but if I powered off/on program start execution was not correct.

Switching from VDD to VSS on the BOOT0 pin and now it works correctly.