I used OpenOCD+parrel port JTAG cable linked to SMDK2410.
the openocd can detected my S3C2410 and displayed :
C:>openocd -f interface/parport.cfg -f target/samsung_s3c2410.cfg
Open On-Chip Debugger 0.1.0 (2009-01-21-21:15) Release
BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
$URL: https://kc8apf@svn.berlios.de/svnroot/r … -0.1.0/src
/openocd.c $
jtag_speed: 0
fast memory access is enabled
dcc downloads are enabled
Info : JTAG tap: s3c2410.cpu tap/device found: 0x0032409d (Manufacturer: 0x04e,
Part: 0x0324, Version: 0x0)
Error: JTAG tap: s3c2410.cpu got: 0x0032409d (mfg: 0x04e, part: 0x03
24, ver: 0x0)
Error: JTAG tap: s3c2410.cpu expected 1 of 1: 0xffffffff (mfg: 0x7ff, part: 0xff
ff, ver: 0xf)
Error: trying to validate configured JTAG chain anyway…
Warn : no tcl port specified, using default port 6666
Warn : DBGACK set while target was in unknown state. Reset or initialize target.
target state: halted
target halted in ARM state due to breakpoint, current mode: Supervisor
cpsr: 0x200000d3 pc: 0x3100045c
MMU: disabled, D-Cache: disabled, I-Cache: disabled
and then I compile a elf image and telnet the openocd server:
telnet localhost 4444
load_image mmu_elf 0x0
DCC write failed, expected end address 0x00000148 got 0x0
Runtime error, file “command.c”, line 456:
Is seems can’t write to address 0x000,
Maybe the SDRAM or PLL didn’t initial properly.
anyone can provide a config script for initialing SDRAM in SMDK2410?