2025-03-03 6:51 AM
Hi,
I have a clean, freshly generated project using the MC Workbench. Normally I can compile the code and flash both cores, and it works fine after I power cycle the board (with other nucleo-64 boards I don't need to reset the board). But when I tried to debug it stuck on LL_ADC_IsCalibrationOnGoing. I've switched ADC mux from PLL2P to PLL3R without success but then I tried to switch to PER_CK and it goes through ADC calibration. I found that PLL clocks are initialized by CM7 core but whole logic runs at CM4 core. I've tried multiple debug configs but might be issue there since I'm not an expert :D Default Access port 3 - Cortex-M4 doesn't work and I've need to switch to 0 - Cortex-M7. When using 3 - Cortex-M4 it catches SIGTRAP
Since App runs normally, I can use ST Motor Pilot and spin motors I assume there is something wrong with my debug configuration
Setup below
HW:
Power Board NUCLEO-H755ZI-Q with desoldered SB 81 and 84
Control Board X-NUCLEO-IHM08M1 configured to FOC with 3sh sensing
SW:
MC Workbench 6.3.2
CubeMX 6.13.0
Configuration: 1.17.0
FOC with Hal sensing, three shunt current sensing. Drive Type HAL. Tried to generate with FW package V1.11.2 and V1.12.1