[SOLVED] IDE Crash if there's no target

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

  • Hello,

    Thank you for your inquiry.
    Such an issue is not known to us.

    Do you see the same behaviour in V5.34?
    Usually you should simply get a pop up when a target is not connected asking if the simulator should be used.

    If the issue appears with the latest version as well could you provide more information about your setup?
    What host OS are you running on?
    Is the issue reproducible each time?
    Could you provide an example project that shows this behaviour?

    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.
  • Thanks for reply.

    V5.34 have the same issue. As i know v5.20 v5.30 has exactly the same problem.


    The condition is
    1. Connect JLink to target(with power supply);
    2. Disable CPU or Halt fail, maybe only connect JTAG VTREF Pin will works the same;
    3. Configure IDE use JLink/JTAG as the debugger;
    4. Use IDE to connect target or enter debug session;

    OS: Windows 10 Home

    The post was edited 1 time, last by Samuel ().

  • Hello,

    What do you mean with step 2?
    Should step 3 not be the first one?
    Whenever I try to connect to the target or enter the debug session and the target is not powered on or not connected I simply get a "Could not connect error" and end up back at the ES mainscreen.

    Could you provide more detailed reproduction steps?
    What target device are you debugging?

    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.
  • Generate a new RV32 project follow guide, or whatever project.
    Configure IDE use JLink-JTAG;
    Connect GND/VTREF to GND/VCC-3.3V like picture bellow, other pin connect nothing(just like some CPU logic fail condition);


    Then, build project and click Debug-Go button, now, the crash occur.

    Configuration and Demo project plz reference to attachments.
    By the way, this issue can be reproduced in any PC, 5 or more computers as i tested.
    Images
    • 微信图片_20210127104851.png

      81.58 kB, 931×1,064, viewed 220 times
    • 微信图片编辑_20210127104840.jpg

      101.65 kB, 931×1,064, viewed 225 times
    Files
    • jlink_test.zip

      (70.79 kB, downloaded 231 times, last: )
  • Hello,

    Thank you for providing additional information.
    Yes the issue is reproducible for us. We are looking into it.
    The crucial part was to supply VTREF and GND to J-Link as it works if this is not supplied.

    Should be fixed soon.
    To stay up to date with releases you can subscribe here:
    segger.com/notification/subscribe.php?prodid=196

    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.