On Fri, May 06, 2011 at 04:19:07PM -0400, Eric Cooper wrote:
> On Fri, May 06, 2011 at 08:59:37PM +0200, Luka Perkov wrote:
> > as the subject implies I have never used jtag. I would like to replace
> > original uboot from this device:
> > 
> > http://wiki.openwrt.org/toh/gigaset/sx76x
> 
> Have you already tried connecting a serial cable?  If there's still a
> working u-boot on the device, it would be easier to use that to
> flash a new one.

I have already bicked one and I would not like to do the same with other
one.

> > 1. I think that is the cable is interface/parport.cfg . Am I correct? If
> > not how my interface config file should look like?
> 
> That's correct. I use the same interface (but for an ARM target).
> If you're using a Linux host, you just want:
>     interface parport
>     parport_cable wiggler
> in your config.  Make sure you have the "ppdev" kernel module loaded so that
> /dev/parport0 shows up.

Thank you. Unfortunately jtag does not work through usb-to-parallel
adapter. After connecting jtag I have had more success with urjtag. But
I have also stuck with it. 

Now again I'm back to openocd. Here is all the info I can get:

> scan_chain
   TapName             Enabled  IdCode     Expected   IrLen IrCap IrMask
-- ------------------- -------- ---------- ---------- ----- ----- ------
 0 auto0.tap              Y     0x00000183 0x00000183     5 0x01  0x03
 1 auto1.tap              Y     0x00000183 0x00000183     5 0x01  0x03

But when I run openocd with additional parameter:

-f /usr/share/openocd/scripts/target/ar71xx.cfg

I get:

Info : JTAG tap: ar71xx.cpu tap/device found: 0x00000183 (mfg: 0x0c1, part: 
0x0000, ver: 0x0)
Warn : JTAG tap: ar71xx.cpu       UNEXPECTED: 0x00000183 (mfg: 0x0c1, part: 
0x0000, ver: 0x0)
Error: JTAG tap: ar71xx.cpu  expected 1 of 1: 0x00000001 (mfg: 0x000, part: 
0x0000, ver: 0x0)
Warn : Unexpected idcode after end of chain: 32 0x00000183
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
Error: Trying to use configured scan chain anyway...
Error: IR capture error at bit 5, saw 0x21 not 0x...3
Warn : Bypassing JTAG setup events due to errors

It would be great if my findings from urjtag could be helpful for
openocd:

http://tinyurl.com/3rqjzer

Luka

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to