Eclipse doesn't send halt to GDB stm32F1 project (SOLVED) [message #1753493] |
Tue, 07 February 2017 07:54 |
Alexander Shuklin Messages: 3 Registered: February 2017 |
Junior Member |
|
|
Good day,
I updated eclipse to Neon.2 Release (4.6.2), CDT and gnuarmeclipse to latest build. And now when I debug stm32f1x project, I can't pause program executing. But when I connect via telnet to openocd, if i write halt, program suspends. So, it looks like, that eclipse doesn't send halt command to openocd.
Can you advice me, where to look at t fix it?
[Updated on: Thu, 09 February 2017 11:41] Report message to a moderator
|
|
|
|
Re: Eclipse doesn't send halt to GDB stm32F1 project [message #1753709 is a reply to message #1753636] |
Thu, 09 February 2017 08:16 |
Alexander Shuklin Messages: 3 Registered: February 2017 |
Junior Member |
|
|
Hi Alex,
thanks for answer.
A)
1. there no something like main() { while(1); }
2. Everything else work fine (step, set BPs, run), but it can't create BP after I run program. But maybe, because it can't halt core.
B)
when I start openOCD and GDB manualy from console it works fine and CTRL+C pause program.
I'm not sure if I can pass CTRL+C from debugger console in eclipse.
1. I did -d 3 in config options and now have a lot of debug information, but completely nothing happens when I click pause
2. I can't see "Log file" field in openOCD setup pages, or i shoud use some linux ">" stream operator? Anyway, I see debug information in console and when I click pause, nothing happens
3. Can you please tell more, how to get to GDB traces?
4. There's my Eclipse LOG
Quote:
!SESSION 2017-02-09 11:13:32.585 -----------------------------------------------
eclipse.buildId=4.6.2.M20161124-1400
java.version=1.8.0_121
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=ru_RU
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product
!ENTRY org.eclipse.launchbar.core 2 0 2017-02-09 11:13:42.291
!MESSAGE Enablement expression is missing for descriptor type org.eclipse.cdt.debug.core.coreBuildDescriptorType
!ENTRY org.eclipse.launchbar.core 2 0 2017-02-09 11:13:42.294
!MESSAGE Enablement expression is missing for config provider for org.eclipse.cdt.debug.core.coreBuildDescriptorType
!ENTRY org.eclipse.launchbar.core 2 0 2017-02-09 11:13:42.328
!MESSAGE Enablement expression is missing for config provider for org.eclipse.cdt.arduino.core.descriptorType
!ENTRY org.eclipse.cdt.dsf 4 10005 2017-02-09 11:14:26.360
!MESSAGE Request for monitor: 'RequestMonitor (org.eclipse.cdt.dsf.concurrent.RequestMonitor@1e457d63): Status ERROR: org.eclipse.cdt.dsf.gdb code=10004 Suspend operation timeout. null' resulted in an error.
!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2017-02-09 11:14:26.360
!MESSAGE Suspend operation timeout.
[Updated on: Thu, 09 February 2017 08:17] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04706 seconds