dwelch67 / raspberrypi

Raspberry Pi ARM based bare metal examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Success with Raspberry PI B+ jtag with Olimex ARM-USB-TINY-H

dashxdr opened this issue · comments

commented

jtag

Just wanted to report success and say thanks for the project/repo/info. I'm able to control my old PI using jtag now following your armjtag instructions and kernel.img.

I'm running an old 18.04 LTS Ubuntu linux desktop and the stock openocd installed fine, and I launch it with

openocd -f olimex-arm-usb-tiny-h.cfg -f raspi.cfg

olimex-arm-usb-tiny-h.cfg is from the openocd package, but here's a copy:

interface ftdi
ftdi_device_desc "Olimex OpenOCD JTAG ARM-USB-TINY-H"
ftdi_vid_pid 0x15ba 0x002a
ftdi_layout_init 0x0808 0x0a1b
ftdi_layout_signal nSRST -oe 0x0200
ftdi_layout_signal nTRST -data 0x0100 -oe 0x0100
ftdi_layout_signal LED -data 0x0800

And raspi.cfg is the same as yours here:
https://raw.githubusercontent.com/dwelch67/raspberrypi/master/armjtag/raspi.cfg

When it works I get this:

Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 1000 kHz
none separate
Info : auto-selecting first available session transport "jtag". To override use 'transport select '.
raspi.arm
Info : clock speed 1000 kHz
Info : JTAG tap: raspi.arm tap/device found: 0x07b7617f (mfg: 0x0bf (Broadcom), part: 0x7b76, ver: 0x0)
Info : found ARM1176
Info : raspi.arm: hardware has 6 breakpoints, 2 watchpoints