2024-07-06 08:34 AM
I am trying to generate code for "STM32 Nucleo packs FOC and 6-step motor control platform for three-phase, low-voltage and low-current motor" and I keep getting errors :-
Attr not supported : Dmpu as in attached image.
I am using cubeMX12, I have updated Java recently and I have uninstalled and reinstalled CubeMX as well. Still no luck. Log file attached.
Solved! Go to Solution.
2024-07-12 12:45 AM
Hello @Sujoy_B
regarding the log you have attached to your message, the project have been successfully generated, please try to compile it.
The error message is not a blocking one, we are investigating on that nevertheless you can continue working on your trials.
Thanks a lot for your comprehension
Regards
Amina
2024-07-12 09:32 PM
Sorry I could not find "JDK" or "Eclipse Adoptium" on my PC.
2024-07-15 09:06 AM
Hello @Sujoy_B
this error has been understood and will be corrected in the next version of CubeMx.
Nevertheless, a workaround can be proposed to you in order to avoid having this issue,
Please try after you have deleted the following files :
1- %HOME%\.stm32cubemx\thirdparties\pdsc\EmbeddedOffice.I-CUBE-FS-RTOS.pdsc
2- %HOME%\.stm32cubemx\thirdparties\pdsc\EmbeddedOffice.I-CUBE-FS-RTOS.1.0.1.pdsc
Please tell us if this solves your problem
Kind regards
Amina
2024-07-15 01:38 PM
HI Amina,
I took your suggestion made on 7/12 to ignore the error from MC WorkBench Generation. I compiled the code under CubeIDE and ran the code with target HW. It works.
I also compared two projects, one from the MC WB example, another one from what I created under MC WB, there is no difference technically.
But I haven't tried the suggestion you had on 7/15 to remove two files under CubeMX.
Thank you !
2024-07-16 12:48 AM
Hi @Texram
good to hear that you can sucessfully compile your project with any regression.
Please do not hesitate to try the proposed workaround and give us feedback on that.
Regards
Amina
2024-07-17 02:08 PM
No workaround is needed, just ignore the error messages from Project Generation.
2024-07-29 02:45 AM
Thanks, this way is work for me.
2024-08-02 06:01 PM
thank you,it is useful on my computer
2024-08-29 11:16 PM
Your path of files maybe %HomePath% instead of %HOME% , last on env. variable not defined on my system.
so files:
1- %HomePath%\.stm32cubemx\thirdparties\pdsc\EmbeddedOffice.I-CUBE-FS-RTOS.pdsc
2- %HomePath%\.stm32cubemx\thirdparties\pdsc\EmbeddedOffice.I-CUBE-FS-RTOS.1.0.1.pdsc
i just renamed their extension to .pdsc.disable
and so your workaround works, with no errors!