Hello everyone,
I trying to get OpenOCD working with the Embest SBC2440-II dev board. It’s got a Samsung S3C2440A processor which is an ARM 920t, 64Mbyte Nand Flash and 64Mbyte SDRAM. (more information and schematics are avaliable here http://www.armkits.com/product/sbc2440-II.asp).
And I am using the amontec JTAGKey-tiny
To sum up the only thing that seems to work is the reset.
I tried the latest OpenOCD build (rev 888) with this config file :
interface ft2232
jtag_speed 0
ft2232_vid_pid 0x0403 0xcff8
ft2232_layout "jtagkey"
ft2232_device_desc "Amontec JTAGkey"
jtag_device 4 0x1 0xf 0xe
target arm920t little 0 arm920t
And got the following result :
Open On-Chip Debugger 1.0 (2008-08-05-12:34) svn:888
$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
jtag_speed: 0
Error: JTAG communication failure, check connection, JTAG interface, target power etc.
Error: trying to validate configured JTAG chain anyway...
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Could not validate JTAG chain, exit
Error: JTAG communication failure, check connection, JTAG interface, target power etc.
Error: trying to validate configured JTAG chain anyway...
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Could not validate JTAG chain, exit
Warning:no telnet port specified, using default port 4444
Warning:no gdb port specified, using default port 3333
Warning:no tcl port specified, using default port 6666
I also tried an older OpenOCD build from the amontec sdk without more results, the config file used :
jtag_speed 0
interface ft2232
jtag_speed 0
ft2232_vid_pid 0x0403 0xcff8
ft2232_layout "jtagkey"
ft2232_device_desc "Amontec JTAGkey"
reset_config trst_and_srst
jtag_device 4 0x1 0xf 0xe
daemon_startup attach
target arm920t little reset_run 0 arm920t
run_and_halt_time 0 500
I tried to tweak some parameter as the jtag_speed, it didn’t help. So if anyone got a clue about what seems wrong, I’ll be everlastingly grateful. Also if anyone manager to get this kind of configuration working (this chip or even better this board) please let me know.
Thanks in advance.
[edit]Also if it seems to you that I forgot any kind of information that may be relevant, don’t hesitate to ask[\edit]