Hi,
I have been trying to figure out how to use JTAG on my BCM6348-based, [Pirelli A125G router. I am using the latest git clone of OpenOCD, but I fail to find the correct “target” and “board” configuration files, appropriate for this board. Perhaps it’s there, but most likely it is not. I have Googled myself blue, but in vain. I know Broadcom is based on MIPS technology, and according to OpenOCD manual, there should be at least one MIPS target/cpu/board (or whatever it is) available. But I cannot find it! See:
http://openocd.berlios.de/doc/html/CPU- … et%20types
http://openocd.berlios.de/doc/html/Conf … lines.html
In addition, I have found the relevant devices (BCM6348/58) in the UrJTAG release. But I do not use UrJTAG as my JTAG USB-dongle (BusPirate v3b) is not yet supported there. For more information on UrJTAG data file formats, look [here. It was stated [here, that the other Broadcom chip BCM3348 should be very similar (internally) to mine. Thus any configuration info in the series BCM63xx may be useful to make my own files…
My board data are as follows:
SoC: Broadcom 6348 Rev.b0 / 00029107 @ 240 MHz
CPU: BCM6348KPBG V0.7
Flash: AMD? 29LV320CBTC-90G, 4MB (4M*8b | 2M*16b)
SDRAM: Winbond W9812G6GH-6, 16MB (2M*4Banks*16b)
LAN Switch: BCM5325e
Wireless Card: Broadcom BCM4318KFBG
With Flash layout:
CFE BOOT 64KB 0x00000000-0x00010000
1st Image IMAGE ~3.8MB 0x00010000-0x003D0000
1st Conf CONF ~64KB 0x003D0000-0x003E0000
2nd Conf CONF ~64KB 0x003E0000-0x003F0000
Fact Settings FACTORY 64KB 0x003F0000-0x00400000
And here is the BCM6348 file from the UrJTAG “data” directory.
register BR 1
register BSR 480
register DIR 32
register EJIMPCODE 32
register EJADDRESS 32
register EJDATA 32
register EJCONTROL 32
register EJALL 96
instruction length 5
instruction BYPASS 11111 BR
instruction SAMPLE/PRELOAD 00010 BSR
instruction IDCODE 00001 DIR
instruction EJTAG_IMPCODE 00011 EJIMPCODE
instruction EJTAG_ADDRESS 01000 EJADDRESS
instruction EJTAG_DATA 01001 EJDATA
instruction EJTAG_CONTROL 01010 EJCONTROL
instruction EJTAG_ALL 01011 EJALL
instruction EJTAGBOOT 01100 BR
instruction NORMALBOOT 01101 BR
Could someone please:
a) provide me with a working OpenOCD config file(s) for a board in the Broadcom BCM63xx series?
b) provide any other relevant help or details regarding JTAG of Broadcom/MIPS based boards?
c) let me know if it is possible to translate UrJtag data into OpenOCD configuration files? (How?)
d) provide a serious data sheet for this chip? (Broadcom products are really starting to p155 me off!)
Many thanks in advance for any response!](http://www.linux-mips.org/wiki/Broadcom_SOCs)](Data file format)](Pirelli DRG A125G [Old OpenWrt Wiki])