aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorUwe Hermann2009-07-18 06:18:43 +0200
committerUwe Hermann2009-07-18 06:18:43 +0200
commitd43224acfbb31e23c2b3a6b7ea38626a7d4fbe21 (patch)
tree0038efd44f55babc133233327dafce986aeee6e0 /example
parent915d5bff90c86e1c8c072b0f13177f82283f3883 (diff)
Update example application README wrt flashing instructions.
Diffstat (limited to 'example')
-rw-r--r--example/README9
1 files changed, 7 insertions, 2 deletions
diff --git a/example/README b/example/README
index bc9ff87..a46e75a 100644
--- a/example/README
+++ b/example/README
@@ -32,11 +32,16 @@ Flashing
You can flash the generated code on the STM32-H103 board using OpenOCD:
- $ openocd -f /usr/share/openocd/scripts/interface/jtagkey-tiny.cfg \
- -f /usr/share/openocd/scripts/board/olimex_stm32_h103.cfg
+ $ make flash
+
+Or you can do the same manually via:
+
+ $ openocd -f interface/jtagkey-tiny.cfg -f board/olimex_stm32_h103.cfg
$ telnet localhost 4444
> init
> reset halt
> flash write_image erase blink.bin 0x08000000
> resume 0x08000000
+Replace the "jtagkey-tiny.cfg" with whatever JTAG device you are using.
+