[ANSWERED]J-Link script files are not working in version 4.12

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

  • [ANSWERED]J-Link script files are not working in version 4.12

    If I create a J-Link Script file with commands like JTAG.IRLen, JTAG.Speed, CPU etc. and name this file as "Default.JLinkScript", then run JLink.exe - these commands are ignored, only DIALOG.MessageBox is popping up to reveal that the script file is actually being processed.

    Probably the scripting language has been changed but the "J-Link / J-Trace ARM Manual Rev. 83" (Document: UM08001 dated February 24, 2010, "User guide of the JTAG emulators for ARM Cores") is not updated to reflect the changes...
  • Hi Superbank,

    could you please post or attach the complete scrip file you are using?
    Which target MCU/CPU do you use?
    The syntax of the script file commands has not been changed, so it should work without any problems.
    But if the DIALOG.MessageBox command is executed, I do not see any reason why the other ones
    should be ignored (at least if you are using a incorrect syntax, a error message should appear).


    Best regards
    Alex
    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.
  • Hi Superbank,

    the scriptfile and all commands of it are executed.
    The only misleading thing is the JTAG speed:
    All identification routines, automatically performed by JLink.exe at startup, are performed using the JTAG speed which is set in the init file.
    But the last action of JLink.exe performed after the auto-startup is, to change the JTAG speed to a default speed.
    This does not hurt here, but is misleading since it seems, that the set-speed command in the script file has been ignored.

    I think we should change this behavior of JLink.exe for future versions.

    Best regards
    Alex
    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.