Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. # This is an STM32F103C8T6-mini board with a single STM32F103C8Tx chip.
  2. # Generated by System Workbench for STM32
  3.  
  4. # Files located at /usr/share/openocd
  5. # In-line Command:
  6. # $ 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"
  7.  
  8. source [find interface/stlink-v2.cfg]
  9.  
  10. set WORKAREASIZE 0x5000
  11. transport select "hla_swd"
  12.  
  13. #source [find target/stm32f1x_stlink.cfg]
  14.  
  15. source [find target/stm32f1x.cfg]
  16.  
  17.  
  18. # use hardware reset, connect under reset
  19. #reset_config srst_only srst_nogate
  20. reset_config srst_nogate
  21.  
  22. init
  23. halt
  24. stm32f1x unlock 0
  25. reset
  26. program ./Debug/<nazev_projektu>.elf verify reset exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement