cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX not working on Win11 for ARM in emulated mode

ABucs
Associate II

I've tried to run STM32CubeMX on my Windows 11 parallels virtual machine that run under Monterey on Apple M1 MAX machine.

For some reasons the application crash. I've tried various compatibility modes with and without administrative rights but with no success.

Can you please elm me know how do I supposed to setup the application in order to work?

Thanks,

Andrei

2 REPLIES 2
ABucs
Associate II

Still I have no answer why... it is very frustrating.

I start the program from terminal and I got that:

PS C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\jre\bin> .\java -jar "C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe"

log4j user configuration file not found: C:\Users\andreibucsa/.stm32cubemx/log4j.properties

Configure log4j with default settings from jar:file:/C:/Program%20Files/STMicroelectronics/STM32Cube/STM32CubeMX/STM32CubeMX.exe!/log4j/log4j.stm32cubemx.properties

2022-07-14 14:32:54,458 [INFO] MicroXplorer:92 - [MX] MX Start == 7034942403083

2022-07-14 14:32:54,458 [INFO] MicroXplorer:636 - Detected Java Version = 11.0.14.1

2022-07-14 14:32:55,399 [INFO] ApplicationProperties:181 - Using Application install path: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX

2022-07-14 14:32:55,430 [INFO] DbMcusXml:77 - Set database path to: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\\db\/mcu/

2022-07-14 14:32:55,430 [INFO] ApiDb:269 - Set plugin database path to: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\\db\/plugins/boardmanager/

2022-07-14 14:32:55,462 [WARN] ApiDb:254 - Overriding images path with different value: => C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\\db\/plugins/mcufinder/images/

2022-07-14 14:32:55,477 [INFO] McuFinderGlobals:44 - Set McuFinder mode to 1 (CubeMX integrated)

2022-07-14 14:32:55,540 [INFO] ApiDb:249 - Set database path to: C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder//mcu/

2022-07-14 14:32:55,555 [INFO] DbMcusAds:124 - Set database path to: C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder//mcu/

2022-07-14 14:32:55,649 [INFO] CrossReferenceDbSqlite:201 - Set database path to: C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder//mcu/cs/

2022-07-14 14:32:56,055 [INFO] RulesReader:61 - Compatibility file has been processed (282 Rules)

2022-07-14 14:32:56,197 [INFO] STM32CubeMX:59 - Starting STM32CubeMX

2022-07-14 14:32:56,337 [INFO] MainPanel:242 - HeapMemory: 134217728

2022-07-14 14:32:56,618 [INFO] DbMcusXml:77 - Set database path to: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\\db\/mcu/

2022-07-14 14:32:56,618 [INFO] ApiDb:269 - Set plugin database path to: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\\db\/plugins/boardmanager/

2022-07-14 14:32:56,618 [INFO] ApiDb:256 - Set plugin images path to: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\\db\/plugins/mcufinder/images/

2022-07-14 14:32:56,618 [WARN] DbFile:40 - Overriding database path with different value: C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder/ => C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder

2022-07-14 14:32:56,633 [INFO] ApiDb:249 - Set database path to: C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder//mcu/

2022-07-14 14:32:56,633 [WARN] DbFile:40 - Overriding database path with different value: C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder/ => C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder

2022-07-14 14:32:56,633 [INFO] DbMcusAds:124 - Set database path to: C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder//mcu/

2022-07-14 14:32:56,633 [WARN] DbFile:40 - Overriding database path with different value: C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder/ => C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder

2022-07-14 14:32:56,633 [WARN] DbFile:40 - Overriding database path with different value: C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder/ => C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder

2022-07-14 14:32:56,633 [INFO] CrossReferenceDbSqlite:201 - Set database path to: C:\Users\andreibucsa\.stmcufinder\plugins\mcufinder//mcu/cs/

2022-07-14 14:32:56,680 [INFO] ApplicationProperties:181 - Using Application install path: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX

2022-07-14 14:32:56,696 [INFO] PluginManage:193 - Search for loadable plugins [exclusion list=, ]

2022-07-14 14:32:56,696 [INFO] PluginManage:307 - Check plugin analytics

2022-07-14 14:32:57,621 [INFO] AnalyticsPlugin:262 - Accepted Software Licenses: STM32CubeMX.6.4.0,STM32CubeMX.6.6.1,STM32CubeMX.6.5.0

2022-07-14 14:32:57,621 [INFO] AnalyticsPlugin:264 - Accepted CMSIS Pack Licenses:

2022-07-14 14:32:57,621 [INFO] AnalyticsPlugin:266 - Accepted Firmware Licenses:

2022-07-14 14:32:57,652 [INFO] PluginManage:356 - Loaded plugin analytics (category:tool,tabindex:-1)

2022-07-14 14:32:57,652 [INFO] PluginManage:307 - Check plugin cadmodel

2022-07-14 14:32:57,668 [INFO] CADModel:65 - Init CAD model plugin

2022-07-14 14:32:57,668 [INFO] PluginManage:356 - Loaded plugin cadmodel (category:power,tabindex:5)

2022-07-14 14:32:57,668 [INFO] PluginManage:307 - Check plugin clock

2022-07-14 14:32:57,683 [INFO] PluginManage:356 - Loaded plugin clock (category:base,tabindex:2)

2022-07-14 14:32:57,683 [INFO] PluginManage:307 - Check plugin ddr

2022-07-14 14:32:57,699 [INFO] PluginManage:356 - Loaded plugin ddr (category:tool,tabindex:6)

2022-07-14 14:32:57,699 [INFO] PluginManage:307 - Check plugin filemanager

2022-07-14 14:32:57,980 [INFO] PluginManage:356 - Loaded plugin filemanager (category:base,tabindex:10)

2022-07-14 14:32:57,980 [INFO] PluginManage:307 - Check plugin ipmanager

2022-07-14 14:32:58,012 [INFO] PluginManage:356 - Loaded plugin ipmanager (category:base,tabindex:5)

2022-07-14 14:32:58,012 [INFO] PluginManage:307 - Check plugin lpbam

2022-07-14 14:32:58,027 [INFO] PluginManage:356 - Loaded plugin lpbam (category:base,tabindex:0)

2022-07-14 14:32:58,027 [INFO] PluginManage:307 - Check plugin pinoutandconfiguration

2022-07-14 14:32:58,042 [INFO] PluginManage:356 - Loaded plugin pinoutandconfiguration (category:base,tabindex:1)

2022-07-14 14:32:58,042 [INFO] PluginManage:307 - Check plugin pinoutconfig

2022-07-14 14:32:58,183 [INFO] PluginManage:356 - Loaded plugin pinoutconfig (category:base,tabindex:0)

2022-07-14 14:32:58,183 [INFO] PluginManage:307 - Check plugin power

2022-07-14 14:32:58,215 [INFO] PluginManage:356 - Loaded plugin power (category:power,tabindex:4)

2022-07-14 14:32:58,215 [INFO] PluginManage:307 - Check plugin projectmanager

PS C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\jre\bin>

then nothing, no welcome screen no nothing. I remove some java plugins at at some point started, but is very instable.

Can someone form ST Help?

There is also an issue to install the STLink driver on Win11 ARM under parallels but for that I find a workaround... This is related to driver signature.

Anyone, help please?

Andrei

Pavel A.
Evangelist III

In order to _work_, one needs a normal Intel or AMD PC with Windows (best) or Linux.

Anything else is a recipe of an Italian strike.

/* I mean the code writing & debugging work. No idea about graphics, web stuff, etc.*/