Skip to content

maple_loader.jar crash #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dieter-l-git opened this issue Feb 11, 2021 · 6 comments
Closed

maple_loader.jar crash #73

dieter-l-git opened this issue Feb 11, 2021 · 6 comments
Labels
duplicate This issue or pull request already exists question ❓ Usually converted as a discussion

Comments

@dieter-l-git
Copy link

maple_loader.jar crashes when I try to upload a sketch to an maple mini clone (with bootloader 2.0) via DFU.
It doesn't matter which sketch - I used blink for testing. Same issue with Arduiono IDE and PlatformIO.
I using the current 1.9.0 release with Arduino 1.8.13 or PlatformIO 5.1.0 on Win10 20H2 with Java 15.0.27.
With Java 8.280 - same issue.

Errorlog attached. Seems that the jSSC-2.8_x86_64.dll is the issue.

I tried by myself to build a new maple_loader.jar from source with jssc2.9.2.jar- this is working without issues.

hs_err_pid10232.log

Thank you

@fpistm fpistm transferred this issue from stm32duino/Arduino_Core_STM32 Feb 12, 2021
@fpistm
Copy link
Member

fpistm commented Feb 12, 2021

I guess it is a duplicate of #67.
Never reproduced this issue. I think to remove the maple loader.

@dieter-l-git
Copy link
Author

Sorry for the duplicate.
Setting the java path doesn't solve the issue.

I will try on an other PC or Laptop in the next few days to see if I can reproduce the issue.

If you remove the maple loader - is there a suggestion what can be used to upload a sketch without additionally hardware needed?

@fpistm
Copy link
Member

fpistm commented Feb 12, 2021

You have to use the correct path. This is not necessarily the same one described in the issue than the one of your Arduino IDE path.

@ArminJo
Copy link

ArminJo commented Aug 1, 2023

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.
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 😞 .

@fpistm
Copy link
Member

fpistm commented Aug 1, 2023

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. 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 😞 .

Now java is not used. No more issue. See #89

@ArminJo
Copy link

ArminJo commented Aug 1, 2023

Thanks, you are right, I get confused with the 2 STM cores 😀

@fpistm fpistm added duplicate This issue or pull request already exists question ❓ Usually converted as a discussion and removed Duplicated labels Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists question ❓ Usually converted as a discussion
Projects
None yet
Development

No branches or pull requests

3 participants