Skip to main content
Ruồi
Associate III
July 19, 2024
Solved

debug error with stm32h755 on cube ide

  • July 19, 2024
  • 1 reply
  • 2869 views

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

Best answer by Ruồi

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

1 reply

mƎALLEm
ST Technical Moderator
July 19, 2024
To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Ruồi
RuồiAuthor
Associate III
July 20, 2024

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

Ruồi
RuồiAuthorBest answer
Associate III
July 20, 2024

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