I am currently trying to learn the in’s and out’s of EJTAG debugging and am trying to use my Dominio PI for such activities. Currently my configuration consists of the Shikra board, openOCD, and the Domino PI with the SPI/JTAG board (I added pins to the exposed JTAG headers and used a DVM to test all connections). The problem that I am having is that I can never get an active connection, openOCD always says this:
Open On-Chip Debugger 0.10.0+dev-00001-g0ecee83 (2017-02-03-21:13) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html adapter speed: 2000 kHz ar9331.cpu Info : clock speed 2000 kHz Error: JTAG scan chain interrogation failed: all ones Error: Check JTAG interface, timings, target power, etc. Error: Trying to use configured scan chain anyway... Error: ar9331.cpu: IR capture error; saw 0x1f not 0x01 Warn : Bypassing JTAG setup events due to errors and when I press SW1 it responds with: target halted in MIPS32 mode due to undefined, pc: 0x00000000 On the telnet side I see this: Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Open On-Chip Debugger > halt Failed to enter Debug Mode! Halt timed out, wake up GDB. timed out while waiting for target halted target halted in MIPS32 mode due to debug-request, pc: 0x00000000 For the openOCD cfg file I am using the one shown on the shikra website: #shikra.cfg interface ftdi ftdi_vid_pid 0x0403 0x6014 ftdi_layout_init 0x0c08 0x0f1b adapter_khz 2000 # # ADDED BY ME # transport select jtag source [find target/atheros_ar9331.cfg] #end shikra.cfg
Since this is my first time messing with JTAG on a MIPS processor I am unsure of what I am doing wrong. Has anyone been able to get an active JTAG connection and if so could you perhaps point out what I am doing worng?
– Michael –