>/ > 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
/
Toradex use the Amontec JTAGkey Tiny, and since 2005 for programming
their Colibri platfroms!, see their wiki
Your trouble is not related to JTAGkey but related to timing issue,
especially regarding SRST.
If you use the same schematic as the Toradex Evaluation board, see their
wiki, you should use SRST as push-pull from your JTAGkey since Toradex
only provide a 100k pull-up on SRST line before an on-board buffer.
If you use Open-Drain for SRST from JTAGkey, (as by defualt) please make
sure to check the timing on the final SRST, close to the processor, and
make sure you do not generate any JTAG before SRST close to the
processor is stable again to a high level . The 100k pull-up will add a
lot of delay for getting the SRST deasserted !!!
The great advantage of the Amontec JTAGkey is the possibility to control
the SRST signal as push-pull or as open-drain.
Laurent
http://www.amontec.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development