[SOLVED] JLinkSTR91x.exe Batch file command help

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] JLinkSTR91x.exe Batch file command help

    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?
    Images
    • Forum question.PNG

      12.5 kB, 518×223, viewed 610 times
  • Hello,

    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.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    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 you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hello,

    Great to hear that you are up and running again.
    We will consider this thread as solved now.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    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 you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.