cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-CLASSB in dual core STM32H745

dgv
Associate

Hi,

I am trying to install the X-CUBE-CLASSB 3.0.0 library in my custom board with the dual core STM32H745. I have put the library in the CM7 core but it only works if I debug the program. When I turn off and turn on again, the program does not work. I don't know what to do because it works rigth when I debug it.

I have tried to disable the watchdogs by commenting USE_INDEPENDENT_WDOG and USE_WINDOW_WDOG. I have also uncomented IGNORE_COMPLEMENTARY_CORE_STATUS to ignore CM4.

The only example ST provides is for STM32H747. It is very similar to STM32H745 but not the same. I am using the startup file .s of the example for STM32H747. Do I need to change anything in this file?

Does anyone have any idea what the problem could be?

Thanks in advance,

David

1 REPLY 1
ASEHST
ST Employee

Hello @dgv,

The fact that the program works in debug mode but not in normal execution mode may indicate a timing or initialization issue. In debug mode, certain delays or initializations might be masked by the debugger. This might be similar to what is described in this post: https://community.st.com/t5/stm32-mcus-embedded-software/basic-udp-echo-server-works-in-debug-but-not-run-mode-nucleo/m-p/713184#M50819 

 

With Regards,

If your question is answered, please close this topic by clicking "Accept as Solution".