Go to previous topic
Go to next topic
Last Post 03 Jun 2008 02:53 PM by  addyyang
IAR JTAG Cannot Talk to NXP LH79524
 5 Replies
Author Messages
dwills
New Member
New Member
Posts:


--
29 May 2008 05:09 PM
    Hi,

    For some reason, my JTAG cannot connect to the ARM. The J-Trace recognizes board power but not the chip.

    The starter kit baseboard quick start guide shows n/a for the jumper settings on J6. I assume this means no jumpers, but I tried all combinations of jumpers on J6 and none work.

    Both the J-Trace and the Zoom starter kit are new out of the box, so it's unlikely either is bad.

    Anyone have any ideas of what I might try next?

    Thanks,

    Dave
    dwills
    New Member
    New Member
    Posts:


    --
    29 May 2008 06:30 PM
    Here are the JTAG messages:

    J-Link>r
    Reset delay: 50 ms
    Reset type NORMAL: Using RESET pin, halting CPU after Reset
    Info: TotalIRLen = 3, IRPrint = 0x01
    Info: Resetting target using RESET pin

    WARNING: RESET (pin 15) high, but should be low. Please check target hardware.
    Info: Halting CPU core
    Info: Resetting target using RESET pin

    WARNING: RESET (pin 15) high, but should be low. Please check target hardware.
    Info: Halting CPU core
    Info: Resetting target using BP@0.

    ****** Error: Too few devices on the JTAG bus. IRPos: 0, TotalIRLen: 3
    J-Link>
    addyyang
    New Member
    New Member
    Posts:


    --
    30 May 2008 03:09 PM
    I got the exactly same issue as yours, and it has not been solved yet.

    if I type 'hwinfo' command in J-link commander, i noticed that 'target power is disabled'.

    Also, as other threads mentioned, i typed command 'speed 8000' and 'rx 0' , but got 'arm core is not halted', I think this is the reason why jtag couldn't get control of the core.

    However, i don't know how to 'halt' the core.


    Posted By dwills on 29 May 2008 6:30 PM
    Here are the JTAG messages:

    J-Link>r
    Reset delay: 50 ms
    Reset type NORMAL: Using RESET pin, halting CPU after Reset
    Info: TotalIRLen = 3, IRPrint = 0x01
    Info: Resetting target using RESET pin

    WARNING: RESET (pin 15) high, but should be low. Please check target hardware.
    Info: Halting CPU core
    Info: Resetting target using RESET pin

    WARNING: RESET (pin 15) high, but should be low. Please check target hardware.
    Info: Halting CPU core
    Info: Resetting target using BP@0.

    ****** Error: Too few devices on the JTAG bus. IRPos: 0, TotalIRLen: 3
    J-Link>


    addyyang
    New Member
    New Member
    Posts:


    --
    30 May 2008 03:11 PM
    and i don't think the issue comes from jumper settings.

    Posted By dwills on 29 May 2008 5:9 PM
    Hi,

    For some reason, my JTAG cannot connect to the ARM. The J-Trace recognizes board power but not the chip.

    The starter kit baseboard quick start guide shows n/a for the jumper settings on J6. I assume this means no jumpers, but I tried all combinations of jumpers on J6 and none work.

    Both the J-Trace and the Zoom starter kit are new out of the box, so it''s unlikely either is bad.

    Anyone have any ideas of what I might try next?

    Thanks,

    Dave


    emenard
    New Member
    New Member
    Posts:


    --
    31 May 2008 12:19 AM
    Hi,

    I had the same problem using the J-Trace but made some progress by installing J6 jumpers 1-3 and 5-6 (contrary to the NXP documentation that says these jumpers are N/A). After doing that I got the following output from the jlink utility:

      >jlink
      SEGGER J-Link Commander V3.78a ('?' for help)
      Compiled Dec 4 2007 22:18:44
      DLL version V3.78b, compiled Dec 10 2007 17:56:48
      Firmware: J-Trace ARM Rev.1 compiled Sep 5 2007 06:57:41
      Hardware: V1.00
      S/N : 101100098
      OEM : IAR
      ETM support, Trace buffer size: 1024KB
      VTarget = 3.319V
      Info: TotalIRLen = 4, IRPrint = 0x01
      JTAG speed: 29 kHz
      Found 1 JTAG device, Total IRLen = 4:
      Id of device #0: 0x0F0F0F0F
      Found ARM with core Id 0x0F0F0F0F (ARM7)
      J-Link>testcspeed
      Testing CPU clock frequency @ address 0x00000000...
      CPU running at 73686 kHz
      J-Link>testrspeed
      Speed test: Reading 8 * 8kb from address 0x00000000 ........
      8 kByte read in 4722ms ! (1.7 kb/sec)
      J-Link>testwspeed
      Speed test: Writing 8 * 8kb into memory @ address 0x00000000 ........
      8 kByte written in 3285ms ! (2.5 kb/sec)
      J-Link>h
      PC: (R15) = 00000000, CPSR = 000000D3 (SVC mode, ARM FIQ dis. IRQ dis.)
      R0 = 00034437, R1 = 000000DF, R2 = E2800001, R3 = EAFFFFFD
      R4 = 07060504, R5 = 0B0A0908, R6 = 0F0E0D0C, R7 = 13121110
      USR: R8 =17161514, R9 =1B1A1918, R10=1F1E1D1C, R11 =EEEDECEB, R12 =F2F1F0EF
      R13=F6F5F4E3, R14=FAF9F8F7
      FIQ: R8 =DE521F66, R9 =283976B3, R10=A3959641, R11 =A0004073, R12 =89DDAA70
      R13=8683B02C, R14=504378C6, SPSR=500000D0
      SVC: R13=20043290, R14=200047D4, SPSR=60000053
      ABT: R13=6C0189D3, R14=0000CF48, SPSR=000000DF
      IRQ: R13=88091685, R14=600000D2, SPSR=60000053
      UND: R13=1C946B86, R14=00000038, SPSR=800000D7
      J-Link>exit


    It also seems to work with a J-Link (without changing the jumpers).

    I wasn't able to test it using IAR EW because my license file is messed up (new installation isn't honoring the initial time-limited license)...

    --Ed
    addyyang
    New Member
    New Member
    Posts:


    --
    03 Jun 2008 02:53 PM
    I made a MISTAKE here.
    It does matter about the jumper setting on LH79524
    should be 1-3 AND 4-6.

    Now, i am able to get the J-FLASH work.


    Posted By addyyang on 29 May 2008 5:9 PM
    and i don''t think the issue comes from jumper settings.

    Posted By dwills on 29 May 2008 5:9 PM
    Hi,

    For some reason, my JTAG cannot connect to the ARM. The J-Trace recognizes board power but not the chip.

    The starter kit baseboard quick start guide shows n/a for the jumper settings on J6. I assume this means no jumpers, but I tried all combinations of jumpers on J6 and none work.

    Both the J-Trace and the Zoom starter kit are new out of the box, so it''''s unlikely either is bad.

    Anyone have any ideas of what I might try next?

    Thanks,

    Dave






    ---