This commit is contained in:
cfif 2025-07-03 15:15:13 +03:00
parent c730185820
commit ff237e7213
3 changed files with 4 additions and 4 deletions

View File

@ -3,11 +3,11 @@
# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090
#
source [find interface/stlink.cfg]
source [find interface/atlink.cfg]
transport select hla_swd
#transport select hla_swd
source [find target/at32f435xx.cfg]
source [find target/at32f435xM.cfg]
#reset_config trst_only
#reset_config srst_only

BIN
openocd

Binary file not shown.

View File

@ -1 +1 @@
openocd -s .//scripts -f .//artery_f435.cfg -c init -c "reset halt" -c "flash erase_sector 0 0 last" -c "reset halt" -c "flash erase_sector 1 0 last" -c "flash write_bank 0 .//firmware//boot.xfsb 0x00000000" -c "flash write_bank 0 .//firmware//module1.xfsb 0x00010000" -c "flash write_bank 1 .//firmware//module2.xfsb 0x00030000" -c "reset" -c shutdown
./openocd -s .//scripts -f .//artery_f435.cfg -c init -c "reset halt" -c "flash erase_sector 0 0 last" -c "reset halt" -c "flash erase_sector 1 0 last" -c "flash write_bank 0 .//firmware//boot.xfsb 0x00000000" -c "flash write_bank 0 .//firmware//module1.xfsb 0x00010000" -c "flash write_bank 1 .//firmware//module2.xfsb 0x00030000" -c "reset" -c shutdown