diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-05-24 11:43:09 +0100 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-05-26 11:10:15 +0100 |
commit | 94dc7c0a939c042c71767b5cbdc1e1327ccecbea (patch) | |
tree | 60fece02896c1e81bf4a49e6b168eb255c6744f7 /tcl | |
parent | 5319ccd7eb4761f1481dcbb041b256848efc005e (diff) | |
download | openocd+libswd-94dc7c0a939c042c71767b5cbdc1e1327ccecbea.tar.gz openocd+libswd-94dc7c0a939c042c71767b5cbdc1e1327ccecbea.tar.bz2 openocd+libswd-94dc7c0a939c042c71767b5cbdc1e1327ccecbea.tar.xz openocd+libswd-94dc7c0a939c042c71767b5cbdc1e1327ccecbea.zip |
cfg: add pic32 virtual banks
make use of the new virtual bank flash driver.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/target/pic32mx.cfg | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tcl/target/pic32mx.cfg b/tcl/target/pic32mx.cfg index 0b99cdb4..202668b8 100644 --- a/tcl/target/pic32mx.cfg +++ b/tcl/target/pic32mx.cfg @@ -69,8 +69,15 @@ $_TARGETNAME configure -event reset-init { set _FLASHNAME $_CHIPNAME.flash0 flash bank $_FLASHNAME pic32mx 0x1fc00000 0 0 0 $_TARGETNAME +# add virtual banks for kseg0 and kseg1 +flash bank vbank0 virtual 0xbfc00000 0 0 0 $_TARGETNAME $_FLASHNAME +flash bank vbank1 virtual 0x9fc00000 0 0 0 $_TARGETNAME $_FLASHNAME + set _FLASHNAME $_CHIPNAME.flash1 flash bank $_FLASHNAME pic32mx 0x1d000000 0 0 0 $_TARGETNAME +# add virtual banks for kseg0 and kseg1 +flash bank vbank2 virtual 0xbd000000 0 0 0 $_TARGETNAME $_FLASHNAME +flash bank vbank3 virtual 0x9d000000 0 0 0 $_TARGETNAME $_FLASHNAME # For more information about the configuration files, take a look at: # openocd.texi |