Browse Source

firmware_update

master
Ivan Olenichev 5 months ago
parent
commit
e0682a527b
  1. 9
      OpenOCD_scripts/README
  2. 12
      OpenOCD_scripts/board/OpenOCD_USG_v1.0.cfg

9
OpenOCD_scripts/README

@ -0,0 +1,9 @@
The OpenOCD scripts in ./board/ are used in-place by the Eclipse debug configurations. You
don't need to copy them anywhere.
If your OpenOCD version is <= 0.8, you will need to copy ./target/stm32f4x.cfg to your OpenOCD
installation's /scripts/target/ folder, replacing the version currently there.
If you have OpenOCD >= 0.9, this is not necessary.
More info for Eclipse OpenOCD configuration:
http://gnuarmeclipse.github.io/debug/openocd/

12
OpenOCD_scripts/board/OpenOCD_USG_v1.0.cfg

@ -0,0 +1,12 @@
# Default work area for the STM32F4x is 64K. We'll just leave it at that.
# set WORKAREASIZE 0x10000
source [find target/stm32f4x.cfg]
# Use SRST to synchronously reset both micros
#reset_config srst_only connect_assert_srst
reset_config none separate
# Not necessary:
#cortex_m reset_config srst
Loading…
Cancel
Save