Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This is an STM32F103C8T6-mini board with a single STM32F103C8Tx chip.
- # Generated by System Workbench for STM32
- # Files located at /usr/share/openocd
- # In-line Command:
- # $ openocd -c "source [find interface/stlink-v2.cfg]" -c "set WORKAREASIZE 0x5000" -c "transport select hla_swd" -c "source [find target/stm32f1x.cfg]" -c "reset_config srst_nogate" -c "init" -c "halt" -c "stm32f1x unlock 0" -c "reset" -c "program ./Debug/Board.elf verify reset exit"
- source [find interface/stlink-v2.cfg]
- set WORKAREASIZE 0x5000
- transport select "hla_swd"
- #source [find target/stm32f1x_stlink.cfg]
- source [find target/stm32f1x.cfg]
- # use hardware reset, connect under reset
- #reset_config srst_only srst_nogate
- reset_config srst_nogate
- init
- halt
- stm32f1x unlock 0
- reset
- program ./Debug/<nazev_projektu>.elf verify reset exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement