build fix: ft2232
[openocd.git] / tcl / target / stellaris_icdi.cfg
blob11d57c26a0f2836334e9fdf73f90f7dad52ea4a2
2 # lm3s icdi pseudo target
5 if { [info exists CHIPNAME] } {
6    set _CHIPNAME $CHIPNAME
7 } else {
8    set _CHIPNAME lm3s
11 # Work-area is a space in RAM used for flash programming
12 # By default use 16kB
13 if { [info exists WORKAREASIZE] } {
14    set _WORKAREASIZE $WORKAREASIZE
15 } else {
16    set _WORKAREASIZE 0x4000
20 # possible value are hla_jtag
21 # currently swd is not supported
23 transport select hla_jtag
25 # do not check id as icdi currently does not support it
26 hla newtap $_CHIPNAME cpu -expected-id 0
28 set _TARGETNAME $_CHIPNAME.cpu
29 target create $_TARGETNAME hla_target -chain-position $_TARGETNAME
31 $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
33 # flash configuration ... autodetects sizes, autoprobed
34 flash bank $_CHIPNAME.flash stellaris 0 0 0 0 $_TARGETNAME