diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-11-27 20:39:28 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-11-27 20:39:28 +0100 |
commit | 5a99092b794373966e444296c57991631e712c70 (patch) | |
tree | 3e2853ab9730ece7398f508238ac2707e485b346 /boards/base/STM32F429i-Discovery/example_chibios_3.x/openocd.cfg | |
parent | eaf0b19fb8428b9e2e47798294d6ba83a56d186e (diff) | |
parent | f16ee702727a811288749a0722ddb138dd559fa8 (diff) | |
download | uGFX-5a99092b794373966e444296c57991631e712c70.tar.gz uGFX-5a99092b794373966e444296c57991631e712c70.tar.bz2 uGFX-5a99092b794373966e444296c57991631e712c70.zip |
Merge branch 'master' of https://bitbucket.org/Tectu/ugfx
Diffstat (limited to 'boards/base/STM32F429i-Discovery/example_chibios_3.x/openocd.cfg')
-rw-r--r-- | boards/base/STM32F429i-Discovery/example_chibios_3.x/openocd.cfg | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/boards/base/STM32F429i-Discovery/example_chibios_3.x/openocd.cfg b/boards/base/STM32F429i-Discovery/example_chibios_3.x/openocd.cfg index f8b6a6f5..b4395b52 100644 --- a/boards/base/STM32F429i-Discovery/example_chibios_3.x/openocd.cfg +++ b/boards/base/STM32F429i-Discovery/example_chibios_3.x/openocd.cfg @@ -1,4 +1,4 @@ -# This is a script file for OpenOCD 0.7.0 +# This is a script file for OpenOCD ?.?.? # # It is set up for the Mikromedia-STM32M4 board using the ST-Link JTAG adaptor. # @@ -32,11 +32,11 @@ source [find interface/stlink-v2.cfg] echo "" echo "##### Loading CPU..." -source [find target/stm32f4x_stlink.cfg] +source [find target/stm32f4x.cfg] echo "" echo "##### Configuring..." -reset_config srst_only srst_nogate +#reset_config srst_only srst_nogate #cortex_m maskisr (auto|on|off) #cortex_m vector_catch [all|none|list] #cortex_m reset_config (srst|sysresetreq|vectreset) @@ -58,10 +58,10 @@ proc Burn {file} { # If this happens to you - use the ST-Link utility to set the option byte back to normal. # If you are using a different debugger eg a FT2232 based adapter you can uncomment the line below. #stm32f2x unlock 0 - flash protect 0 0 last off - reset init - flash write_image erase $file 0x08000000 - verify_image $file 0x0 + #flash protect 0 0 last off + reset halt + flash write_image erase $file 0 elf + verify_image $file 0x0 elf #flash protect 0 0 last on reset echo "Burning Complete!" |