# This is an MCHF board with a single STM32F407VGTx chip. # Generated by System Workbench for STM32 source [find interface/stlink-v2.cfg] #source [find interface/stlink-v2-1.cfg] set WORKAREASIZE 0x20000 transport select "hla_swd" set ENABLE_LOW_POWER 0 set CONNECT_UNDER_RESET 1 set STOP_WATCHDOG 1 debug_level 2 #source [find target/stm32f4x.cfg] source [find target/stm32h7x_dual_bank.cfg] # use hardware reset, connect under reset reset_config none ## code to unprotect a protected STM32F7 ## normally no required #init #reset halt #stm32f2x unlock 0 #reset halt #exit