From: Carsten S. <c.s...@ko...> - 2007-01-29 16:52:45
|
Hi Dominik, After spending some time with OOCD and the PXA270 today, I found that the DCSR is read as expected and upload starts as long as I neither touch nor control either TRST nor SRST. Don't ask me why. But in this case I get the expected return value from the DCSR. Then upload to miniIC starts. Later the software reports: $ ./openocd.exe -f ../../openocd.cfg Info: openocd.c:83 main(): Open On-Chip Debugger (XScale branch, 2006-11-22 14:00 CEST) Warning: jtag.c:1074 jtag_read_buffer(): value captured during scan didn't pass the requested check: captured: 0x00 check_value: 0x02 check_mask: 0x06 Error: xscale.c:392 xscale_receive(): JTAG error while receiving data from debug handler This is absolutely reproduceable. I also checked inverted polarities for TRST and SRST, but in this case the JTAG either stays in RESET state (so TRST was configured the wrong way, always asserted). For SRST the same. Any of the four possible permutations of polarity inversions causes the DCSR to be read as all zero. Removing the control for both signals from the parport.c file results in DCSR to be always readable, and it reports the desired bits at least. It now hangs after the upload of the debug handler, while waiting for some data from the debug handler. I captured a debug log - please tell me if you need it. I will send it to your private email address. I expect Regards Carsten Schlote ____________ Virus checked by G DATA AntiVirusKit Virus news: www.antiviruslab.com ____________ Virus checked by G DATA AntiVirus Version: AVK 17.2347 from 29.01.2007 Virus news: www.antiviruslab.com |