[SOLVED] J-Link resets i.MX6UL even with -noir -noreset

  • What's the right way to attach a J-Link to a running i.MX6UL to debug the Linux kernel?

    I followed this post, which tells you to disable the 'clock off' wait state and use the -noir and -noreset options with the J-Link. Unfortunately, when I try starting my debug session with:

    ./JLinkGDBServer -if JTAG -endian little -device MCIMX6G3 -select USB -noir -noreset

    the J-Link resets the MPU immediately. I thought maybe I could attach to it during U-Boot, and then start debugging once I was in Linux, but the connection gets closed between the U-Boot and Linux start-up phase.

    I'm using JLink software V6.32c. My board doesn't use the sai2 interface, so there shouldn't be the widely-reported JTAG pin-muxing issue that others have struggled with.

  • Hello,

    Thank you for your inquiry.
    J-Link can only attach to a MCU if the debug interface is available.
    Depending on your u-boot init the debug interface might be disabled or the debug pins reconfigured.
    Make sure that this is not the case in your u-boot config.
    For more information we suggest contacting NXP or u-boot support as u-boot is not maintained by SEGGER.

    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: 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!