From 6947093c17a143d2b8c54dba572947a98cc5946c Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 13 Oct 2018 10:43:55 -0400 Subject: [PATCH] more messages --- firmware/flash_erase_new_board.bat | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/firmware/flash_erase_new_board.bat b/firmware/flash_erase_new_board.bat index dbc0323fc8..15ccfb40a0 100644 --- a/firmware/flash_erase_new_board.bat +++ b/firmware/flash_erase_new_board.bat @@ -1,7 +1,7 @@ rem st-link_cli -c SWD ur -ME rem 0x100000 would erase both code and configuration rem use 0x080000 if you want to erase only configuratio -echo I am flash_erase.bat +echo I am flash_erase_new_board.bat rem weird, it used to be much nicer with openocd 0.8.0, file location was not broken? rem maybe https://sourceforge.net/p/openocd/tickets/105/ ? @@ -15,7 +15,10 @@ if not exist openocd/openocd.exe exit -1 rem newer discovery boards +echo Invoking openocd... openocd\openocd.exe -f openocd/stm32f429disc1.cfg -c init -c targets -c "halt" -c "flash erase_address 0x08000000 0x0100000" -c shutdown +echo Just invoked openocd! + rem older disocovery boards or cheap eBay ST-Link rem openocd\openocd.exe -f openocd/stm32f4discovery.cfg -c init -c targets -c "halt" -c "flash erase_address 0x08000000 0x0100000" -c shutdown \ No newline at end of file