Open On-Chip Debugger 0.8.0-dev-00003-g2a864a8-dirty (2013-05-06-19:35)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.htmlInfo : This adapter doesn't support configurable speed
Info : STLINK v2 JTAG v17 API v2 SWIM v4 VID 0x0483 PID 0x3748
Info : Target voltage: 3.224021
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : accepting 'gdb' connection from 3333
Info : device id = 0x10016418
Info : flash size = 256kbytes
Warn : acknowledgment received, but no packet pending
undefined debug reason 6 - target needs reset
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000220 msp: 0x20010000
semihosting is enabled
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000220 msp: 0x20010000, semihosting
i: 0, isquared: 0
i: 1, isquared: 1
i: 2, isquared: 4
i: 3, isquared: 9
i: 4, isquared: 16
i: 5, isquared: 25
i: 6, isquared: 36
i: 7, isquared: 49
i: 8, isquared: 64
i: 9, isquared: 81
i: 10, isquared: 100
Hello! What say, ye? (0 to exit) my name is inca
my
Hello! What say, ye? (0 to exit) name
Hello! What say, ye? (0 to exit) is
Hello! What say, ye? (0 to exit) inca
Hello! What say, ye? (0 to exit) 0
0
semihosting: *** application exited ***
Info : The target is not running when halt was requested, stopping GDB.
Info : The target is not running when halt was requested, stopping GDB.
Info : The target is not running when halt was requested, stopping GDB.
Info : The target is not running when halt was requested, stopping GDB.
Info : dropped 'gdb' connection
^C
# cat hello.txt
0, 0
1, 1
2, 4
3, 9
4, 16
5, 25
6, 36
7, 49
8, 64
9, 81
10, 100
my
name
is
inca
0