J-Link not finding CPU on DM365 board

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

  • J-Link not finding CPU on DM365 board

    I was hoping to use J-Link + TI adaptor from Segger with Leopard Imaging DM365 board, which has TMS320DM365 ARM9 CPU. But all I am getting is this:



    SEGGER J-Link Commander V4.22c ('?' for help)
    Compiled Jan 18 2011 11:40:21
    DLL version V4.22c, compiled Jan 18 2011 11:40:08
    Firmware: J-Link ARM V8 compiled Dec 16 2010 20:21:29
    Hardware: V8.00
    S/N: 268000948
    OEM: SEGGER-EDU
    Feature(s): FlashBP, GDB
    VTarget = 3.351V
    Info: TotalIRLen = 6, IRPrint = 0x01

    WARNING: CPU core not found.
    No devices found on JTAG chain. Trying to find device on SWD.

    WARNING: CPU core not found.

    ****** Error: Wrong AHB ID (15:3). Expected 0x04770001 (Mask 0x0FFFFFCF), Found
    0x10051D47
    No device found on SWD.
    Did not find any core.
    Info: TotalIRLen = 6, IRPrint = 0x01

    WARNING: CPU core not found.
    No devices found on JTAG chain. Trying to find device on SWD.

    WARNING: CPU core not found.
    No device found on SWD.
    Did not find any core.
    J-Link>



    Any help will be much appreciated.
  • Hi,

    I have never worked with the TMS320 but it seems, by default it has an ICEPick JTAG device in the JTAG chain only.
    Sounds similar to the OMAP-L138.

    Could you please try the follwoing?:
    Go to $JLINK_INST_DIR$\Samples\JLink\Scripts
    Copy OMAP-L138.JLinkScript to the same directory were JLink.exe is located
    Rename OMAP-L138.JLinkScript to Default.JLinkScript
    Start J-Link commander again


    Best regards
    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.
  • Here's what I have got:

    C:\Program Files\SEGGER\JLinkARM_V422c>JLink.exe
    SEGGER J-Link Commander V4.22c ('?' for help)
    Compiled Jan 18 2011 11:40:21
    DLL version V4.22c, compiled Jan 18 2011 11:40:08
    Firmware: J-Link ARM V8 compiled Dec 16 2010 20:21:29
    Hardware: V8.00
    S/N: 268000948
    OEM: SEGGER-EDU
    Feature(s): FlashBP, GDB
    ETM support, Trace buffer size: 0KB
    VTarget = 3.351V
    Info: OMAP-L138 J-Link script
    Info: J-Link script: Init ICEPick
    Info: TotalIRLen = 6, IRPrint = 0x01
    Info: J-Link script: Could not halt CPU, Executing Reset
    Info: J-Link script: Reset
    Info: J-Link script: Init ICEPick
    Info: TotalIRLen = 6, IRPrint = 0x01
    Info: TotalIRLen = 7, IRPrint = 0x03

    ****** Error: Too few devices on the JTAG bus. IRPos: 6, TotalIRLen: 7
    Could not find supported CPU core on JTAG chain
    Found 2 JTAG devices, Total IRLen = 7:

    ****** Error: Too few devices on the JTAG bus. IRPos: 6, TotalIRLen: 7
    Could not find supported CPU core on JTAG chain
    Found 2 JTAG devices, Total IRLen = 7:
  • Hi EugeneS,

    EMU0 and EMU1 should be pulled up!
    I wrote a script as below.

    JTAG.IRLen=6;
    JTAG.Speed = 1000;                   // Set high JTAG speed
    JTAG.Write  (6, 0x1F,0x1F);          // TAP Reset
    JTAG.WriteIR(7);
    JTAG.WriteDR(8, 0x89);
    JTAG.WriteIR(2);
    JTAG.WriteDR(32, 0x81000082);       // Connect and select router
    JTAG.WriteDR(32, 0xA018206F);       // set IP control
    JTAG.WriteDR(32, 0xA018216F);       // configure TAP0
    JTAG.WriteIR(0x3F);                 // Bypass
    JTAG.Write  (10,0,0);               // Write 10 clocks
    JTAG.IRPRE=0;
    JTAG.DRPRE=0;
    JTAG.IRPOST=6;
    JTAG.DRPOST=1;
    JTAG.IRLen=4;
    CPU=arm926ejs;

    It can run in DLL version 4.14d :thumbsup:
    SEGGER J-Link Commander V4.14d ('?' for help)
    Compiled Jun 9 2010 12:45:12
    DLL version V4.14d, compiled Jun 9 2010 12:44:51
    Firmware: J-Link ARM V8 compiled May 20 2010 17:07:46
    Hardware: V8.00
    S/N :
    Info: TotalIRLen = 10, IRPrint = 0x0011
    VTarget = 3.209V
    Info: CP15.0.0: 0x41069265: ARM, Architecure 5TEJ
    Info: CP15.0.1: 0x1D112152: ICache: 16kB (4*128*32), DCache: 8kB (4*64*32)
    Info: Cache type: Separate, Write-back, Format C (WT supported)
    Found 2 JTAG devices, Total IRLen = 10:
    ETM V1.3: 4 pairs addr.comp, 2 data comp, 8 MM decs, 2 counters, sequencer
    JTAG speed: 100kHz
    J-Link>
  • Hi!

    I tried to use the latest software (4.30), but without success.
    The Script of Taoist is not working anymore. I also tried the Script for OMAP-L138 without success.

    Have anybody got working J-Link with DM365/DM368 or similar DaVinci product?

    Thanks,
    Martin