debuggers: import openocd-0.7.0
Initial check-in of openocd-0.7.0 as it can be downloaded from http://sourceforge.net/projects/openocd/files/openocd/0.7.0/ Any modifications will follow. Change-Id: I6949beaefd589e046395ea0cb80f4e1ab1654d55
This commit is contained in:
17
debuggers/openocd/tcl/target/avr32.cfg
Normal file
17
debuggers/openocd/tcl/target/avr32.cfg
Normal file
@ -0,0 +1,17 @@
|
||||
set _CHIPNAME avr32
|
||||
set _ENDIAN big
|
||||
|
||||
set _CPUTAPID 0x21e8203f
|
||||
|
||||
adapter_nsrst_delay 100
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
reset_config trst_and_srst separate
|
||||
|
||||
# jtag scan chain
|
||||
# format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
|
||||
jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_CPUTAPID
|
||||
|
||||
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
|
||||
target create $_TARGETNAME avr32_ap7k -endian $_ENDIAN -chain-position $_TARGETNAME
|
||||
|
||||
Reference in New Issue
Block a user