[SOLVED] J-Link Base and DA14531 device

  • Hi,

    I've done multiple designs with the DA14531 using a different debugger / programmer (DA14531 EVK). However, this time I need 1.8V capability and my existing debugger won't do that. So I got a segger J-Link Base debugger / programmer and the 6-pin adapter for tag connect: https://www.segger.com/products/debug…needle-adapter/

    My main problem is being able to detect the device (from Keil MDK). See attached error message. See attached relevant schematic for my board.

    Nothing else is connected to RST (I have disconnected CHG-STOP connection to another part of the circuit - it was not the problem). I have also ohm'd out the connections between the j-link base debugger 20-pin header and the DA14531 MOD pins SWDIO, SWCLK, RST, and VTREF. So, there is no wiring mistake, pin connections are correct.
    There is nothing else connected to SWDIO.
    There is a level translator input (A) connected to SWDCLK (see schematic), but I can't see how that would make a difference. I can try and disconnect it if you think it would be useful.
    I have scoped the signals SWDIO, SWDCLK and RST while DA14531 is connected. I see some valid-looking data at SWDIO, but nothing at SWDCLK other than constant 0.36V (same as RST, nothing but 0.36V). To me it looks like j-link base assumes RST is active low, but DA14531 is active high (and pulled down internally with 25kOhm). This is why the orange light is lit.
    When I disconnect DA14531 and scope the signals SWDIO, SWDCLK and RST at the J-link 20pin header, the signal RST will go low and just before that there is some valid looking data on SWDIO and clocks on SWDCLK. I feel like the issue has to do with RST (active high vs active low).

    One time I did get a connection using segger commander and it looked like this:

    But I can't seem to get a connection anymore through commander, and certainly have never got connection through keil. Any ideas what could be the issue here? I've been stuck for days

    Thank you!

    Erik

  • Hi,
    As mentioned in the support request you opened in our support ticket system:

    The interface of J-Link and the 6-Pin needle adapter specifies pad no 3 as nRESET, so the J-Link is behaving correctly:
    https://www.segger.com/products/debug…ter/#schematics

    It expects an active low nRESET (#RESET / not RESET), which is in accordance with the specification.
    Thus, as the DA14531 has a RESET pin instead of nRESET pin,
    the board design would have to make sure that the signal is negated to apply to debug header/interface specification.

    Even though we would recommend to adjust the board design accordingly,
    you could also make sure that the nRESET pin is not connected, which should work as long as you do not require
    to reset the device via reset pin.

    BR
    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: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!