2026-04-15 9:18 PM - last edited on 2026-04-22 3:09 AM by KDJEM.1
I have this Riverdi board with a STM32H757XIH6 microcontroller. I have been using it consistently and loading touchgfx programs on it. Today I was trying to use the 40 pin header and program one of the gpio pins on it to act as a gpio output. I put an led on a ground and the PA4 pin, which was the pin I was using on the 40 pin header, to verify the toggling code was working. Nothing happened and so I tried to load a basic program onto the board using stmcubeMX and selecting the STM32H757XIH6 microcontroller. I selected the PA4 pin on the .ioc file and generated the code. However, when trying to run the program I get this error,
.
Not sure if it was that program or touching the multi meter to certain pins that cause a hard fault or something. I would not think a multi meter could do anything like that, but I'm trying to figure out why all of a sudden I am unable to upload a program to the board when I have been consistently.
I also tried to reset the mc with the stmcubeprogrammer, but I can not connect to it. The programmer recognizes the st-link is connected
But when I try to connect to it, I get this error.
I have tried to hold the reset button and plug in the st link to trigger dfu mode. I was able to upload a new firmware, but that did not do anything either. I tried a software and a hardware reset. Please help.
Solved! Go to Solution.
2026-04-16 3:42 AM - edited 2026-04-17 1:15 AM
Hello,
Hard to tell what the problem is.
Check the power configuration you set for the board.
What power configuration that Reverdi board has on the hardware? LDO or SMPS?
Your application needs to follow the same power configuration on the HW.
If you miss-configured the power config and you've broken your board, you can recover it. Please read the following articles:
How can I recover my STM32H7/STM32H7RS board after facing a power configuration deadlock?
How to unbrick an STM32H7 after setting the wrong power mode
2026-04-16 3:42 AM - edited 2026-04-17 1:15 AM
Hello,
Hard to tell what the problem is.
Check the power configuration you set for the board.
What power configuration that Reverdi board has on the hardware? LDO or SMPS?
Your application needs to follow the same power configuration on the HW.
If you miss-configured the power config and you've broken your board, you can recover it. Please read the following articles:
How can I recover my STM32H7/STM32H7RS board after facing a power configuration deadlock?
How to unbrick an STM32H7 after setting the wrong power mode
2026-04-16 3:53 AM
How to solve connection errors when connecting and programming the STM32 target board.
How to solve debugger connection issues
2026-04-16 4:01 AM
@mƎALLEm wrote:How can I recover my STM32H7/STM32H7RS board after facing a power configuration deadlock?
Link should be: https://community.st.com/t5/stm32-mcus/how-can-i-recover-my-stm32h7-stm32h7rs-board-after-facing-a/ta-p/49579
2026-04-16 4:11 AM
@Andrew Neil wrote:
Link should be: https://community.st.com/t5/stm32-mcus/how-can-i-recover-my-stm32h7-stm32h7rs-board-after-facing-a/ta-p/49579
Thanks. Fixed.
2026-04-16 4:09 PM
Thank you so much!! I was so worried I ruined the board and it's like $200. hahah. After finding the boot0 pin I was able to erase the board with the STMCubeProgrammer and get a program on it again!!! You all are lifesavers. Thank you again.