Skip to main content
SQuin.1
Visitor II
March 9, 2020
Solved

I'm using the STM32 Motor Control Software Development Kit (MCSDK) and every time I try to compile a project a get this error: "Temporary JSON file is corrupted ". Does anyone have experience solving this?

  • March 9, 2020
  • 1 reply
  • 899 views

ERROR:

Temporary JSON file is corrupted => switch to non-temporary and retry

org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]

Version info: 

MC Workbench    : 5.4.3.19514

WB_to_Mx      : 1.0.6.template-19-11-14

STM32CubeMX    : 5.6.0

MC Firmware Library: 5.4.3

Generation options: 

Target Toolchain  : ST TrueSTUDIO

Target Driver   : HAL - Hardware Abstraction Layer

Target STM32 FW  : 1.8.0

This topic has been closed for replies.
Best answer by Shevtsov

i think you need to think about java jdk13.... i had similar problem, i had java 8 and it solved installing java jdk13 (recently appeared 14 vers) - i added it to my lat java - i mean that i didn't deleted 8 version

1 reply

Shevtsov
ShevtsovBest answer
Associate II
March 21, 2020

i think you need to think about java jdk13.... i had similar problem, i had java 8 and it solved installing java jdk13 (recently appeared 14 vers) - i added it to my lat java - i mean that i didn't deleted 8 version