Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 388 Bytes

openocd.md

File metadata and controls

6 lines (5 loc) · 388 Bytes

Board open as a usb-storage

create a file /etc/modprobe.d/stlink.conf and add: options usb-storage quirks=0483:3744:i Reload usb_storage driver with: sudo modprobe -rf usb_storage && sudo modprobe usb_storage

openocd example

sudo openocd -f board/board.cfg -c init -c targets -c "reset" -c "halt" -c "flash write_image erase $hex" -c "verify_image $hex" -c "reset run" -c shutdown