Thank you Paul. Silly mistake saving the new config file to openocd 0.9
The result is almost there:
GNU ARM Eclipse 64-bits Open On-Chip Debugger
0.10.0-dev-00287-g85cec24-dirty (2016-01-10-10:13)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The
results might differ compared to plain JTAG/SWD
adapter speed: 2000 kHz
adapter_nsrst_delay: 100
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Started by GNU ARM Eclipse
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : clock speed 1800 kHz
Info : STLINK v2 JTAG v25 API v2 SWIM v14 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.238345
Info : stm32f7x.cpu: hardware has 8 breakpoints, 4 watchpoints
Info : accepting 'gdb' connection on tcp/3333
Info : device id = 0x10016449
Info : flash size = 1024kbytes
undefined debug reason 7 - target needs reset
stm32f7x.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800c3c0 msp: 0x20050000
semihosting is enabled
stm32f7x.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800c3c0 msp: 0x20050000, semihosting
stm32f7x.cpu: target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x20000046 msp: 0x20050000, semihosting
Warn : keep_alive() was not invoked in the 1000ms timelimit. GDB alive
packet not sent! (1324). Workaround: increase "set remotetimeout" in GDB
stm32f7x.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800c3c0 msp: 0x20050000, semihosting
stm32f7x.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800c3c0 msp: 0x20050000, semihosting
===== arm v7m registers
(0) r0 (/32): 0x00000000
(1) r1 (/32): 0x00000000
(2) r2 (/32): 0x00000000
(3) r3 (/32): 0x00000000
(4) r4 (/32): 0x00000000
(5) r5 (/32): 0x00000000
(6) r6 (/32): 0x00000000
(7) r7 (/32): 0x00000000
(8) r8 (/32): 0x00000000
(9) r9 (/32): 0x00000000
(10) r10 (/32): 0x00000000
(11) r11 (/32): 0x00000000
(12) r12 (/32): 0x00000000
(13) sp (/32): 0x20050000
(14) lr (/32): 0xFFFFFFFF
(15) pc (/32): 0x0800C3C0
(16) xPSR (/32): 0x01000000
(17) msp (/32): 0x20050000
(18) psp (/32): 0x00000000
(19) primask (/1): 0x00
(20) basepri (/8): 0x00
(21) faultmask (/1): 0x00
(22) control (/2): 0x00
===== Cortex-M DWT registers
(23) dwt_ctrl (/32)
(24) dwt_cyccnt (/32)
(25) dwt_0_comp (/32)
(26) dwt_0_mask (/4)
(27) dwt_0_function (/32)
(28) dwt_1_comp (/32)
(29) dwt_1_mask (/4)
(30) dwt_1_function (/32)
(31) dwt_2_comp (/32)
(32) dwt_2_mask (/4)
(33) dwt_2_function (/32)
(34) dwt_3_comp (/32)
(35) dwt_3_mask (/4)
(36) dwt_3_function (/32)
Info : halted: PC: 0x08008ee4
Info : halted: PC: 0x08008ee6
Info : halted: PC: 0x08008ee8
Info : halted: PC: 0x08008eea
Info : halted: PC: 0x08008eec
Info : halted: PC: 0x08008eee
Info : halted: PC: 0x08008ef2
Info : halted: PC: 0x08008ef4
Info : halted: PC: 0x08008f04
Info : halted: PC: 0x08008f06
Info : halted: PC: 0x08008f08
Info : halted: PC: 0x08008f0a
Info : halted: PC: 0x08008f0e
Info : halted: PC: 0x08008f10
Info : halted: PC: 0x08008f12
Info : halted: PC: 0x08008f14
Info : halted: PC: 0x08008f16
Info : halted: PC: 0x08008f1a
Info : halted: PC: 0x08008f1c
Info : halted: PC: 0x08008f1e
Info : halted: PC: 0x08008f20
Info : halted: PC: 0x08008f22
Info : halted: PC: 0x08008f24
Info : halted: PC: 0x08008f26
Info : halted: PC: 0x08008f28
Info : halted: PC: 0x08008f2a
Info : halted: PC: 0x08008f2c
Info : halted: PC: 0x08008f30
Info : halted: PC: 0x08008f32
Info : halted: PC: 0x08007254
Info : halted: PC: 0x08008f38
Info : halted: PC: 0x08008f3a
Info : halted: PC: 0x08008f3c
Info : halted: PC: 0x08008f40
Info : halted: PC: 0x08008f42
Info : halted: PC: 0x08008f44
Info : halted: PC: 0x08008f46
Info : halted: PC: 0x08008f48
Info : halted: PC: 0x08008f4a
Info : halted: PC: 0x08008f4c
Info : halted: PC: 0x080005a4
Info : halted: PC: 0x080005a8
Info : halted: PC: 0x080005aa
Info : halted: PC: 0x0800bdb4
----------------------------------------------------------------------------
GNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20151217-cvs
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Warning: the current language does not match this frame.
Temporary breakpoint 1, main () at main.cpp:359
359 pc.baud(115200);
No breakpoint number 3.
----------------------------------------------------------------------------------------------------------------
Debugging reaches the first line of main.cpp
Step over jumps off into another function: step over carries on through
that functions statements but does not return to main.cpp
So close!
It is a multi-threaded program: do I need any special settings?
Info : The selected transport took over low-level target control. The
results might differ compared to plain JTAG/SWD
Thank you for your help.
Kevin.
On 31/05/2016 5:57 AM, Paul Fertser wrote:
> Hello,
>
> On Mon, May 30, 2016 at 03:55:42PM +1200, Kevin & Pauline Gordon wrote:
>> C:\eclipse\openocd\0.10.0-201601101000-dev\bin>openocd -s scripts/ -f
>> board/st_n
>> ucleo_f7.cfg -c 'program program.bin reset exit 0x08000000'
> ...
>> embedded:startup.tcl:60: Error: Can't find board/st_nucleo_f7.cfg
>> in procedure 'script'
>> at file "embedded:startup.tcl", line 60
>> ------------------------------------------------------------------------------
>> Please advise how I can find line 60 and resolve this.
> You do not need to find line 60, the output says that it can't find
> board/st_nucleo_f7.cfg file in the scripts/ directory, please check
> filenames carefully.
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel