JLink suppress "device is secured" popup msg

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

  • JLink suppress "device is secured" popup msg

    How do I suppress "device is secured" popup msg by forcing Yes from jlink script? (unattended)
    Without clicking remember.

    Isn't there a forced parameter to "Erase all" command?


    I tried:
    unlock NRF52805_XXAA

    but it says:
    Syntax: unlock <DeviceName>
    ---Supported devices---
    LM3Sxxx [<Auto>]
    Kinetis
    EFM32Gxxx
    LPC5460x

    surely it must know how to do it, because it does it after I click yes.
  • Hello,

    You can prevent such popups with the command string SuppressGUI.

    For more details, please refer to the SuppressGUI Command String.

    Best regards,
    Simon
    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.
  • I added into .jlink file, but when I run the file with
    JLink.exe" -NoGui 1 -CommandFile test.jlink

    it says:

    J-Link>device NRF52805_XXAA
    J-Link>SuppressGUI
    Unknown command. '?' for help.

    also this fails too:
    JLink.exe SuppressGUI -NoGui 1 -CommandFile test.jlink

    and I still see
    Images
    • 2024_06_13_09_32_31_production.jlink_C_sandboxes_blefob_nrf52_tools_Notepad2_mod_Administrat.png

      16.72 kB, 671×188, viewed 1,134 times
  • Hello,

    Try exec SuppressGUI in your .jlink file.

    Best regards,
    Simon
    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,

    I apologize if I have expressed myself unclearly.

    SuppressGUI is an J-link Command string not an command for the J-Link Commander.

    However, you can execute J-link Command string in the commander with the exec command, so in your case you need to write: exec SuppressGUI.
    Not only SuppressGUI.

    wiki.segger.com/J-Link_Command…ng_J-Link_Command_Strings

    Best regards,
    Simon
    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.