cancel
Showing results for 
Search instead for 
Did you mean: 

debug error with stm32h755 on cube ide

Ruồi
Associate III

I configured adc+dma of h755 on cubemx and generated code for cube ide.
I compile (have not changed the code since it was created) and it's normal.
However, when debugging, it runs to this line and cannot exit.

Screenshot 2024-07-19 155024.png

H755 board is NUH755ZIQ$AT3, while I debug on NUH755ZIQ$AT1 and it's normal.

Thanks for any solution

1 ACCEPTED SOLUTION

Accepted Solutions

The solution is to load the code for CM4 first and reload the code for CM7 to solve this problem.

View solution in original post

4 REPLIES 4
SofLit
ST Employee

Hello,

Have a look at his thread: https://community.st.com/t5/stm32cubeide-mcus/stm32h755-nucleo-m4-core-debugging-problem/m-p/650982

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.

Hello,

my problem lies in the fact that it cannot escape while((__HAL_RCC_GET_FLAG(RCC_FLAG_D2CKRDY) != RESET) && (timeout-- > 0));
I looked at your suggestion but none of the solutions worked.

Thanks

Ruồi

I run it on AT1 board with no problem.
But running on AT3 board, I get this error. Is there any difference between the two nucleo boards H755 AT1 and AT3?

NUH755ZIQ$AT3NUH755ZIQ$AT3NUH755ZIQ$AT1NUH755ZIQ$AT1

The solution is to load the code for CM4 first and reload the code for CM7 to solve this problem.