[SOLVED] J-link not communicating with target device

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

  • [SOLVED] J-link not communicating with target device

    I cannot make the J-link Segger connect to a microcontroller (Vorago) that uses the Cortex-M4.



    Details about microcontroller’s setup:

    • The power supplies (3.3 V, 1.5 V, VRef (3.3V), 5V) on the board all read the expected values, after using a volt meter
    • The J-link was programmed (through J-link commander) with the “power on” command to output 5 V on pin 19. The 5V can be read on the target’s (JTAG/VDD) pin as 5V.
    • Pin 19 on the J-link was measured with an oscilloscope and it does output a 5V value as expected.
    • The J-link is directly connected to the target through a ribbon cable provided by Segger.
    • The LED that indicates that the target in ON is “ON.”
    • Already followed the troubleshooting instructions from chapter 19 of the J-link/J-Trace (UM08001) & Keil MDK.
    • Followed the power supply instructions and proper jumper connections from the manufacturer of the microcontroller
    • The JTAG pins (on the target device) output the expected voltage relative to the VTRef=3.3 V (on pin 1):
    All even pins (except pin 2) =Gnd.
    Pins: 2, and all add pins are equal to VTRef=3.3V(pin 1).

    Pin 7: 2.8 V.

    Pin 19 is the target voltage supply pin, which reads 3.0V without the J-link connected, and 5V when the J-link is connected (read from JTAG/VDD pin on the board).

    I attempt to communicate through the J-Link commander , the J-link RTT, and through Keil MDK.
    This is the information of the J-link:

    DLL version V7.56b
    Hardware version: V11.00
    S/N:261014505


    **The J-link commander is able to sense the VTref of the microcontroller as 3.3 V, and I can program the supply voltage of the
    the J-link using J-link commander. (Thus the J-link EDU is fully functional), but it still cannot
    connect to the target.


    *** For the J-link RTT: TheRTT control block is correct in accordance to the *.map output file for the microcontroller.
    Different speed frequencies were also used below and above the J-Link's specifications, and the connection still failed.


    ** No previous source code has been loaded into the device.

    I look forward to hear troubleshooting tips, beyond "Check the connection," because as stated above that was already followed.

    thank you in advance.
  • wiki.segger.com/Debug_Probes_-…6_J-Trace#Troubleshooting

    wiki.segger.com/J-Link_cannot_connect_to_the_CPU

    We recommend to check with a known as good eval board. If the basic steps from the wiki article above work and J-Link Commamder can connect, you know that the J-Link is good but your HW is not, so you have a point to start searching.
    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.