Senior
June 7, 2020
Question
Error when generating code in STM32Cube 5.6.1 (MDK-ARM project generation problem )
- June 7, 2020
- 1 reply
- 567 views
I am using the ST Profiler to get motor parameters and generate a *.stmcx file. I then used MCSDK V5.4.3 to load the *.stmcx file and tune the motor. I followed this by generating code within MCSDK.
My problem is when I then update code using CubeMX I get the following error message (see photo screen shot). There was a MDK-ARM project generation problem (?).
When I next build by project in Keil I notice the motor Kp and Ki values have not been updated. The correct values are in the *.stmcx file in my project folder but they are not being used.
I've filed a case with Keil but it has not been resolved.
Has anyone seen this problem? Is there a workaround?
I'm using the STM32F303RE Nucleo board.