Hi,
Do you know how to pass some arguments to a xxx.jlink file with the option CommanderScript to a batch file.
for example, I would like to call a batch file to write a value in a memory with:
in CMD, I call:
WEEPROM.bat 0x8080 0x11223344
batch file(WEEPROM.bat):
jlink.exe -device STM32L083 -if SWD -speed 4000 -autoconnect 1 -CommanderScript writeEERPROM.jlink %1 %2
writeEERPROM.jlink file:
w4 %1, %2
r
go
q
Do you know if a jlink file is able to receive some arguments?
How to do?
Thanks
Do you know how to pass some arguments to a xxx.jlink file with the option CommanderScript to a batch file.
for example, I would like to call a batch file to write a value in a memory with:
in CMD, I call:
WEEPROM.bat 0x8080 0x11223344
batch file(WEEPROM.bat):
jlink.exe -device STM32L083 -if SWD -speed 4000 -autoconnect 1 -CommanderScript writeEERPROM.jlink %1 %2
writeEERPROM.jlink file:
w4 %1, %2
r
go
q
Do you know if a jlink file is able to receive some arguments?
How to do?
Thanks
The post was edited 1 time, last by gfo ().