if you are using libmaple core
that is based on JDK/Java 1.8 and earlier.
Apparently, from your logs you are using a recent JDK
# JRE version: OpenJDK Runtime Environment Microsoft-7209853 (17.0.6+10) (build 17.0.6+10-LTS)
# Java VM: OpenJDK 64-Bit Server VM Microsoft-7209853 (17.0.6+10-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
In addition, those DLL, binaries are backdated to like 10 years ago, with all the recent OS updates and such, more than likely in Windows it may not work.
you can try to figure out where is jssc installed in the core folders, and perhaps install an updated JSSC from github repository replacing it.
https://github.com/java-native/jssc
if you continue to have struggles with that, I'd suggest a few ways:
- use st-link to upload (you mentioned that it works)
- or use usb-uart to upload over uart 1, requires setting boot0 and pressing reset
- manually generating the bin file and upload manually (Sketch > export compiled binary)
- then use dfu-util
https://dfu-util.sourceforge.net/
from the command line to manually upload, normally command is like
but that you have to install dfu-util on your own
in addition, stm32f103c8 don't have built-in usb bootloader, you need to install that using st-link v2
https://github.com/rogerclarkmelbourne/ ... r/binaries
and that this is mainly only for stm32f103c8 or cb boards.
for 'all other' boards, the STM core is here
https://github.com/stm32duino/Arduino_Core_STM32
the wiki is here
https://github.com/stm32duino/Arduino_Core_STM32/wiki
getting started guide is here
https://github.com/stm32duino/Arduino_C ... ng-Started
the official ST programming tool is this (stm32cube programmer)
https://www.st.com/en/development-tools ... eprog.html
and normally you need st-link, usb-uart (using boot0) if you are using stm32cube programmer
or if you are using boards that support DFU (e.g. in the stm32f4xx/g4xx series)
you can use stm32cube programmer to program it, you need to set boot0 even for DFU programming.
a main problem with old binary DLL is that it may not work in your system with all the recent OS updates.
as you are having issues with that if the JSSC given above didn't help
then use the stm32cube programmer instead, this requires st-link or a usb-uart dongle (requires setting boot0)
the official ST programming tool would likely work in windows as the DLL drivers are updated
you can use stm32cube programmer to manually upload the bin file even with (roger's) libmaple core.
select st-link as upload method and build
use the Sketch > export compiled binary option
you get your file in the project folder
then you can run stm32cube programmer to upload using st-link / usb-uart (set boot0, normally pa9 tx, pa10 rx) / DFU (usb) requires a supported device/board e.g. stm32f4xx / stm32g4xx