Skip to content

Instantly share code, notes, and snippets.

@olegkapitonov
Last active November 17, 2021 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olegkapitonov/a538ac3661dd1c0136a90231ae554685 to your computer and use it in GitHub Desktop.
Save olegkapitonov/a538ac3661dd1c0136a90231ae554685 to your computer and use it in GitHub Desktop.
openocd -f interface/stlink-v2-1.cfg -f target/stm32f3x.cfg -c init -c "program PWM.elf verify reset exit"
Стирать
openocd -f interface/stlink-v2-1.cfg -f target/stm32f3x.cfg -c "init" -c "halt" -c "wait_halt" -c "stm32f1x mass_erase 0" -c "sleep 200" -c "reset run" -c "shutdown"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment