2020-03-09 01:01 PM
Hello There,
I've been working on a big firmware for some time (freeRTOS, LWip, etc...). It is based on CubeMX 4.27 and firmware package 1.12.
I was trying to update today to get the latest version of freeRTOS (10) and LWIP (2).
When using original tools (cubeMX 4.27 and firmware package 1.12) code is generated fine. I was able to upgrade up to version 5.01 of cubeMX without code generation problem.
Trying to get to a version greater than 5.01 generates this popup (5.1, 5.2 or 5.6) :
In the log file of cubeMX (C:\Users\wt********\.stm32cubemx\STM32CubeMX.log)
I can see this :
2020-03-09 15:35:02,366 [ERROR] FreeRTOS:936 - Null or empty value: should not occur! (nothing added to the table)
and later this :
2020-03-09 15:40:45,180 [INFO] ToolchainGenerator:445 - stack trace : java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.st.microxplorer.plugins.projectmanager.model.ToolchainGenerator.CallMethod(ToolchainGenerator.java:274)
at com.st.microxplorer.plugins.projectmanager.model.ToolchainGenerator.update(ToolchainGenerator.java:437)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createToolChainFolders(ProjectBuilder.java:2882)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createProject(ProjectBuilder.java:664)
at com.st.microxplorer.plugins.projectmanager.engine.GenerateProjectThread.run(GenerateProjectThread.java:44)
Caused by: java.lang.NullPointerException
at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.renameNode(CoreDocumentImpl.java:984)
at generators.TrueStudioGenerator.setFiles_(TrueStudioGenerator.java:3528)
at generators.TrueStudioGenerator.setGroups(TrueStudioGenerator.java:3483)
at convertor.Convertor.generateTSTKProject(Convertor.java:1328)
at convertor.Convertor.generateTrueStudioFiles(Convertor.java:1218)
at convertor.Convertor.generate(Convertor.java:665)
at convertor.Convertor.convert(Convertor.java:519)
at convertor.Convertor.updateProject(Convertor.java:402)
... 9 more
Not sure if the two events are related... I'm attaching the log file to this post
I've seen a lot of post about this issue in Keil, but not in trueSTUDIO.
If I take the IOC file and do a "save as" I am able to generate the project ok but all my code is lost...
Can someone provide me a procedure to be able to update to the new firmware package version to have freeRTOS 10 and lwip updated ?
Thanks !
2020-04-20 02:08 AM
test