On Monday 26 October 2009, David Kaplan wrote:
> The aim at the moment is to flash u-boot to the flash. But I have no idea
> how to do that. My current openocd config looks as follows:
>
> interface ft2232
> ft2232_device_desc "Amontec JTAGkey A"
> ft2232_layout jtagkey
> ft2232_vid_pid 0x0403 0xcff8
Get a current version of OpenOCD [1], and replace that part by
source [find interface/jtagkey.cfg]
There's already a config for that JTAG adapter.
> jtag_speed 0
Replace that by "jtag_khz NNN" where NNN is the top speed
you want to use ... up to 6 MHz with that adapter. Don't
start too fast, it may no work. "0" won't work, it means
adaptive clocking and your JTAG adapter can't do that.
> How to I now tell the JTAG that it needs to deal with an ARM9 chip, flash a
> .bin file to it etc. etc.?
In your case won't say "arm9", say
source [find target/samsung_s3c2410.cfg]
Re the rest, have a look at the User's Guide [2] for advice
about how to set up your config files. You'l want to set
up your NAND flash etc; maybe there's a board config that's
enough like yours that you can just modify it.
- Dave
[1] http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd
[2] http://openocd.berlios.de/doc/html/index.html
[
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development