Page 1 of 1

[Solved]Uploading via JLINK fails

Posted: Thu Mar 05, 2020 2:24 pm
by Username:
I have a J-Link EDU adapter connected to a Blue Pill.
When uploading I receive this error:
C:\Program Files (x86)\Arduino\hardware\Arduino_STM32-master\tools\win>JLink.exe -device STM32F103C8 -if SWD -speed auto -CommanderScript o:\TEMPOR~1\arduino_build_292179\Blink_pill.ino.bin.jlink
Der Befehl "JLink.exe" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
("command is either wrong or could not be found")
The last line in the jlink_upload.bat file sounds as this:
JLink.exe -device STM32F103C8 -if SWD -speed auto -CommanderScript %tmpBinFilePath%.jlink
Is there any suggestion to fix this?

Re: Uploading via JLINK fails

Posted: Sat Mar 07, 2020 10:45 am
by stevestrong
You need to download the Jlink.exe from the Internet (search for it), or it comes together with the purchased hardware.
Then yo have to copy it to /tools/win folder of the core, where the batch file is located.
Also check out these links:
https://web.archive.org/web/20190316162 ... =16&t=1468
https://wiki.segger.com/J-Link_Commander

Re: Uploading via JLINK fails

Posted: Sat Mar 07, 2020 8:36 pm
by Username:
yeah,
thanks a lot. Working now.