forked from auracaster/openocd
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:
@@ -22,18 +22,16 @@ reset_config trst_and_srst srst_pulls_trst
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
init
|
||||
reset halt
|
||||
|
||||
Reference in New Issue
Block a user