Yes, I can’t start debug. I did’t know about Atollic. Try CooCox GDB and get this:


Error: Invalid argument

usage:C:\CooCox\CoIDE\bin\gdbserver.exe target.ini



Andrei Zinenko
RT Embedded Software Engineer

Tel: (972) 4-8500499

Mobile: (972) 52-3756150


From: Liviu Ionescu (ilg) []
Sent: Wednesday, December 18, 2013 6:10 PM
To: [gnuarmeclipse:support-requests]
Subject: [gnuarmeclipse:support-requests] #34 Help need to configure build and debug in eclipse



I'm having difficulties to understand your request. It looks like you successfully built the executable, but have difficulties to start the debug session.

Is this correct?

The current version of the plug-in handles only the managed build part of the game, so if the executable is there, the plug-in cannot be of more help.

As far as I know, the 'Atollic TrueSTUDIO gdbserver for ST-Link', does not work outside Atollic.

Could you try another GDB server? For example the Coocox GDB server for ST? Or the open source st-util recommended at

[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 03:34 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