diff options
author | bnewbold <bnewbold@robocracy.org> | 2010-08-05 21:43:41 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2010-08-05 21:43:58 -0400 |
commit | ccd9833f264d6e20a9f2c81baebe162f07eec996 (patch) | |
tree | c6d1d3077cf92b864297bf74230221b90c01f34a /support/openocd | |
parent | d0e353ca9f3a0986c54beab3948117bdaade700e (diff) | |
download | librambutan-ccd9833f264d6e20a9f2c81baebe162f07eec996.tar.gz librambutan-ccd9833f264d6e20a9f2c81baebe162f07eec996.zip |
Some refactoring
Diffstat (limited to 'support/openocd')
-rw-r--r-- | support/openocd/flash.cfg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support/openocd/flash.cfg b/support/openocd/flash.cfg index eceac32..25fe23f 100644 --- a/support/openocd/flash.cfg +++ b/support/openocd/flash.cfg @@ -62,15 +62,15 @@ jtag newtap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID1 \ set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNAME -$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x20000000 -work-area-size 0x5000 -work-area-backup 0 +$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x20000000 -work-area-size 0x10000 -work-area-backup 0 flash bank stm32x 0x08000000 0x00020000 0 0 $_TARGETNAME proc flash_chip {} { echo "Halting..." halt - echo "Erasing 128KB..." - flash erase_address 0x08000000 0x20000 + echo "Erasing..." + flash erase_address 0x08000000 0x80000 echo "Flashing image..." flash write_bank 0 build/maple.bin 0 echo "Verifying image..." |