summaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-03-16 09:55:20 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-03-16 10:10:20 +0000
commit82f44a4708cdfdf2bf4b386a4751e6b43adad2b2 (patch)
tree0896864672210ef8e2240b50d7799dfc1fd0cdfe /tcl/board
parentab5f98edcd3e8810c15d378d3244238d9d8f8d0e (diff)
downloadopenocd+libswd-82f44a4708cdfdf2bf4b386a4751e6b43adad2b2.tar.gz
openocd+libswd-82f44a4708cdfdf2bf4b386a4751e6b43adad2b2.tar.bz2
openocd+libswd-82f44a4708cdfdf2bf4b386a4751e6b43adad2b2.tar.xz
openocd+libswd-82f44a4708cdfdf2bf4b386a4751e6b43adad2b2.zip
PIC32: add Microchip Explorer16 cfg
- add Microchip Explorer16 cfg using PIC32MX360F512L PIM. - remove reset config from PIC32 target cfg. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/microchip_explorer16.cfg13
-rw-r--r--tcl/board/pic-p32mx.cfg4
2 files changed, 13 insertions, 4 deletions
diff --git a/tcl/board/microchip_explorer16.cfg b/tcl/board/microchip_explorer16.cfg
new file mode 100644
index 00000000..f5c4faab
--- /dev/null
+++ b/tcl/board/microchip_explorer16.cfg
@@ -0,0 +1,13 @@
+# Microchip Explorer 16 with PIC32MX360F512L PIM module.
+# http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en024858
+
+# TAPID for PIC32MX360F512L
+set CPUTAPID 0x30938053
+
+# use 32k working area
+set WORKAREASIZE 32768
+
+source [find target/pic32mx.cfg]
+
+# For more information about the configuration files, take a look at:
+# openocd.texi
diff --git a/tcl/board/pic-p32mx.cfg b/tcl/board/pic-p32mx.cfg
index 412a5067..661e3d63 100644
--- a/tcl/board/pic-p32mx.cfg
+++ b/tcl/board/pic-p32mx.cfg
@@ -2,7 +2,3 @@
set CPUTAPID 0x40916053
source [find target/pic32mx.cfg]
-
-init
-flash probe 0
-flash probe 1