mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
Rick Altherr <kc8apf@kc8apf.net> - update syntax
git-svn-id: svn://svn.berlios.de/openocd/trunk@1114 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -15,13 +15,13 @@ jtag_device 4 0x1 0xf 0xe
|
||||
##
|
||||
## 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
|
||||
#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
|
||||
|
||||
@@ -14,7 +14,7 @@ reset_config srst_only srst_pulls_trst
|
||||
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
|
||||
@@ -25,8 +25,7 @@ flash bank ecosflash 0x01000000 0x200000 2 2 0 ecos/at91eb40a.elf
|
||||
|
||||
# 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"
|
||||
|
||||
@@ -8,14 +8,13 @@ reset_config srst_only srst_pulls_trst
|
||||
#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 }
|
||||
|
||||
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:
|
||||
|
||||
@@ -14,15 +14,11 @@ jtag_ntrst_delay 0
|
||||
# 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 }
|
||||
|
||||
|
||||
#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
|
||||
|
||||
@@ -14,7 +14,6 @@ jtag_ntrst_delay 200
|
||||
# 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
|
||||
|
||||
|
||||
|
||||
@@ -5,12 +5,12 @@ reset_config srst_only srst_pulls_trst
|
||||
#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 }
|
||||
|
||||
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
|
||||
|
||||
@@ -3,8 +3,8 @@ jtag_device 4 0x1 0xf 0xe
|
||||
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
|
||||
|
||||
@@ -9,17 +9,14 @@ reset_config trst_and_srst
|
||||
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
|
||||
|
||||
|
||||
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
|
||||
|
||||
@@ -15,5 +15,5 @@ jtag_device 5 0x1 0x0 0x1e
|
||||
jtag_nsrst_delay 500
|
||||
jtag_ntrst_delay 500
|
||||
|
||||
target arm11 little 1
|
||||
target create target0 arm11 -endian little -chain-position 1
|
||||
|
||||
|
||||
@@ -5,5 +5,5 @@ reset_config srst_only srst_pulls_trst
|
||||
#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
|
||||
|
||||
|
||||
@@ -19,10 +19,10 @@ jtag_device 4 0x1 0xf 0xe
|
||||
# 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
|
||||
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
|
||||
|
||||
@@ -16,10 +16,10 @@ jtag_device 4 0x1 0xf 0xe
|
||||
# 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
|
||||
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
|
||||
|
||||
@@ -16,10 +16,10 @@ jtag_device 4 0x1 0xf 0xe
|
||||
# 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
|
||||
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
|
||||
|
||||
@@ -4,8 +4,9 @@ reset_config trst_and_srst srst_pulls_trst
|
||||
#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
|
||||
|
||||
@@ -13,7 +13,7 @@ reset_config trst_and_srst srst_pulls_trst
|
||||
#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
|
||||
@@ -22,7 +22,7 @@ target arm7tdmi little 0 arm7tdmi-s_r4
|
||||
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
@@ -5,12 +5,8 @@ reset_config trst_and_srst srst_pulls_trst
|
||||
#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>
|
||||
|
||||
@@ -6,5 +6,5 @@ reset_config trst_and_srst
|
||||
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
|
||||
|
||||
|
||||
@@ -6,12 +6,12 @@ reset_config srst_only
|
||||
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
|
||||
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
|
||||
|
||||
@@ -10,11 +10,11 @@ jtag_device 38 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
|
||||
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
|
||||
|
||||
@@ -8,12 +8,8 @@ reset_config srst_only
|
||||
#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
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user