Skip to content

Instantly share code, notes, and snippets.

@miettal
Created October 11, 2014 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miettal/eb1b531b98585f4498c6 to your computer and use it in GitHub Desktop.
Save miettal/eb1b531b98585f4498c6 to your computer and use it in GitHub Desktop.
libopencm3-examples_test
miettal@Hiromasa-no-MacBook-Air [09:51:42] [~/libopencm3-examples/examples/stm32/f4/stm32f4-discovery/button] [master *]
-> % /opt/sat/bin/openocd -f /opt/sat/share/openocd/scripts/board/stm32f4discovery.cfg
Open On-Chip Debugger 0.6.1 (2014-10-09-07:22)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
adapter speed: 1000 kHz
srst_only separate srst_nogate srst_open_drain
Info : clock speed 1000 kHz
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : accepting 'telnet' connection from 4444
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc
auto erase enabled
Info : device id = 0x10016413
Info : flash size = 1024kbytes
target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x20000042 msp: 0xfffffffc
wrote 16384 bytes from file button.hex in 0.841731s (19.008 KiB/s)
miettal@Hiromasa-no-MacBook-Air [09:54:13] [~/libopencm3-examples/examples/stm32/f4/stm32f4-discovery/button] [master *]
-> % telnet localhost 4444
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
>
> reset halt
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080004b8 msp: 0x20020000
> flash write_image erase button.hex
auto erase enabled
target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x20000042 msp: 0x20020000
wrote 16384 bytes from file button.hex in 0.801347s (19.966 KiB/s)
> reset
> exit
Connection closed by foreign host.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment