]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - tools/at91sam7s256-armusbocd-flash-program.cfg
@marshmellow42 ideas
[proxmark3-svn] / tools / at91sam7s256-armusbocd-flash-program.cfg
... / ...
CommitLineData
1#define our ports
2telnet_port 4444
3gdb_port 3333
4
5#commands specific to the Olimex ARM-USB-OCD Dongle
6interface ft2232
7ft2232_device_desc "Olimex OpenOCD JTAG"
8ft2232_layout "olimex-jtag"
9ft2232_vid_pid 0x15BA 0x0003
10jtag_speed 2
11jtag_nsrst_delay 200
12jtag_ntrst_delay 200
13
14#reset_config <signals> [combination] [trst_type] [srst_type]
15reset_config srst_only srst_pulls_trst
16
17#jtag_device <IR length> <IR capture> <IR mask> <IDCODE instruction>
18jtag_device 4 0x1 0xf 0xe
19
20#daemon_startup <'attach'|'reset'>
21daemon_startup reset
22
23#target <type> <endianess> <reset_mode> <jtag#> [variant]
24target arm7tdmi little run_and_init 0 arm7tdmi_r4
25
26#run_and_halt_time <target#> <time_in_ms>
27run_and_halt_time 0 30
28
29# commands below are specific to AT91sam7 Flash Programming
30# ---------------------------------------------------------
31
32#target_script specifies the flash programming script file
33target_script 0 reset script.ocd
34
35#working_area <target#> <address> <size> <'backup'|'nobackup'>
36working_area 0 0x40000000 0x4000 nobackup
37
38#flash bank at91sam7 0 0 0 0 <target#>
39flash bank at91sam7 0 0 0 0 0
Impressum, Datenschutz