Is it possible to insert comments in a .jlink script?

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

    • Is it possible to insert comments in a .jlink script?

      I have a mildly complex JLink.exe script that gets launched from a .bat file via

      Source Code

      1. start "" "C:\Program Files (x86)\SEGGER\JLink\JLink.exe" -CommanderScript .\myscript.jlink
      ... and I'd like to make it so others (including my future self) can understand what's going on in myscript.jlink. Is there a way to insert comments into a jlink script?
    • rdpoor wrote:

      I have a mildly complex JLink.exe script that gets launched from a .bat file via

      Source Code

      1. start "" "C:\Program Files (x86)\SEGGER\JLink\JLink.exe" -CommanderScript .\myscript.jlink
      ... and I'd like to make it so others (including my future self) can understand what's going on in myscript.jlink. Is there a way to insert comments into a jlink script?
      Hey rdpoor,
      Have you checked the example pre-installed JLink connect scripts? From memory they have comments in them, at least the Segger copyright notice should be commented out.