Closed Proxcentaur closed 3 years ago
This seems to be a Java or Arduino IDE issue, not core issue. So I will close this.
Possible duplicate of #813
Yes. Also the OP didn't reply
As a possible solution you may try to execute the following line in a CMD window (with admin privileges):
set PATH=C:\Program Files (x86)\Arduino\java\bin;%PATH%
Also see this forum thread.
I have solved this issue by pressing the STM32 reset button during uploading the program
The reason is this line in maple_upload.bat: java -jar maple_loader.jar %1 %2 %3 %4
The java.exe is found by using the Windows %PATH% pointing to your java version15 which is incompatible with maple_loader.jar.
Thefore the java
must be replaced by ......\arduino\java\bin\java
which points to the Arduino Java 1.8!
The arduino internal usage of {the runtime.ide.path}/java/bin
does not work 😞 .
I have been using STM32F1C series since 5 days ago. For the first time using this board, I have successfully upload a blink program both of using FTDI and STM32 bootloader through USB port. But today I got a strange error like this: ** maple_loader v0.1 Resetting to bootloader via DTR pulse
Why did this happen? I have updated STM32 boards in Arduino IDE and my JDK to the last version but the error still occurs. What should I do ?