Segger J-Link RESETS upon connection with CUSTOM Board

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

  • Segger J-Link RESETS upon connection with CUSTOM Board

    Hi to all...
    I am novice in using the Segger J-Link device. Any help will be highly appreciated.
    A help required to dig the cause of RESET of Segger J-Link upon connection with a custom board. The custom board is made up of MKE02 MCU. The SWD pins are used to interface with the J-Link.
    The J-Link commander is not able to detect the custom board. (J-link is perfectly is fine as we use it with another development as well as evaluation boards).


    INDICATION GIVEN BY THE J-LINK:
    When the custom board is connected with the J-Link, the GREEN LED blinks and then the ORANGE LED flickers.
    The RESET PIN of the MCU is also HIGH. Board is getting proper power.
    After scracting a lot I couldn't resolve the issue.... :(
    Please help inorder to find the issue...
    Thank you in advance....
    With Regards
    Sanjat

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

  • Hi,

    When the custom board is connected with the J-Link, the GREEN LED blinks and then the ORANGE LED flickers.
    The RESET PIN of the MCU is also HIGH.

    Well, this observation is not correct. If the orange LED flickers, the RESET pin is *not* constantly high, it is toggling.
    This is typical behavior for a Kinetis MCU, where no application is present in internal flash.

    Why:
    Empty flash => Illegal instruction will be fetched from flash => Illegal instruction trap will be generated => Illegal instruction trap triggers system reset

    On the Kinetis MCU, the nRESET pin is also an output, where the MCU outputs a low pulse, in case a reset is triggered by an internal source (e.g. a trap).

    Try to start J-Link Commander like this:
    JLink.exe -device MKE02Z32xxx2 -if SWD -speed 4000

    For a list of known device names: segger.com/jlink_supported_devices.html?m=Freescale#sel


    - 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.