Using Olimex ARM-USB-OCD-H JTAG Debugger and CrossWorks connected to a NGX Technologies BlueBoard LPC-1768-H. When trying to connect to the target using CrossWorks software (Generic FT2332 Device) get the following error:
“Cannot identify target. Check JTAG connections and that the target is powered”
Each time I try to connect I see that two of the board’s LEDs D4 and D8 flash. Note that if I disconnect the board from the JTAG connector and connect the board to the USB port, my PC identifies the board indicating that the program on the board is operating when not connected to the JTAG connector. The following are Crosswork settings for the Generic FT2332 Device:
nSRST Inversion Mask 0x0200
nSRST Mask = 0x0200
nTRST Inversion Mask = 0x0000
nTRST Mask - 0x0400
Output Pins = 0x0F1B
Output Value = 0x0408
PID: 0x002B
VID: 0x15BA
JTAG Clock Divider: 10
CrossWorks support suggested that I make the following two changes based on another customer who was having a similar problem:
nTRST Mask: 0x0100
Output Value: 0x0108
After those changes I get the following error:
“Target not responding”
Note that if I don’t connect the JTAG it appears that the onboard program on the BlueBoard is functioning, i.e., when you reset the board the LED flashes a few times and then illuminates. Are there jumpers on the board that need to be changed to use JTAG?
Is there any documentation on the board other than the 6 page user manual and schematic?
Thanks.
Has anybody who is using the BlueBoard been able to join the NGX Technologies forum? I’ve tried twice and have never received the email notification that the registration process says I will get.
Hello,
Sorry for the inconvinience caused. I recall that for Cortex-M3 based controllers Crossworks requires that you create a new project with target as CORTEX-M3 and then try to connect. That should solve the issue. I don’t have access to olimex USB JTAG but I believe it should do the trick.
All the best.
-Ashwin
NGX Technologies Pvt Ltd
Hello Ashwin,
i am trying to connect NGX Blueboard LPC1768-H with NGX ARM JATAG interface using OpenOCD.
The error i am getting is
JTAG scan chain interrogation failed: all zeroes
Check JTAG interface, timings, target power, etc.
Trying to use configured scan chain anyway…
lpc1768.cpu: IR capture error; saw 0x00 not 0x01
Bypassing JTAG setup events due to errors
Invalid ACK 0 in JTAG-DP transaction
Target not examined yet
…
…
I think I dont have proper configuration for LPC1768-H.
Pls help.
-Pankaj
I don’t have any problems using the Blueboard LPC1768-H with Rowley CrossWorks and the CrossConnect. I do have to use the SWD adapter, not using one of those might be the cause of your problems.
Hello Leon,
Have you used it on windows or linux? i am trying it on linux. my interface JTAG is a ft2232 based device.
scan_chain
TapName Enabled IdCode Expected IrLen IrCap IrMask
0 lpc1768.cpu Y 0x00000000 0x4ba00477 4 0x01 0x0f
1 lpc1768.bs Y 0x00000000 0x16410041 5 0x01 0x03
Id codes are zero for me.
-Pankaj