Thanks, I’ll try.



Andrei Zinenko
RT Embedded Software Engineer

Tel: (972) 4-8500499

Mobile: (972) 52-3756150


From: asier []
Sent: Friday, December 20, 2013 11:39 AM
To: [gnuarmeclipse:support-requests]
Subject: [gnuarmeclipse:support-requests] #34 Help need to configure build and debug in eclipse


New gdb servers form Attolic TrueStudio are protected to use only with original application.. The last version that works outside TrueStudio is ST-LINK_gdbserver.exe ver. 1.4.1 extracted from TrueStudio ver. 2.3.0.

[support-requests:#34] Help need to configure build and debug in eclipse

Status: accepted
Created: Wed Dec 18, 2013 03:34 PM UTC by Andrei Zinenko
Last Updated: Wed Dec 18, 2013 04:59 PM UTC
Owner: Liviu Ionescu (ilg)

I use the next set:
Eclipse CDT Kepler(last one - 8.2.1...)
Tool Chain GNU Tools for ARM Embedded Processors (last one - 4.7 2013q3 )
GNU ARM Eclipse Plug-In ( last one - 1.1.6...)

Try to do do:
1. Create C project
2. Executable -> STM32F10x StdPeriph Lib v3.5 C Project -> Cross ARM GCC
3. GNU Tools for ARM Embedded Processors (arm-none-eabi-gcc)
4. C:\Program Files (x86)\GNU Tools ARM Embedded\4.7 2013q3\bin
5. Finish

1.      Build -> OK

2.      Use ST-LINK_gdbserver.exe from latest Atollic Studio instalation

  1. Run ST-LINK_gdbserver.exe

Atollic TrueSTUDIO gdbserver for ST-Link. Version 1.8.0 Pro
Copyright 2010-2013, Atollic AB.

Starting server with the following options:
Persistant Mode : Enabled
LogFile Name : debug_log.txt
Logging Level : 31
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled

Connecting to the ST-Link Debugger... OK
Waiting for debugger connection...

Is this OK?

Next Debug Configuration:

1.      GDB Command: C:\Program Files (x86)\GNU Tools ARM Embedded\4.7 2013q3\bin\arm-none-eabi-gdb.exe

2.      Standard -> Use Remote target -> Generic TCP/IP -> 61234 -> GDB(DSF) Hardware Debb..

  1. Press Debug.
  2. Variant errors:

Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:61234

Waiting for debugger connection...Error while waiting for debugger connection, error 37.
Shutting down...
Debugger connection lost.
Shutting down...

The program is not being run.

symbol-file D:\Eclipse\try8\Debug\try8.elf
load D:\Eclipse\try8\Debug\try8.elf
You can't do that when your target is `None'
tbreak main
Cannot access memory at address 0x800038e
The program is not being run.

How to configure my system to have DEBUG work?

Sent from because you indicated interest in

To unsubscribe from further messages, please visit