2022-07-15 05:23 AM
Hello,
I have the latest cubemx 6.6.1 installed.
I created a simple project with only one SPI enabled, but cubemx stuck in ''Generating user source code''.
Attached is the log file in case your need.
2022-08-10 06:26 AM
i have a very similar problem!! My installation is on linux though.
Below is the terminal output from the STM32CubeMX tool.
to me this looks like some missing file/module or bad install.
The install i followed was pretty typical however used openjdk
2022-08-10 08:10:33,587 [INFO] CodeEngine:269 - Generated code: /home/sore/sourcecontrol/projectX/board/MXTmpFiles/system.tmp
2022-08-10 08:10:33,589 [INFO] CodeEngine:245 - oldGeneratedFile, /home/sore/sourcecontrol/projectX/board/Core/Src/stm32f7xx_hal_timebase_tim.c_save
2022-08-10 08:10:33,698 [INFO] CodeEngine:269 - Generated code: /home/sore/sourcecontrol/projectX/board/Core/Src/stm32f7xx_hal_timebase_tim.c
2022-08-10 08:10:33,702 [INFO] CodeEngine:245 - oldGeneratedFile, /home/sore/sourcecontrol/projectX/board/Core/Inc/stm32f7xx_hal_conf.h_save
2022-08-10 08:10:33,806 [INFO] CodeEngine:269 - Generated code: /home/sore/sourcecontrol/projectX/board/Core/Inc/stm32f7xx_hal_conf.h
2022-08-10 08:10:33,864 [INFO] CodeEngine:245 - oldGeneratedFile, /home/sore/sourcecontrol/projectX/board/Core/Inc/main.h_save
2022-08-10 08:10:33,938 [INFO] CodeEngine:269 - Generated code: /home/sore/sourcecontrol/projectX/board/Core/Inc/main.h
2022-08-10 08:10:33,940 [INFO] CodeEngine:245 - oldGeneratedFile, /home/sore/sourcecontrol/projectX/board/Core/Src/main.c_save
2022-08-10 08:10:34,050 [INFO] CodeEngine:269 - Generated code: /home/sore/sourcecontrol/projectX/board/Core/Src/main.c
2022-08-10 08:10:34,939 [INFO] ProjectBuilder:2919 - Time for Copy HAL[1] : 165mS.
this is project Generator
2022-08-10 08:10:34,975 [INFO] ProjectBuilder:4117 - Project Generator version: 3.17.1
2022-08-10 08:10:35,458 [INFO] ConfigFileManager:1394 - The Die is : DIE449
2022-08-10 08:10:35,465 [INFO] ApiDbMcu:505 - Load IP Config File for FATFS
2022-08-10 08:10:35,467 [INFO] ApiDbMcu:505 - Load IP Config File for LIBJPEG
2022-08-10 08:10:35,473 [INFO] ApiDbMcu:505 - Load IP Config File for MBEDTLS
2022-08-10 08:10:35,482 [INFO] ApiDbMcu:505 - Load IP Config File for USB_DEVICE
2022-08-10 08:10:35,489 [INFO] ApiDbMcu:505 - Load IP Config File for USB_HOST
Exception in thread "Thread-4654" java.lang.IllegalAccessError: class parsers.FromScratchParser (in unnamed module @0x69c6fa8f) cannot access class com.sun.org.apache.xerces.internal.parsers.DOMParser (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.parsers to unnamed module @0x69c6fa8f
at parsers.FromScratchParser.getDestinations(FromScratchParser.java:257)
at convertor.Convertor.generate(Convertor.java:354)
at com.st.microxplorer.plugins.projectmanager.model.ToolchainGenerator.generate(ToolchainGenerator.java:379)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createToolChainFolders(ProjectBuilder.java:4252)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createProject(ProjectBuilder.java:921)
at com.st.microxplorer.plugins.projectmanager.engine.GenerateProjectThread.run(GenerateProjectThread.java:58)