aboutsummaryrefslogtreecommitdiffstats
path: root/sw/demo1/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'sw/demo1/README.md')
-rw-r--r--sw/demo1/README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/sw/demo1/README.md b/sw/demo1/README.md
index 496864c..d15a874 100644
--- a/sw/demo1/README.md
+++ b/sw/demo1/README.md
@@ -2,3 +2,17 @@ demo1 example
=============
See examples in https://github.com/stm32-rs/stm32f1xx-hal/tree/v0.5.3/examples
+
+Programming
+-----------
+
+Put target in reset
+
+ openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg
+
+ cargo run
+
+Deassert RESET
+
+ gdb% load
+ gdb% cont