**** BEGIN LOGGING AT Thu Jan 27 02:59:57 2011 Jan 27 21:40:53 I have a jtagkey-2P hooked up to a pxa320 board, and I'm getting this error when openocd starts up: Jan 27 21:40:53 Error: JTAG scan chain interrogation failed: all ones Jan 27 21:41:20 The board is powered, jtag_khz 500 Jan 27 21:42:12 If I don't use pxa3xx.cfg, I get this on startup: Jan 27 21:42:12 Warn : There are no enabled taps. AUTO PROBING MIGHT NOT WORK!! Jan 27 21:42:12 Error: JTAG scan chain interrogation failed: all ones Jan 27 22:00:24 Suggestions? Jan 27 22:02:35 can you post the full config? Jan 27 22:02:38 pastebin maybe Jan 27 22:03:26 very simple: http://pastebin.com/DhG1FAsD Jan 27 22:03:42 do you have both srst and trst connected? Jan 27 22:03:48 and separate Jan 27 22:04:07 I'm not sure. I've tried "reset_config trst_and_srst" and "reset_config trst_and_srst separate" but nothing else Jan 27 22:04:14 mreimer1, you definately need the pxa3xx too Jan 27 22:04:28 otherwise openocd does not know which jtag target to initialize Jan 27 22:04:31 no i mean between board and dongle Jan 27 22:04:31 atiti: I've tried with and without. I'll keep it for now Jan 27 22:04:54 roxfan: I don't know. I'll see if I can find pinouts Jan 27 22:05:29 pxa needs separate trst and srst signals to debug the core Jan 27 22:06:05 hmm although i guess it still should be able to enumerate the chain... Jan 27 22:06:15 that's what I was thinking Jan 27 22:06:19 maybe try 10khz to start Jan 27 22:06:55 someone else has this working with a jtagkey (not 2) with the same hardware as I do, just not using openocd Jan 27 22:08:11 same with jtag_khz 10 Jan 27 22:10:23 sounds to me like something is physically wrong Jan 27 22:10:54 as long as openocd detects the jtagkey, and your pxa3xx is set as the target, you should be able to enumerate it at least Jan 27 22:11:00 probably something physically wrong with the operator :-) Jan 27 22:11:07 that's what I thought Jan 27 22:11:32 can you also pastebin the full log? Jan 27 22:11:40 sure Jan 27 22:12:03 this is 0.4.0 btw. Is that recent enough? Jan 27 22:12:56 http://pastebin.com/5ikJhxY4 Jan 27 22:14:25 regarding srst, this device's connector has five unlabeled pins, which I'm guessing are for JTAG. Does that give any clues? Jan 27 22:14:43 do you have the 20 pin connector? Jan 27 22:15:11 yes Jan 27 22:16:03 with a special converter box from the manufacturer (splits out usb, serial and JTAG, plus does level translation or something) Jan 27 22:16:58 maybe something's wrong with this converter box Jan 27 22:17:22 maybe Jan 27 22:45:20 Looks like this connector doesn't connect nTRST. Is that a problem? Jan 27 22:46:41 reset_config srst_only then Jan 27 22:47:28 same Jan 27 22:48:00 I'll contact the manufacturer Jan 27 22:56:39 can you try some other software? Jan 27 22:57:14 A coworker has something else. Hopefully I'll hear back from him soon. Jan 27 22:57:26 Thanks for your help! gotta run **** ENDING LOGGING AT Fri Jan 28 02:59:56 2011