Dne Pá 3. září 2010 16:46:59 Wookey napsal(a):
> +++ Takács Áron [2010-09-03 16:15 +0200]:
> > Hi,
> > 
> > I want to use openocd to reflash PXA270 board (Colibri by Toradex). I am
> > using JTAGKey-Tiny interface (by Amontec). I can connect the board but I
> > always get the error message:
> > 'time out writing RX register'. Here is the output for 'reset' and
> 
> > 'flash info 0':
> We've used openocd with amontec jtagkey-tiny and pxa270 (balloonboard)
> successfully for some time now. It works since 0.3.1 and is also fine
> with 0.4. You might find it useful to compare your config with ours:
> http://balloonboard.org/trac/browser/balloon/trunk/utils/openocd
> 
> we have at least one extra pxa CPUID which should be upstreamed:
> http://balloonboard.org/trac/browser/balloon/trunk/utils/openocd/target/pxa
> 270updated.cfg
> 
> but that's not going to make any difference, assuming you are seeing
> the device.
> 
> The rest of the config looks OK to me, but I only checked quickly

It might be the colibri board buffer logic that causes trouble. There are 
additional buffers on the baseboard.

I use a custom FT2232 based dongle compatible with amontec jtagkey, but I heard 
people had trouble with original amontec dongles and colibri boards.
> 
> >  > reset
> > 
> > JTAG tap: pxa270.cpu tap/device found: 0x79265013 (mfg: 0x009, part:
> > 0x9265, ver: 0x7)
> > Failed to receiving data from debug handler after 1000 attempts
> > time out writing RX register
> > 
> > 
> > # set jtag_nsrst_delay to the delay introduced by your reset circuit
> > # the rest of the needed delays are built into the openocd program
> > jtag_nsrst_delay 260
> > # set the jtag_ntrst_delay to the delay introduced by a reset circuit
> > # the rest of the needed delays are built into the openocd program
> > jtag_ntrst_delay 250
> 
> Try upping these numbers? I know that Marvell parts have different
> timing to Intel parts in reset. Bit of a long short but worth a try.
> 
> 
> Wookey
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to