Solved
Failure to update from touchgfx 4.18 to 4.21.3 due to corrupt JSON
I am currently using:
- STM32CubeIde 1.8.0
- STM32F7 1.16.2
- Touchgfx 4.18
I am trying to upgrade Touchgfx 4.18 to 4.21.3. I know I have to update and regenerate the code from STM32CubeIde and from Touchgfx Designer. Howerver once I regenerate the code form STM32CubeIde I can no longer open the .application.touchgfx file. As this error appears:
The steps I have followed are:
- Open the .touchgfx with the designer and upgrade to 4.23.
- Modify code that has incompatibilities. (I am able to run the simulator)
- Open .ioc file and I can see that X-CUBE-touchgfx is already pointing to version 4.21.3
- Regenerate code
- I can no longer open the .touchgfx file with 4.23.3
Second attemp:
- Open .ioc and change X-CUBE-touchgfx version to 4.23.3
- Click the try and accept button
- Regenerate code
- I open the .touchgfx with the designer.
- The update popup appears and I accept
- The update process failt with the same message and I can no longer open the file
