summaryrefslogtreecommitdiff
path: root/tcl/target/pic32mx.cfg
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-05-12 23:04:57 +0100
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-05-13 20:44:08 +0100
commit215a5f7442773693045613cff9e3ce3c7f7e9678 (patch)
tree1ae64cf040f98c2ecc743548eab1dc264b4a055e /tcl/target/pic32mx.cfg
parenta7fb60dc7b23a78be0ad5876b0e76a0e76875d5c (diff)
downloadopenocd+libswd-215a5f7442773693045613cff9e3ce3c7f7e9678.tar.gz
openocd+libswd-215a5f7442773693045613cff9e3ce3c7f7e9678.tar.bz2
openocd+libswd-215a5f7442773693045613cff9e3ce3c7f7e9678.tar.xz
openocd+libswd-215a5f7442773693045613cff9e3ce3c7f7e9678.zip
scripts: update flash bank names
As the flash bank name is now unique update the scripts to suit. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'tcl/target/pic32mx.cfg')
-rw-r--r--tcl/target/pic32mx.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/pic32mx.cfg b/tcl/target/pic32mx.cfg
index 673d2541..0b99cdb4 100644
--- a/tcl/target/pic32mx.cfg
+++ b/tcl/target/pic32mx.cfg
@@ -67,9 +67,9 @@ $_TARGETNAME configure -event reset-init {
mww 0xbf882030 $_PIC32MX_PROGSIZE
}
-set _FLASHNAME $_CHIPNAME.flash
+set _FLASHNAME $_CHIPNAME.flash0
flash bank $_FLASHNAME pic32mx 0x1fc00000 0 0 0 $_TARGETNAME
-set _FLASHNAME $_CHIPNAME.flash
+set _FLASHNAME $_CHIPNAME.flash1
flash bank $_FLASHNAME pic32mx 0x1d000000 0 0 0 $_TARGETNAME
# For more information about the configuration files, take a look at: