lpcware

LPCXpresso with RedProbe+ won't find Target

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by 123456789 on Thu Jul 14 09:51:21 MST 2011
Hi there,

I've bought RedProbe+ and wanna use it with LPCXpresso V4.0 under Ubuntu 11.04 linux system.

I do have a own designed board with a LPC2134 (industry quality) and 12MHz crystal.

I've checked all JTAG connections at least ten times now. I do have clean Vcc (3.3V), all 7 JTAG signals are on the connector and correcly on the LPC, I even do have a 1k PD from RTCK to GND for enabling JTAG. There are no other devices on these signals. The lines are about 2" long (LPC to 20-pin board connector).

But I didn't get a connection throught the IDE, so I tried to evaluate the problem on console:


user@computer:/usr/local/lpcxpresso_4.0.5_113/lpcxpresso/bin$ ./crt_emu_a7_nxp -info-emu
Ni: LPCXpresso Debug Driver v4.0 (Jun 27 2011 18:30:56)
1 Emulators available:
0. FTU33IYRARed Probe+ A (Code Red - Red Probe+)


I think that's OK!

But when I try to scan all devices, I'll get that:


user@computer:/usr/local/lpcxpresso_4.0.5_113/lpcxpresso/bin$ ./crt_emu_a7_nxp -info-scan
Ni: LPCXpresso Debug Driver v4.0 (Jun 27 2011 18:30:56)
8 Devices Found:
0. ID: 0x00000000 IR Length: ?
1. ID: 0x00000000 IR Length: ?
2. ID: 0x00000000 IR Length: ?
3. ID: 0x00000000 IR Length: ?
4. ID: 0x00000000 IR Length: ?
5. ID: 0x00000000 IR Length: ?
6. ID: 0x00000000 IR Length: ?
7. ID: 0x00000000 IR Length: ?


That can't be correct, I do only have one device (the LPC2134) on the chain). There should also be a valid ID I think.

And when I try to get a target info, I'll get that:


user@computer:/usr/local/lpcxpresso_4.0.5_113/lpcxpresso/bin$ ./crt_emu_a7_nxp -info-target -pLPC2134
Ni: LPCXpresso Debug Driver v4.0 (Jun 27 2011 18:30:56)
Nc: Looked for chip XML file in /usr/local/lpcxpresso_4.0.5_113/lpcxpresso/bin/LPC2134.xml

Nc: Looked for vendor directory XML file in /usr/local/lpcxpresso_4.0.5_113/lpcxpresso/bin/nxp_directory.xml

Nc: Found generic directory XML file in /usr/local/lpcxpresso_4.0.5_113/lpcxpresso/bin/crt_directory.xml

Ed:02: Failed on connect: Ee(08). Invalid ID code from DP - cannot connect.
Et: Emu(0): Connected. Was: None. DpID:        0. Info: FTU33IYRA
Error 0: (null)
Last sticky: 0. AIndex: 0
No MemAp selected
No Speed test
JTAG Frequency: 250 KHz. RTCK: False. Vector catch: False.
Packet delay: 0  Poll delay: 0.


Any other switch won't bring a correct solution, neither "-rctk" or slowing down JTAG speed.

The LPC is responsing correctly to "lpc21isp" via UART, I can sync and read out device data. But I wanna debug! :confused:

I even observed all JTAG signals with my oszilloscope, there is a good looking Clock on TCK, some switching on TDI, TMS and RESET, but no activity on TDO!

What else can I do? What's wrong???

Thank you very much! :)

Outcomes