MC-SDK 5.Y.4 code generation error
Board: Custom STSPIN32G4
Debug port: external STLINK V3
MC-SDK 5.Y.4
CubeMX 6.4
Firmware: STM32 FW V1.5.0
Drive Type: HAL
Target Toolchain: ST STM32CubeIDE 1.8.0
I designed a custom inverter using an STSPIN32G4, with the same topology of EVSPIN32G4, and so that is how I initiate the project in Motor Control Workbench.
I set it up for speed control and hall effect sensors feedback as the primary and only speed sensor. I have used this setup many times before in earlier versions with no issues.
During code generation, I get the following error:
“The ST intranet updater server is unknown: mcucrosselector.codex.cro.st.com�?
and also,
“Completed with errors�?
In the main log, I get:
“Generation failed�?
The code seems to compile fine in CubeIDE 1.8.0 with no errors.
I run the program on the board using ST-LINK, Connect under different modes: reset, hardware reset, software reset and often I get a tab in CubeIDE saying:
“Break at address "0x1fff4bc4" with no debug information available, or outside of program code.�?
In the console, I get the normal “Download verified successfully�?
The board does connect with Motor Pilot about 50% of the times I try, but immediately I get the following errors.
Finally, from the main dashboard I get an over current fault, but if I click on Acknowledge Fault, nothing happens.
I then run the same process with CubeMX 6.3, I don’t get any error message during code generation, but I get the same error message in Motor Pilot.
Going over the MC-SDK 5.Y.4 release notes, I go in CubeMX, MotorControl Middleware, and set DBG_MCU_LOAD_MEAS, but code will not compile with that option set.
Any suggestions, please?
