From 5cc962d5fd6ab6b5d4f080a8afe920befe0a44c8 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 23 Jan 2022 12:13:24 +0100 Subject: Introduce firmware directory --- firmware/ocd.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 firmware/ocd.sh (limited to 'firmware/ocd.sh') diff --git a/firmware/ocd.sh b/firmware/ocd.sh new file mode 100755 index 0000000..02416fa --- /dev/null +++ b/firmware/ocd.sh @@ -0,0 +1,9 @@ +#!/bin/bash + + +# Usage: bash ocd.sh # start gdb.sh script afterwards + + +# run openocd server with telnet interface on localhost:4444 and GDB interface +# on localhost:3333 +openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -- cgit v1.2.3-70-g09d2