[SOLVED] Connect script

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

  • [SOLVED] Connect script

    Hi,

    I want to do some application specific set-up when entering debug mode before flashing the application. I've specified a custom handler for the Connect() event but J-Link complains that the device is not specified. Presumably I would need to implement the same set-up in my Connect() handler as is called when no custom Connect() handler is specified in SES ?

    If so, is it possible to implement my custom steps then somehow run the default Connect() behaviour ?

    Also, the Attach event doesn't seem to fire, is there anything I need to do to activate this ?

    Thanks
    Dave
  • Hello,

    for custom connect sequences we suggest using a J-Link Script File.
    More information can be found in the J-Link user guide UM08001.

    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.