Skip to main content
talan.1
Associate
October 29, 2020
Solved

Bricked After first Debug STM32H735G-DK

  • October 29, 2020
  • 3 replies
  • 1725 views

I bought this kit to learn but after first time debugging i can't connect to it at all.

I just set some GPIO input and outputs and got a led working in debug mode and now i can't connect to the board again and the previous debug program doesn't work either.

I didn't choose the project from boards selection but from MCU selections

Which is STM32H735IG

Please help it was a very expensive board and i don't want to give up on learning it.

Edit: Found out how to reset the device.

Don't know if anyone else needs it but i guess it was my fault for not checking the whole datasheet first.

In any case leaving this for anyone who might need it in the future.

This topic has been closed for replies.
Best answer by Tesla DeLorean

https://community.st.com/s/question/0D53W00000LeYL1SAN/get-stm32h735gdk-out-of-deadlock

​

Got to get the BOOT0 pin HIGH, cycle power a couple of times and then erase your broken code.​

​

L​ikely the wrong LDO/SMPS or VOS settings.

3 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
October 29, 2020

https://community.st.com/s/question/0D53W00000LeYL1SAN/get-stm32h735gdk-out-of-deadlock

​

Got to get the BOOT0 pin HIGH, cycle power a couple of times and then erase your broken code.​

​

L​ikely the wrong LDO/SMPS or VOS settings.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
talan.1
talan.1Author
Associate
October 29, 2020

Can i ask how do we know at which sector our code is ? I just erased sector 0 and it worked but still not sure...

Also do you know if full erasure of chip would have any negative effect ?

In default code it seems the PWR Selection bits were wrong also.

Tesla DeLorean
Guru
October 29, 2020

The flash has got over 10K cycles, so unless you're doing some epic amount of compile/debug it is probably going to outlast you.

The flash maps to two addresses on the H7, the M7 core typically starts from 0x08000000 and the M4 from 0x08100000

​

E​rasing the first sector is sufficient to remove the vector table and stop your code running.

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