45 files changed:
##
## Target configuration
##
##
## Target configuration
##
-target arm7tdmi little 0
+target create target0 arm7tdmi -endian little -chain-position 0
## software initiated reset (if your SRST isn't wired)
#proc target_0_reset {} { mwb 0x0ffff0230 04 }
# use top 1k of SRAM for as temporary JTAG memory
## software initiated reset (if your SRST isn't wired)
#proc target_0_reset {} { mwb 0x0ffff0230 04 }
# use top 1k of SRAM for as temporary JTAG memory
-#working_area 0 0x11C00 0x400 backup
+#[new_target_name] configure -work-area-virt 0 -work-area-phys 0x11C00 -work-area-size 0x400 -work-area-backup 1
## flash configuration
flash bank aduc702x 0x80000 0x10000 2 2 0
## flash configuration
flash bank aduc702x 0x80000 0x10000 2 2 0
jtag_device 4 0x1 0xf 0xe
#target configuration
jtag_device 4 0x1 0xf 0xe
#target configuration
-target arm7tdmi little 0 arm7tdmi-s_r4
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi-s_r4
# speed up memory downloads
arm7_9 fast_memory_access enable
# speed up memory downloads
arm7_9 fast_memory_access enable
# required for usable performance. Used for lots of
# other things than flash programming.
# required for usable performance. Used for lots of
# other things than flash programming.
-working_area 0 0x00030000 0x10000 nobackup
-
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x00030000 -work-area-size 0x10000 -work-area-backup 0
[new_target_name] configure -event reset-init {
puts "Running reset init script for AT91EB40A"
[new_target_name] configure -event reset-init {
puts "Running reset init script for AT91EB40A"
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm7tdmi little 0 arm7tdmi
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi
[new_target_name] configure -event old-gdb_program_config { script event/at91r40008_reset.script }
[new_target_name] configure -event old-gdb_program_config { script event/at91r40008_reset.script }
-working_area 0 0x3C000 0x4000 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x3C000 -work-area-size 0x4000 -work-area-backup 0
+
flash bank cfi 0x10000000 0x400000 2 2 0
# For more information about the configuration files, take a look at:
flash bank cfi 0x10000000 0x400000 2 2 0
# For more information about the configuration files, take a look at:
# Target configuration
######################
# Target configuration
######################
-#target <type> <endianess> <reset mode> <JTAG pos> <variant>
-target arm926ejs little 0 arm926ejs
+target create target0 arm926ejs -endian little -chain-position 0 -variant arm926ejs
[new_target_name] configure -event reset-init { script event/at91sam9260_reset.script }
[new_target_name] configure -event reset-init { script event/at91sam9260_reset.script }
-
-#working area <target#> <address> <size> <backup|nobackup>
-working_area 0 0x00300000 0x1000 backup
-
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x00300000 -work-area-size 0x1000 -work-area-backup 1
#####################
# Flash configuration
#####################
# Flash configuration
# Target configuration
######################
# Target configuration
######################
-#target <type> <endianess> <reset mode> <JTAG pos> <variant>
-target arm926ejs little 0 arm926ejs
+target create target0 arm926ejs -endian little -chain-position 0 -variant arm926ejs
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
-target arm7tdmi little 0 arm7tdmi
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi
[new_target_name] configure -event reset-init { script event/eir-sam7se512_reset.script }
[new_target_name] configure -event reset-init { script event/eir-sam7se512_reset.script }
-working_area 0 0x00200000 0x4000 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup 0
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank at91sam7 0 0 0 0 0
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank at91sam7 0 0 0 0 0
jtag_nsrst_delay 100
jtag_ntrst_delay 100
jtag_nsrst_delay 100
jtag_ntrst_delay 100
-target arm920t little 0
-working_area 0 0x80014000 0x1000 backup
+target create target0 arm920t -endian little -chain-position 0 -work-area-virt 0 -work-area-phys 0x80014000 -work-area-size 0x1000 -work-area-backup 1
+
#flash configuration
#flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
flash bank cfi 0x60000000 0x1000000 2 2 0
#flash configuration
#flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
flash bank cfi 0x60000000 0x1000000 2 2 0
jtag_device 4 0x1 0xf 0xe
jtag_device 4 0x1 0xf 0xe
-target arm920t little 0 arm920t
+target create target0 arm920t -endian little -chain-position 0 -variant arm920t
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x40800000 -work-area-size 0x20000 -work-area-backup 0
[new_target_name] configure -event reset-init { script event/hammer_reset.script }
# speed up memory downloads
arm7 fast_memory_access enable
arm7_9 dcc_downloads enable
[new_target_name] configure -event reset-init { script event/hammer_reset.script }
# speed up memory downloads
arm7 fast_memory_access enable
arm7_9 dcc_downloads enable
-
-working_area 0 0x30800000 0x20000 nobackup
-
-
#flash configuration
#flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
flash bank cfi 0x00000000 0x1000000 2 2 0
#flash configuration
#flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
flash bank cfi 0x00000000 0x1000000 2 2 0
jtag_nsrst_delay 500
jtag_ntrst_delay 500
jtag_nsrst_delay 500
jtag_ntrst_delay 500
+target create target0 arm11 -endian little -chain-position 1
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 7 0x1 0x7f 0x7e
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 7 0x1 0x7f 0x7e
-target xscale big 0 IXP42x
+target create target0 xscale -endian big -chain-position 0 -variant IXP42x
# the luminary variant causes a software reset rather than asserting SRST
# this stops the debug registers from being cleared
# this will be fixed in later revisions of silicon
# the luminary variant causes a software reset rather than asserting SRST
# this stops the debug registers from being cleared
# this will be fixed in later revisions of silicon
-target cortex_m3 little 0 lm3s
+target create target0 cortex_m3 -endian little -chain-position 0 -variant lm3s
# 8k working area at base of ram
# 8k working area at base of ram
-working_area 0 0x20000000 0x2000 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x20000000 -work-area-size 0x2000 -work-area-backup 0
#flash configuration
flash bank stellaris 0 0 0 0 0
#flash configuration
flash bank stellaris 0 0 0 0 0
# the luminary variant causes a software reset rather than asserting SRST
# this stops the debug registers from being cleared
# this will be fixed in later revisions of silicon
# the luminary variant causes a software reset rather than asserting SRST
# this stops the debug registers from being cleared
# this will be fixed in later revisions of silicon
-target cortex_m3 little 0 lm3s
+target create target0 cortex_m3 -endian little -chain-position 0 -variant lm3s
# 4k working area at base of ram
# 4k working area at base of ram
-working_area 0 0x20000000 0x4000 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x20000000 -work-area-size 0x4000 -work-area-backup 0
#flash configuration
flash bank stellaris 0 0 0 0 0
#flash configuration
flash bank stellaris 0 0 0 0 0
# the luminary variant causes a software reset rather than asserting SRST
# this stops the debug registers from being cleared
# this will be fixed in later revisions of silicon
# the luminary variant causes a software reset rather than asserting SRST
# this stops the debug registers from being cleared
# this will be fixed in later revisions of silicon
-target cortex_m3 little 0 lm3s
+target create target0 cortex_m3 -endian little -chain-position 0 -variant lm3s
# 8k working area at base of ram
# 8k working area at base of ram
-working_area 0 0x20000000 0x2000 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x20000000 -work-area-size 0x2000 -work-area-backup 0
#flash configuration
flash bank stellaris 0 0 0 0 0
#flash configuration
flash bank stellaris 0 0 0 0 0
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
-target arm7tdmi little 0 arm7tdmi-s_r4
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi-s_r4
+
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x40000000 -work-area-size 0x4000 -work-area-backup 0
-working_area 0 0x40000000 0x4000 nobackup
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 14765 calc_checksum
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 14765 calc_checksum
#jtag scan chain
jtag_device 4 0x1 0xf 0xe
#jtag scan chain
jtag_device 4 0x1 0xf 0xe
-target arm7tdmi little 0 arm7tdmi-s_r4
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi-s_r4
[new_target_name] configure -event reset-init {
# Force target into ARM state
soft_reset_halt
[new_target_name] configure -event reset-init {
# Force target into ARM state
soft_reset_halt
-working_area 0 0x40000000 0x4000 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x40000000 -work-area-size 0x4000 -work-area-backup 0
#flash bank lpc2000 <base> <size> 0 0 <target#> <variant>
flash bank lpc2000 0x0 0x7d000 0 0 0 lpc2000_v2 14765
#flash bank lpc2000 <base> <size> 0 0 <target#> <variant>
flash bank lpc2000 0x0 0x7d000 0 0 0 lpc2000_v2 14765
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm7tdmi little 0 arm7tdmi-s_r4
-
-
-working_area 0 0x40000000 0x4000 nobackup
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi-s_r4
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x40000000 -work-area-size 0x4000 -work-area-backup 0
#flash configuration
#flash bank lpc2000 <base> <size> 0 0 <target#> <variant>
#flash configuration
#flash bank lpc2000 <base> <size> 0 0 <target#> <variant>
jtag_device 4 0x1 0xf 0xe
jtag_nsrst_delay 100
jtag_ntrst_delay 100
jtag_device 4 0x1 0xf 0xe
jtag_nsrst_delay 100
jtag_ntrst_delay 100
-target arm926ejs little 0 arm926ejs
+target create target0 arm926ejs -endian little -chain-position 0 -variant arm926ejs
jtag_device 7 0x1 0x7f 0x7e
# target configuration
jtag_device 7 0x1 0x7f 0x7e
# target configuration
-target xscale big 0 ixp42x
+target create target0 xscale -endian big -chain-position 0 -variant ixp42x
# maps to PXA internal RAM. If you are using a PXA255
# you must initialize SDRAM or leave this option off
# maps to PXA internal RAM. If you are using a PXA255
# you must initialize SDRAM or leave this option off
-working_area 0 0x00020000 0x10000 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x00020000 -work-area-size 0x10000 -work-area-backup 0
# flash bank <driver> <base> <size> <chip_width> <bus_width>
#flash bank cfi 0x50000000 0x1000000 2 4 0
# flash bank <driver> <base> <size> <chip_width> <bus_width>
#flash bank cfi 0x50000000 0x1000000 2 4 0
jtag_device 4 0x1 0x0 0xe
jtag_device 8 0x0 0x0 0x0
jtag_device 4 0x1 0x0 0xe
jtag_device 8 0x0 0x0 0x0
-target arm926ejs little 1 arm926ejs
+target create target0 arm926ejs -endian little -chain-position 1 -variant arm926ejs
[new_target_name] configure -event reset-init { script event/omap5912_reset.script }
# omap5912 lcd frame buffer as working area
[new_target_name] configure -event reset-init { script event/omap5912_reset.script }
# omap5912 lcd frame buffer as working area
-working_area 0 0x20000000 0x3e800 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x20000000 -work-area-size 0x3e800 -work-area-backup 0
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank cfi 0x00000000 0x1000000 2 2 0
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank cfi 0x00000000 0x1000000 2 2 0
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 5 0x1 0x1 0x1e
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 5 0x1 0x1 0x1e
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target mips_m4k little 0
-
-
-working_area 0 0xa0000000 16384 nobackup
+target create target0 mips_m4k -endian little -chain-position 0
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0xa0000000 -work-area-size 16384 -work-area-backup 0
#flash bank str7x <base> <size> 0 0 <target#> <variant>
#flash bank stm32x 0 0 0 0 0
#flash bank str7x <base> <size> 0 0 <target#> <variant>
#flash bank stm32x 0 0 0 0 0
jtag_nsrst_delay 200
jtag_ntrst_delay 200
jtag_nsrst_delay 200
jtag_ntrst_delay 200
-target xscale little 0 pxa255
+target create target0 xscale -endian little -chain-position 0 -variant pxa255
[new_target_name] configure -event reset-init { script event/pxa255_reset.script }
reset_config trst_and_srst
[new_target_name] configure -event reset-init { script event/pxa255_reset.script }
reset_config trst_and_srst
script target/pxa255.cfg
# flash bank <driver> <base> <size> <chip_width> <bus_width> <targetNum> [options]
flash bank cfi 0x00000000 0x80000 2 2 0 jedec_probe
script target/pxa255.cfg
# flash bank <driver> <base> <size> <chip_width> <bus_width> <targetNum> [options]
flash bank cfi 0x00000000 0x80000 2 2 0 jedec_probe
-working_area 0 0x4000000 0x4000 nobackup 0
+
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x4000000 -work-area-size 0x4000 -work-area-backup 0
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 7 0x1 0x7f 0x7e
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 7 0x1 0x7f 0x7e
-target xscale little 0 pxa27x
+target create target0 xscale -endian little -chain-position 0 -variant pxa27x
# maps to PXA internal RAM. If you are using a PXA255
# you must initialize SDRAM or leave this option off
# maps to PXA internal RAM. If you are using a PXA255
# you must initialize SDRAM or leave this option off
-working_area 0 0x5c000000 0x10000 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x5c000000 -work-area-size 0x10000 -work-area-backup 0
#flash bank <driver> <base> <size> <chip_width> <bus_width>
# works for P30 flash
#flash bank <driver> <base> <size> <chip_width> <bus_width>
# works for P30 flash
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
-#target <type> <startup mode>
-target arm920t little 0 arm920t
+target create target0 arm920t -endian little -chain-position 0 -variant arm920t
#reset configuration
reset_config trst_and_srst
#reset configuration
reset_config trst_and_srst
-working_area 0 0x200000 0x4000 backup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x200000 -work-area-size 0x4000 -work-area-backup 1
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm7tdmi little 0 arm7tdmi
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi
[new_target_name] configure -event reset-init { script event/sam7x256_reset.script }
[new_target_name] configure -event reset-init { script event/sam7x256_reset.script }
-working_area 0 0x00200000 0x4000 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup 0
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank at91sam7 0 0 0 0 0
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank at91sam7 0 0 0 0 0
jtag_device 4 0x1 0xf 0xe
jtag_device 5 0x1 0x1 0x1e
jtag_device 4 0x1 0xf 0xe
jtag_device 5 0x1 0x1 0x1e
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target cortex_m3 little 0
+target create target0 cortex_m3 -endian little -chain-position 0
-
-working_area 0 0x20000000 16384 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x20000000 -work-area-size 16384 -work-area-backup 0
#flash bank str7x <base> <size> 0 0 <target#> <variant>
flash bank stm32x 0 0 0 0 0
#flash bank str7x <base> <size> 0 0 <target#> <variant>
flash bank stm32x 0 0 0 0 0
jtag_device 5 0x1 0x1 0x1e
jtag_device 4 0x1 0xf 0xe
jtag_device 5 0x1 0x1 0x1e
jtag_device 4 0x1 0xf 0xe
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target cortex_m3 little 0
+target create target0 cortex_m3 -endian little -chain-position 0
-
-working_area 0 0x20000000 16384 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x20000000 -work-area-size 16384 -work-area-backup 0
#flash bank str7x <base> <size> 0 0 <target#> <variant>
flash bank stm32x 0 0 0 0 0
#flash bank str7x <base> <size> 0 0 <target#> <variant>
flash bank stm32x 0 0 0 0 0
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm7tdmi little 0 arm7tdmi
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi
[new_target_name] configure -event reset-start { jtag_khz 10 }
[new_target_name] configure -event reset-init { jtag_khz 6000 }
[new_target_name] configure -event old-gdb_program_config { script event/str710_program.script }
[new_target_name] configure -event reset-start { jtag_khz 10 }
[new_target_name] configure -event reset-init { jtag_khz 6000 }
[new_target_name] configure -event old-gdb_program_config { script event/str710_program.script }
-
-
-working_area 0 0x2000C000 0x4000 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x2000C000 -work-area-size 0x4000 -work-area-backup 0
#flash bank str7x <base> <size> 0 0 <target#> <variant>
flash bank str7x 0x40000000 0x00040000 0 0 0 STR71x
#flash bank str7x <base> <size> 0 0 <target#> <variant>
flash bank str7x 0x40000000 0x00040000 0 0 0 STR71x
jtag_nsrst_delay 500
jtag_ntrst_delay 500
jtag_nsrst_delay 500
jtag_ntrst_delay 500
-target arm7tdmi little 0 arm7tdmi
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi
[new_target_name] configure -event reset-start { jtag_khz 10 }
[new_target_name] configure -event reset-init { jtag_khz 3000 }
[new_target_name] configure -event old-gdb_program_config { script event/str730_program.script }
[new_target_name] configure -event reset-start { jtag_khz 10 }
[new_target_name] configure -event reset-init { jtag_khz 3000 }
[new_target_name] configure -event old-gdb_program_config { script event/str730_program.script }
-
-working_area 0 0x40000000 0x4000 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x40000000 -work-area-size 0x4000 -work-area-backup 0
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank str7x 0x20000000 0x00040000 0 0 0 STR3x
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank str7x 0x20000000 0x00040000 0 0 0 STR3x
jtag_nsrst_delay 500
jtag_ntrst_delay 500
jtag_nsrst_delay 500
jtag_ntrst_delay 500
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm7tdmi little 0 arm7tdmi
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi
[new_target_name] configure -event reset-start { jtag_khz 10 }
[new_target_name] configure -event reset-init { jtag_khz 3000 }
[new_target_name] configure -event old-gdb_program_config { script event/str750_program.script }
[new_target_name] configure -event reset-start { jtag_khz 10 }
[new_target_name] configure -event reset-init { jtag_khz 3000 }
[new_target_name] configure -event old-gdb_program_config { script event/str750_program.script }
-
-working_area 0 0x40000000 0x4000 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x40000000 -work-area-size 0x4000 -work-area-backup 0
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank str7x 0x20000000 0x00040000 0 0 0 STR75x
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank str7x 0x20000000 0x00040000 0 0 0 STR75x
jtag_device 4 0x1 0xf 0xe
jtag_device 5 0x1 0x1 0x1e
jtag_device 4 0x1 0xf 0xe
jtag_device 5 0x1 0x1 0x1e
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm966e little 1 arm966e
+target create target0 arm966e -endian little -chain-position 1 -variant arm966e
[new_target_name] configure -event reset-start { jtag_rclk 16 }
[new_target_name] configure -event reset-start { jtag_rclk 16 }
flash protect 0 0 7 off
}
flash protect 0 0 7 off
}
-
-
-working_area 0 0x50000000 16384 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x50000000 -work-area-size 16384 -work-area-backup 0
#flash bank str9x <base> <size> 0 0 <target#> <variant>
flash bank str9x 0x00000000 0x00080000 0 0 0
#flash bank str9x <base> <size> 0 0 <target#> <variant>
flash bank str9x 0x00000000 0x00080000 0 0 0
jtag_device 8 0x1 0x1 0xfe
jtag_device 4 0x1 0xf 0xe
jtag_device 5 0x1 0x1 0x1e
jtag_device 8 0x1 0x1 0xfe
jtag_device 4 0x1 0xf 0xe
jtag_device 5 0x1 0x1 0x1e
-target arm966e little 1 arm966e
+target create target0 arm966e -endian little -chain-position 1 -variant arm966e
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x50000000 -work-area-size 16384 -work-area-backup 0
-working_area 0 0x50000000 16384 nobackup
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank str9x 0x00000000 0x00080000 0 0 0
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank str9x 0x00000000 0x00080000 0 0 0
jtag_device 4 0x1 0xf 0xe
#target configuration
jtag_device 4 0x1 0xf 0xe
#target configuration
-target arm7tdmi little 0 arm7tdmi-s_r4
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi-s_r4
[new_target_name] configure -event reset-init {
[new_target_name] configure -event reset-init {
# This script tests a syntax error in the startup
# config script
# This script tests a syntax error in the startup
# config script
-syntax error here
\ No newline at end of file
# Target configuration
######################
# Target configuration
######################
-#target <type> <endianess> <reset mode> <JTAG pos> <variant>
-target arm926ejs big 0 arm926ejs
-
+target create target0 arm926ejs -endian big -chain-position 0 -variant arm926ejs
[new_target_name] configure -event reset-init { script event/wi-9c_reset.script }
[new_target_name] configure -event reset-init { script event/wi-9c_reset.script }
-
-
-#working area <target#> <address> <size> <backup|nobackup>
-working_area 0 0x00000000 0x1000 backup
-
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x00000000 -work-area-size 0x1000 -work-area-backup 1
#####################
# Flash configuration
#####################
# Flash configuration
#format L IRC IRCM IDCODE (Length, IR Capture, IR capture Mask, IDCODE)
jtag_device 7 0x1 0x7f 0x7e
#format L IRC IRCM IDCODE (Length, IR Capture, IR capture Mask, IDCODE)
jtag_device 7 0x1 0x7f 0x7e
-target xscale big 0 ixp42x
+target create target0 xscale -endian big -chain-position 0 -variant ixp42x
[new_target_name] configure -event reset-init { script event/xba_revA3.script }
[new_target_name] configure -event reset-init { script event/xba_revA3.script }
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x20010000 -work-area-size 0x8060 -work-area-backup 0
flash bank cfi 0x50000000 0x400000 2 2 0
flash bank cfi 0x50000000 0x400000 2 2 0
-working_area 0 0x20010000 0x8060 nobackup
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
-#target configuration
-target arm7tdmi little 0 arm7tdmi-s_r4
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi-s_r4
# at CPU CLK <32kHz this must be disabled
arm7_9 fast_memory_access enable
# at CPU CLK <32kHz this must be disabled
arm7_9 fast_memory_access enable
# required for usable performance. Used for lots of
# other things than flash programming.
# required for usable performance. Used for lots of
# other things than flash programming.
-working_area 0 0x00020000 0x20000 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x00020000 -work-area-size 0x20000 -work-area-backup 0
sleep 25000
target_request debugmsgs disable
return "See IP address above..."
sleep 25000
target_request debugmsgs disable
return "See IP address above..."
-}
\ No newline at end of file
jtag_device 4 0x1 0xf 0xe
#target configuration
jtag_device 4 0x1 0xf 0xe
#target configuration
-daemon_startup reset
-
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm7tdmi little 0 arm7tdmi
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x3C000 -work-area-size 0x4000 -work-area-backup false
target_script 0 reset .\prj\at91r40008_reset.script
target_script 0 reset .\prj\at91r40008_reset.script
-working_area 0 0x3C000 0x4000 nobackup
flash bank cfi 0x10000000 0x400000 2 2 0
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
flash bank cfi 0x10000000 0x400000 2 2 0
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
jtag_device 4 0x1 0xf 0xe
#target configuration
jtag_device 4 0x1 0xf 0xe
#target configuration
-daemon_startup reset
-
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm7tdmi little 0 arm7tdmi-s_r4
-
-working_area 0 0x40000000 0x4000 nobackup
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi-s_r4
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x40000000 -work-area-size 0x4000 -work-area-backup false
#flash bank lpc2000 <base> <size> 0 0 <target#> <variant>
flash bank lpc2000 0x0 0x7d000 0 0 0 lpc2000_v2 14765 calc_checksum
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
#flash bank lpc2000 <base> <size> 0 0 <target#> <variant>
flash bank lpc2000 0x0 0x7d000 0 0 0 lpc2000_v2 14765 calc_checksum
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
jtag_device 4 0x1 0xf 0xe
#target configuration
jtag_device 4 0x1 0xf 0xe
#target configuration
-daemon_startup reset
-
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm7tdmi little 0 arm7tdmi-s_r4
-
-working_area 0 0x40000000 0x4000 nobackup
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi-s_r4
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x40000000 -work-area-size 0x4000 -work-area-backup false
#flash configuration
#flash bank lpc2000 <base> <size> 0 0 <target#> <variant>
#flash configuration
#flash bank lpc2000 <base> <size> 0 0 <target#> <variant>
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
jtag_device 4 0x1 0xf 0xe
#target configuration
jtag_device 4 0x1 0xf 0xe
#target configuration
-daemon_startup reset
-
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm7tdmi little 0 arm7tdmi
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup false
target_script 0 reset .\prj\sam7s256_reset.script
target_script 0 reset .\prj\sam7s256_reset.script
-working_area 0 0x00200000 0x4000 nobackup
-
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank at91sam7 0 0 0 0 0
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank at91sam7 0 0 0 0 0
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
jtag_device 4 0x1 0xf 0xe\r
\r
#target configuration\r
jtag_device 4 0x1 0xf 0xe\r
\r
#target configuration\r
-daemon_startup reset\r
-\r
-#target <type> <startup mode>\r
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>\r
-target arm7tdmi little 0 arm7tdmi\r
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi\r
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup false\r
\r
target_script 0 reset .\prj\sam7x256_reset.script\r
\r
\r
target_script 0 reset .\prj\sam7x256_reset.script\r
\r
-working_area 0 0x00200000 0x4000 nobackup\r
-\r
#flash bank <driver> <base> <size> <chip_width> <bus_width>\r
flash bank at91sam7 0 0 0 0 0\r
\r
# For more information about the configuration files, take a look at:\r
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger\r
#flash bank <driver> <base> <size> <chip_width> <bus_width>\r
flash bank at91sam7 0 0 0 0 0\r
\r
# For more information about the configuration files, take a look at:\r
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger\r
+\r
+init\r
+reset halt\r
jtag_device 4 0x1 0xf 0xe
#target configuration
jtag_device 4 0x1 0xf 0xe
#target configuration
-daemon_startup reset
-
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm7tdmi little 0 arm7tdmi
-
-working_area 0 0x2000C000 0x4000 nobackup
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x2000C000 -work-area-size 0x4000 -work-area-backup false
#flash bank str7x <base> <size> 0 0 <target#> <variant>
flash bank str7x 0x40000000 0x00040000 0 0 0 STR71x
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
#flash bank str7x <base> <size> 0 0 <target#> <variant>
flash bank str7x 0x40000000 0x00040000 0 0 0 STR71x
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
jtag_device 4 0x1 0xf 0xe
#target configuration
jtag_device 4 0x1 0xf 0xe
#target configuration
-daemon_startup reset
-
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm7tdmi little 0 arm7tdmi
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x2000C000 -work-area-size 0x4000 -work-area-backup false
target_script 0 gdb_program_config .\prj\str710_program.script
target_script 0 gdb_program_config .\prj\str710_program.script
-working_area 0 0x2000C000 0x4000 nobackup
-
#flash bank str7x <base> <size> 0 0 <target#> <variant>
flash bank str7x 0x40000000 0x00040000 0 0 0 STR71x
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
#flash bank str7x <base> <size> 0 0 <target#> <variant>
flash bank str7x 0x40000000 0x00040000 0 0 0 STR71x
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
jtag_device 5 0x1 0x1 0x1e
#target configuration
jtag_device 5 0x1 0x1 0x1e
#target configuration
-daemon_startup reset
-
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm966e little 1 arm966e
+target create target0 arm966e -endian little -chain-position 1 -variant arm966e
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x50000000 -work-area-size 16384 -work-area-backup false
target_script 0 gdb_program_config .\prj\str912_program.script
target_script 0 gdb_program_config .\prj\str912_program.script
-working_area 0 0x50000000 16384 nobackup
-
#flash bank str7x <base> <size> 0 0 <target#> <variant>
flash bank str9x 0x00000000 0x00080000 0 0 0
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
#flash bank str7x <base> <size> 0 0 <target#> <variant>
flash bank str9x 0x00000000 0x00080000 0 0 0
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
Linking to existing account procedure
If you already have an account and want to add another login method
you
MUST first sign in with your existing account and
then change URL to read
https://review.openocd.org/login/?link
to get to this page again but this time it'll work for linking. Thank you.
SSH host keys fingerprints
1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=.. |
|+o.. . |
|*.o . . |
|+B . . . |
|Bo. = o S |
|Oo.+ + = |
|oB=.* = . o |
| =+=.+ + E |
|. .=o . o |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)