2024-08-27 08:33 PM - last edited on 2024-08-28 12:04 AM by Peter BENSCH
A motor control project, 240826-FAN-40A-48V, have been generated by Motor control Workbench-6.3.0 for the custom board based on the STM32G431RBT. Because of error 'Attr not supported : Dmpu' during generation, the project is imported by CubeIDE. I am not sure why the Project name on the Project explorer is 'STM32CubeIDE' instead of '240826-FAN-40A-48V'.
Then I need to add other functions using USART3 and some GPIO Port.
Firstly 240826-FAN-40A-48V.ioc on the Project explorer is clicked to open it. But I got a message on the screen as;
"Invalid Input: Must be project's active .ioc file.
Project's 'STM32CubeIDE' active one is 'STME2CubeIDE.ioc' file"
But I could not find the 'STME2CubeIDE.ioc' file in my project directory.
Because of above issue run the CubeMX and Load '240826-FAN-40A-48V.ioc' then generate the code. Now open the project but I found that several mc_ files have error mark on the file name and the contents of the file looks like Java related error as attached.
Please help to resolve above issues.
Thanks and regards,
HM Kim
2024-08-28 03:56 AM
Hello hmEngin,
Could you please provide the MCSDK version you are using, as well as your project file in .txt format ?
Also, know that the 'Attr not supported : Dmpu' error message during generation can be ignored as long as the generation reaches main.c ; the used toolchain can be chosen right before generation and this has nothing to do with the matter at hand.
Also, be aware that if you updated your MCSDK recently, old projects should not be re-generated in the same folder they used to be. Attention should be taken to save the project with another name or in a different folder before generating the updated FW.