2022-04-14 06:14 AM
I have a complex project which i try to use CubeMX to generate the device trees for A-TF, OP-TEE and Linux, as well as code pieces for the M4.
The crash is not visible in the STM32CubeMX.log file, but is printed in stderr:
2022-04-14 14:55:51,876 [INFO] BlockDiagram:2740 - set Specific Code input for plugin: TAMP
2022-04-14 14:55:51,876 [INFO] BlockDiagram:2740 - set Specific Code input for plugin: ETH
2022-04-14 14:55:51,877 [INFO] CodeGenerator:663 - code generatio: config db path: /home/dirks/STMicroelectronics/STM32CubeMX_Pre//db/
java.lang.NumberFormatException: For input string: "LSI_VALUE"
at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054)
at java.base/jdk.internal.math.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
at java.base/java.lang.Float.parseFloat(Float.java:455)
at com.st.microxplorer.codegenerator.McuDataModel.getIpRCCSourceInfo(McuDataModel.java:939)
at com.st.microxplorer.codegenerator.McuDataModel.initMcuData(McuDataModel.java:221)
at com.st.microxplorer.codegenerator.McuDataModel.<init>(McuDataModel.java:162)
at com.st.microxplorer.codegenerator.CodeGenerator.generateCode(CodeGenerator.java:1220)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.generateCode(ProjectBuilder.java:2369)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createCode(ProjectBuilder.java:1961)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createProject(ProjectBuilder.java:630)
at com.st.microxplorer.plugins.projectmanager.engine.GenerateProjectThread.run(GenerateProjectThread.java:54)
Doing the whole pin configuration for more than 100 pins is very time consuming. We are in the process of having a second project with the STM32MP1 (XXXXXXX removed by moderator), so the graphical tool would be extremely helpful.
I tried to generate the code with CubeMX 6.5.0, and also with the XXXXX (removed by moderator), both crash with the same error.
Regards,
Dirk.
2022-04-14 07:30 AM
The problem appears with the STM32MP151 project, independent of the second one.
2022-06-13 06:24 AM
We're having exactly the same problem with a STM32MP157 project, stack trace is the following:
java.lang.NumberFormatException: For input string: "LSI_VALUE"
at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054)
at java.base/jdk.internal.math.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
at java.base/java.lang.Float.parseFloat(Float.java:455)
at com.st.microxplorer.codegenerator.McuDataModel.getIpRCCSourceInfo(McuDataModel.java:939)
at com.st.microxplorer.codegenerator.McuDataModel.initMcuData(McuDataModel.java:221)
at com.st.microxplorer.codegenerator.McuDataModel.<init>(McuDataModel.java:162)
at com.st.microxplorer.codegenerator.CodeGenerator.generateCode(CodeGenerator.java:1254)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.generateCode(ProjectBuilder.java:2665)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createCode(ProjectBuilder.java:2094)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createProject(ProjectBuilder.java:752)
at com.st.microxplorer.plugins.projectmanager.engine.GenerateProjectThread.run(GenerateProjectThread.java:54)
Can anyone from ST help out?
2022-06-17 02:58 AM
@Community member Can you please have a look, this is urgent for one of our customers.
2022-06-21 01:44 AM
Hello @dirk.schoebel , @johnnyc
Could you please share a detailed scenario to help me reproduce the issue ?
Thanks,
Sara.