stm32l1.cfg: Add ID Code of Cat.2 devices.
[openocd.git] / tcl / target / samsung_s3c2450.cfg
blob1bc4f2d87581f7aeacea9dfa7fcc10d795a0df57
1 # Target configuration for the Samsung 2450 system on chip
2 # Processor       : ARM926ejs (wb) rev 0 (v4l)
3 # Info:   JTAG tap: s3c2450.cpu tap/device found: 0x07926F0F
6 # FIX!!! what to use here?
8 # RCLK?
10 # adapter_khz 0
12 # Really low clock during reset?
14 # adapter_khz 1
16 if { [info exists CHIPNAME] } {
17   set _CHIPNAME $CHIPNAME
18 } else {
19   set _CHIPNAME s3c2450
22 if { [info exists ENDIAN] } {
23   set _ENDIAN $ENDIAN
24 } else {
25  # this defaults to a bigendian
26   set _ENDIAN little
29 if { [info exists CPUTAPID] } {
30   set _CPUTAPID $CPUTAPID
31 } else {
32   set _CPUTAPID 0x07926f0f
35 #jtag scan chain
36 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0xE -irmask 0x0f -expected-id $_CPUTAPID
38 set _TARGETNAME $_CHIPNAME.cpu
39 target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME
41 # FIX!!!!! should this really use srst_pulls_trst?
42 # With srst_pulls_trst "reset halt" will not reset into the
43 # halted mode, but rather "reset run" and then halt the target.
45 # However, without "srst_pulls_trst", then "reset halt" produces weird
46 # errors:
47 # WARNING: unknown debug reason: 0x0
48 reset_config trst_and_srst