New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with RPI2 JTAG enabling #3
Comments
First error is "Error: JTAG scan chain interrogation failed: all ones" To check for case 1, connect your TDO pin to ground and run openocd again. If it says "Error: JTAG scan chain interrogation failed: all zeros" then you know you have the right TDO pin. To check for case 2, double/triple check your wiring, and if it looks good, get another device with JTAG on it to see if openOCD returns an IDCODE found. Once you're sure you have case 1 and 2 figured out, then its time to debug the RPI2. I have not used the RPI2 with openocd, only the black magic probe. Take a look at https://github.com/esden/jtagsploitation for the RPI2 version. One of the first things i'd double check is that you changed the peri_base in jtagenabler.cpp -joe |
Try using the following ft232h.cfg. The one your using does not map the trst pin.
|
Thank you so much. |
I went through the PDF and the link http://sysprogs.com/VisualKernel/tutorials/raspberry/jtagsetup/
which is specific for rpi b(2835) and not rpi 2 (2836).
so i followed https://movr0.com/2015/10/15/how-to-jtag-raspberry-pi-2-without-custom-kernel/
I modified the JtagEnabler.cpp for rpi 2.
I am currently on Ubuntu 17 and openocd 0.10 with ft232h adapter for jtag.
I am getting this error.
For bug reports, read http://openocd.org/doc/doxygen/bugs.html adapter speed: 2000 kHz adapter speed: 1000 kHz adapter_nsrst_delay: 400 none separate Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'. Info : clock speed 1000 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: rpi2.dap: IR capture error; saw 0x0f not 0x01 Warn : Bypassing JTAG setup events due to errors Warn : Invalid ACK 0x7 in JTAG-DP transaction Warn : Invalid ACK 0x7 in JTAG-DP transaction Warn : Invalid ACK 0x7 in JTAG-DP transaction Warn : Invalid ACK 0x7 in JTAG-DP transaction Warn : Invalid ACK 0x7 in JTAG-DP transaction Warn : Invalid ACK 0x7 in JTAG-DP transaction Warn : Invalid ACK 0x7 in JTAG-DP transaction Warn : Invalid ACK 0x7 in JTAG-DP transaction Warn : Invalid ACK 0x7 in JTAG-DP transaction Warn : Invalid ACK 0x7 in JTAG-DP transaction
I am using
for ft232h.cfg
and
'
'
Where was i wrong??
The text was updated successfully, but these errors were encountered: