]> git.sur5r.net Git - openocd/blob - src/target/target/pic32mx.cfg
1d23ff2a520eb7f4f67ed59eb96eb6be67a4c457
[openocd] / src / target / target / pic32mx.cfg
1 jtag_nsrst_delay 100
2 jtag_ntrst_delay 100
3
4 #use combined on interfaces or targets that can't set TRST/SRST separately
5 reset_config srst_only
6
7 #jtag scan chain
8 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
9 jtag_device 5 0x1 0x1 0x1e
10
11 target create target0 mips_m4k -endian little -chain-position 0
12 [new_target_name] configure -work-area-virt 0 -work-area-phys 0xa0000000 -work-area-size 16384 -work-area-backup 0
13
14 #flash bank str7x <base> <size> 0 0 <target#> <variant>
15 #flash bank stm32x 0 0 0 0 0
16
17 # For more information about the configuration files, take a look at:
18 # openocd.texi