263
@ECHO OFF
ECHO Open first project which is configured to connect to the first J-Link.
ECHO Open data file, start auto processing and
open JFlashSPI.exe -openprjC:\\Projects\\Project01.jflash -openC:\\Data\
\data.bin,
0x100000
-auto
IF ERRORLEVEL
ECHO Open second project which is configured to connect to the second J-Link.
ECHO Open data file, start auto processing and
open JFlashSPI.exe -openprjC:\\Projects\\Project02.jflash -openC:\\Data\
\data.bin,
0x100000
-auto
IF ERRORLEVEL
ECHO Open third project which is configured to connect to the third J-Link.
ECHO Open data file, start auto processing and
open JFlashSPI.exe -openprjC:\\Projects\\Project03.jflash -openC:\\Data\
\data.bin,
0x100000
-auto
IF ERRORLEVEL
goto
END
:ERROR
ECHO J-Flash SPI: Error!
pause
:END
Note
Every call of JFlashSPI.exe has to be completed with the -exit option, otherwise the
execution of the batch file stops and the following commands will not be processed.
J-Link / J-Trace (UM08001)
CHAPTER 11
-exit
1
goto
ERROR
-exit
1
goto
ERROR
-exit
1
goto
ERROR
exit
exit
exit
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
Command Line Interface
Need help?
Do you have a question about the J-Link and is the answer not in the manual?