Hi everyone,
I've been a long-time JLink Base user and find it to be the most reliable debugger/programmer on the market.
Anyway, I recently had a use case where I wanted to flash/reset a device with a script using JLinkExe. The script is unfortunately unaware of the target device's name and so I thought it would be sufficient to use the last-used device (called <Default> when using the CLI). I am simply using a temporarily-created command script and passing in a bunch of flags so the user doesn't have to type in anything. This is to accomplish automated testing.
Is there any way to specify to JLinkExe to use the <Default>/last-used device with the -device flag when launching it?
EDIT:
This is for an automated testing plugin for Mbed-OS: github.com/AGlass0fMilk/mbed-os-tools/tree/jlink-plugin
I've been a long-time JLink Base user and find it to be the most reliable debugger/programmer on the market.
Anyway, I recently had a use case where I wanted to flash/reset a device with a script using JLinkExe. The script is unfortunately unaware of the target device's name and so I thought it would be sufficient to use the last-used device (called <Default> when using the CLI). I am simply using a temporarily-created command script and passing in a bunch of flags so the user doesn't have to type in anything. This is to accomplish automated testing.
Is there any way to specify to JLinkExe to use the <Default>/last-used device with the -device flag when launching it?
EDIT:
This is for an automated testing plugin for Mbed-OS: github.com/AGlass0fMilk/mbed-os-tools/tree/jlink-plugin
The post was edited 1 time, last by aglass0fmilk ().