I wanted to know if it is possible to run the commands of the JLinkSTR91x.exe from a batch file. I thought it was going to be simple but I had no luck. I've been trying to set the boot bank to 1 just from creating a batch file that will open the executable and input setb 1. When I do it, it doesn't recognize that command from doing it through a batch file. Is there something I'm missing?
Thank you for your inquiry.
To use a batch file with the J-LinkSTR91 Commander you can use CL options -CommanderScript or -CommandFile.
How to use them is explained in the J-Link user guide UM08001 in section 3.2.3.
NinoPlease read the forum rules before posting: Forum Rules
Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support contact us per e-mail.
Alternatively our support ticketing system can be used as well: segger.com/ticket/
I actually tried that but had no luck. It doesn't seem to recognize the setb 1 command from there unless maybe I'm still doing something wrong?