cancel
Showing results for 
Search instead for 
Did you mean: 

stm32h755 Nucleo M7 debug problem

JUANdeJESUS
Associate II

I am Juan de Jesus, I am a graduate student in engineering. I just bought a NUCLEO STM32H755 board.

I am writing a simple code to test this board, an algorithm that makes LED 1 blink.

The program compiles very well, and after this, I have made the configuration in the debug for the M7 core only, but when I am programming the flash memory, the st-link works well, but the microcontroller does not respond, it remains as if it were not programmed.

I have tried this algorithm with the board of one of my classmates and I have verified that my algorithm works correctly on his board.

What should I do? Should I return the board to the store?

Do you have any recomendation for me, please?

Thank you

 

15 REPLIES 15

Sorry but you didn't answer my question: does your board work with your classmate's laptop?

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Good morning:

 

Thank you for your message, and your help.

I have compared the two configurations of the so called "option bytes" on each of the two stm32h755 nucleo board, but the configuration for both are the same.

I still can't solve this problem.

I appreciate all the help you can give me.

Thank you

My simple question remains unanswered : does your board work with your classmate's laptop? 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Good afternoon:

No, it doesn't work.


@JUANdeJESUS wrote:

Good afternoon:

No, it doesn't work.


So the issue is on your board...

What power config you set in your application? SMPS or LDO? if LDO, I'm afraid you've broken the MCU and you need to recover it by following these articles:

https://community.st.com/t5/stm32-mcus/how-to-unbrick-an-stm32h7-after-setting-the-wrong-power-mode/ta-p/49691

or

https://community.st.com/t5/stm32-mcus/how-can-i-recover-my-stm32h7-board-after-facing-a-power/ta-p/49579

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Good morning:

Thank you for your messages.

I have been following all your recommendations but my stm32h755 nucleo board does not work properly yet.

As I told you in one of my previous posts, my board only works when I write the following line of code between comments:

 

while((__HAL_RCC_GET_FLAG(RCC_FLAG_D2CKRDY) != RESET) && (timeout-- > 0));

 

In this way the new code looks like this:

/* USER CODE BEGIN Boot_Mode_Sequence_1 */
/* Wait until CPU2 boots and enters in stop mode or timeout*/

timeout = 0xFFFF;

// while((__HAL_RCC_GET_FLAG(RCC_FLAG_D2CKRDY) != RESET) && (timeout-- > 0));

Otherwise, my board does not work.

I would appreciate your valuable help to solve it.

 

Thank you