[SOLVED] J-Link Plus Ver9.2 fails to debug ATSAM4LS4B with 6.14H

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

  • [SOLVED] J-Link Plus Ver9.2 fails to debug ATSAM4LS4B with 6.14H

    Hello,

    We are using an ATSAM4LS4B and we are using the J-Link Plus to debug our firmware. We recently upgraded all three of our J-Link Plus devices to 6.14h and are having issues debugging the project. Two of our J-Link Plus devices are hardware version 9.2, and when we try to debug using them, we get a Launch Failure that never resolves: "Timed out waiting for device to reset, would you like to continue waiting for the reset event?" However, when we use the J-Link Plus device with hardware version 9.1, we are able to debug without any issues. We have tried invalidating firmware on the 9.2 devices using J-Link Commander and trying various other software revisions (6.12j, 6.14e and 6.15e) without any luck. We have tried both Atmel Studio 7.0, 6.2, and 6.0 without any success. The development system is a Windows 7 x64-bit, but the 9.2 devices didn't work on Windows 7 32-bit OS either.

    Any help or guidance would be greatly appreciated,

    Thanks You,

    Cory
  • Hi Cory,


    thanks for your inquiry.

    Are you using an eval board or custom hardware? If custom hardware, is the issue reproducible with an eval board?
    If eval board, could you provide a link?


    Best regards,
    Niklas
    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.
  • Thanks for the reply Niklas,

    We are using custom hardware. We looked to see what evaluation boards we have, and all of them either have USB J-Link (OB) or have the debugger embedded on the board. We would not be able to attempt debugging the boards without modifying them. Do you have a specific evaluation board in mind that would work?

    Thanks,

    Cory
  • Hi Cory,

    I do not have a eval board in mind.

    Some eval boards of the "Xplained Pro" and/or "Xplained Ultra" series do have a 9-Pin debug-in header, but I cannot identify a pattern.
    For example, these eval boards have a debug-in:
    - SAM V71 Xplained Ultra
    - SAM C21 Xplained Pro
    - SAM D11 Xplained Pro
    - SAM L22 Xplained Pro

    and these boards do not have a debug-in:
    - SAM 4L8 Xplained Pro
    - SAM D20 Xplained Pro
    - SAM D21 Xplained Pro
    - SAM 4L Xplained Pro (SAM 4LC)

    It seems there are only eval boards for the SAM4LC, not for the SAM4LS, is this correct?

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

    We did some more investigation and we found the issue. There are some J-Link Plus hardware differences between Version 9.1 vs 9.2 that can affect the pull-down on reset. With 9.1, it is pulling down stronger than the 9.2, and based on our architecture we were applying additional power on the reset line (RESET and nTRESET were tied together). It was close enough that 9.1 was pulling the voltage down to below 800mV, which was enough for the micro to reset, while the 9.2 was pulling the voltage down to around 1.2V, which was not causing the micro reset. We separated out the reset lines and everything works now.

    Thanks for the assistance Niklas,

    Cory
  • Hi,


    thanks for the update and good to hear that you are up and running again!


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