sholla
Posts: 5
Joined: Wed Sep 02, 2015 5:13 am

JTAG: A doubt regarding 20-pin connection

Wed Sep 02, 2015 7:31 am

I have Rev.1.2 B+ RPi and am now getting into baremetal
programming.

I followed these two fine writeups https://github.com/dwelch67/raspberrypi ... er/armjtag
and http://sysprogs.com/VisualKernel/tutori ... jtagsetup/ to have my JTAG setup done using a FT2232 based jtag adapter.

But one thing I am finding it confusing is that both of these write ups recommend
using the following connection for TDI:

3 ARM_TDI 4/26 GPIO_GCLK P1-7 IN ( 4 ALT5)

But according to the 1.2 B+ schematics one can use
JTAG-20pin-Pin3 --> J8-37 = GPIO26 = ARM_TDI (ALT4)

Is this OK ? I ask because at the OpenOCD telnet session if I do halt and resume, RPi really
crashes. (Maybe this has to do with openocd being required to start twice, I am looking into this now..)

Return to “Bare metal, Assembly language”