Update example application README wrt flashing instructions.
This commit is contained in:
parent
915d5bff90
commit
d43224acfb
@ -32,11 +32,16 @@ Flashing
|
|||||||
|
|
||||||
You can flash the generated code on the STM32-H103 board using OpenOCD:
|
You can flash the generated code on the STM32-H103 board using OpenOCD:
|
||||||
|
|
||||||
$ openocd -f /usr/share/openocd/scripts/interface/jtagkey-tiny.cfg \
|
$ make flash
|
||||||
-f /usr/share/openocd/scripts/board/olimex_stm32_h103.cfg
|
|
||||||
|
Or you can do the same manually via:
|
||||||
|
|
||||||
|
$ openocd -f interface/jtagkey-tiny.cfg -f board/olimex_stm32_h103.cfg
|
||||||
$ telnet localhost 4444
|
$ telnet localhost 4444
|
||||||
> init
|
> init
|
||||||
> reset halt
|
> reset halt
|
||||||
> flash write_image erase blink.bin 0x08000000
|
> flash write_image erase blink.bin 0x08000000
|
||||||
> resume 0x08000000
|
> resume 0x08000000
|
||||||
|
|
||||||
|
Replace the "jtagkey-tiny.cfg" with whatever JTAG device you are using.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user