JLinkSTR91x.exe Batch file command help

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

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

        12.5 kB, 518×223, viewed 16 times
    • New


      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,
      Please 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/