On May 24, 2012, at 11:47 , Alexander Osipenko wrote:

> I've done similar comparison on my dongles.

in case you need it, here is my test config:

(I use the repository version, with all debug messages enabled)
$ cd /Users/ilg/..../openocd

(plug the working version)
$ src/openocd -s tcl -f interface/jlink.cfg -f board/olimex_stm32_h103.cfg -c 
shutdown -d 3 >/Users/ilg/.../J-Link/442-o.txt 2>&1

(plug the unsupported version)
$ src/openocd -s tcl -f interface/jlink.cfg -f board/olimex_stm32_h103.cfg -c 
shutdown -d 3 >/Users/ilg/.../J-Link/446-o.txt 2>&1

$ cd /Users/ilg/..../J-Link

$ sh clean-openocd-logs.sh 442-o.txt > 442-o-sed.txt
$ sh clean-openocd-logs.sh 446-o.txt > 446-o-sed.txt

$ opendiff 442-o-sed.txt 446-o-sed.txt

where 'clean-openocd-logs.sh' is a short shell script:
cat $1 \
| sed -e '/^libusb:/d' \
| sed -e 's/^\([A-Z][A-Za-z ]*:\) [0-9][0-9]* [0-9][0-9]* \(.*\)$/\1 \2/'

and opendiff starts a graphical OS X diff application.

the test board is a small olimex_stm32_h103. 

> Error: 587 1608 core.c:941 jtag_examine_chain_check(): JTAG scan chain
> interrogation failed: all zeroes
> ...
> All zeroes returned, all time after the reset.

ok, so exactly the opposite, zeroes not ones.

however, in my case, the last byte is 7F, not FF.

> This could happen, if the TAP remains in the reset state.

probably this is what it happens, the TAP remains in a reset state, and the 
level is given by external resistors.

I already sent a report to Segger, I can provide them additional information 
based on your findings.

Liviu



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to