Hi,
I apoligize for the lack of description of my problem but I am very
new to JTAG, openocd. So I have some hundreds of documentation
to read, and I am feelling a bit lost
Basically, I have a sbc2410 board, with a s3c2410a from samsung.
I have a jtagkey cable from amontec, plus a jtag wiggler I cannot use.
I have lost the nand contents thus I cannot use the (vivi) bootloader
for repgroamming the nand… What I am trying to do is using openocd
(from the svn/trunk) to program the flash content with the jtagkey, but
didnot succeed yet.
I run openocd using the following script:
#!/usr/bin/env sh
openocd \
-d 3 \
-f /usr/local/share/openocd/scripts/cpu/arm/arm920.tcl \
-f /usr/local/share/openocd/scripts/interface/jtagkey-tiny.cfg \
-f /usr/local/share/openocd/scripts/target/samsung_s3c2410.cfg
I then have access to the gdb / telnet server, but I have no idea
what are the commands to use to program the NAND… and since
the openocd devel is quite active, I found a lot of different infos on
the web. I am reading all the documentation, but I am having some
random segfault ect…
Could anyone point me to a SVN revision along with the correct
instruction to program my NAND?
I have another problem too… Say my uboot contents begin with
0xab 0xcd 0xde 0x2a 0xab 0xcd 0xde 0x2b…
When I load_file, then dump to check the contents, I end up with:
0x2a 0x2a 0x2a 0x2a 0x2b 0x2b 0x2b 0x2b
That is, the last byte of each 32bit word is duplicated 4 time and
the other not loaded!
Thanks very much for helping,
Regards,
FLM.