2 # Target configuration for the Samsung s3c6410 system on chip
5 # Info: JTAG device found: 0x0032409d (Manufacturer: 0x04e, Part: 0x0324, Version: 0x0)
6 # [Duane Ellis 27/nov/2008: Above 0x0032409d appears to be copy/paste from other places]
7 # [and I do not believe it to be accurate, hence the 0xffffffff below]
9 if { [info exists CHIPNAME] } {
10 set _CHIPNAME $CHIPNAME
15 if { [info exists ENDIAN] } {
18 # this defaults to a bigendian
22 if { [info exists BSTAPID ] } {
25 # force an error till we get a good number
26 set _BSTAPID 0x2b900f0f
29 if { [info exists CPUTAPID ] } {
30 set _CPUTAPID $CPUTAPID
32 # force an error till we get a good number
33 set _CPUTAPID 0x07b76f0f
38 # I think the "unknown" is the boundry scan tap
39 jtag newtap $_CHIPNAME unknown -irlen 4 -ircapture 0x1 -irmask 0xe -expected-id $_BSTAPID
40 jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUTAPID
42 set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
43 target create $_TARGETNAME arm11 -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm1176
49 reset_config trst_and_srst