[SOLVED] Cannot connect to target

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

  • [SOLVED] Cannot connect to target

    Hi,

    I have a connection issue with the target ATSAME54 by using JLKIN.EXE tool. The µC has already been flashed with Atmel Studio. The debugger is the J-32 Debug Probe.
    Does anyone know how to solve the issue ? Is the µC stuck :wacko: ?


    JLINK log:

    SEGGER J-Link Commander V6.92 (Compiled Dec 18 2020 13:13:50)
    DLL version V6.92, compiled Dec 18 2020 13:12:28
    Connecting to J-Link via USB...O.K.
    Firmware: J-Link V10 compiled Dec 11 2020 15:39:30
    Hardware version: V10.10
    S/N: 980100458
    License(s): RDI, GDB
    VTref=3.322V
    Type "connect" to establish a target connection, '?' for help
    J-Link>connect
    Please specify device / core. <Default>: ATSAME54N20
    Type '?' for selection dialog
    Device>
    Please specify target interface:
    J) JTAG (Default)
    S) SWD
    T) cJTAG
    TIF>S
    Specify target interface speed [kHz]. <Default>: 4000 kHz
    Speed>
    Device "ATSAME54N20" selected.
    Connecting to target via SWD
    InitTarget() start
    InitTarget()
    Connect Under Reset
    Connect Under Reset
    InitTarget() end
    InitTarget() start
    InitTarget()
    Connect Under Reset
    Connect Under Reset
    InitTarget() end
    InitTarget() start
    InitTarget()
    Connect Under Reset
    Connect Under Reset
    InitTarget() end
    InitTarget() start
    InitTarget()
    Connect Under Reset
    Connect Under Reset
    InitTarget() end
    Cannot connect to target.
  • If it was working before, you have probably flashed something into the MCU that inhibits debugger connections.

    Are you working with an eval board or custom HW?
    If custom HW: Do you have connected the reset pin of the MCU to J-Link?
    If not: Can you please connect it and try again?


    BR
    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,
    Good to hear that you are up and running again.

    We will close this thread now.

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