Do I need to install gdb separatly for ChibiStudio?

Discussions and support about ChibiStudio, the free development environment for ARM.
Post Reply
fseuhs
Posts: 2
Joined: Thu Jun 11, 2015 9:53 am

Do I need to install gdb separatly for ChibiStudio?

Post by fseuhs »

I have downloaded the latest ChibiStudio. Opened the STM32F429 demo project.
Compilation worked without errors. After setting up a debug configuration, connecting the board, debugger start reports: "Cannot run program "gdb": Launching failed".
Manually searching for "gdb.exe" was not sucessful.
What is wrong? do I have to install the gdb.exe separate?

Regards F. Seuhs
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Do I need to install gdb separatly for ChibiStudio?

Post by Giovanni »

Hello,

The project should have already a debug configuration In ChibiStudio (see the ./debug directory inside the project, it is the .launch file).

If you need to create your own configuration then make sure to specify arm-none-eabi-gdb as debugger in the "debugger" tab. The GDB executable is present with that name.

Giovanni
fseuhs
Posts: 2
Joined: Thu Jun 11, 2015 9:53 am

Re: Do I need to install gdb separatly for ChibiStudio?

Post by fseuhs »

Hello Giovanni,
thank you for your answer, the debugger starts now!
I don't really know what I made wrong the first time I tried, and made my own debug configuration.
Maybe starting ChibiStudio again with the opened project, the project launch was found.

But the next problem after loading:

symbol-file C:\\ChibiStudio\\chibios3\\demos\\STM32\\RT-STM32F429-DISCOVERY\\build\\ch.elf
Open On-Chip Debugger 0.9.0-dev-00268-ga9c90a0 (2015-02-08-10:38)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
monitor reset run
"monitor" command not supported by this target.
monitor delay 1000
"monitor" command not supported by this target.
monitor halt
"monitor" command not supported by this target.
set remotetimeout 20
monitor reset init
"monitor" command not supported by this target.
monitor sleep 50
"monitor" command not supported by this target.

What is the "monitor"? The USB-semihosting?

Thanks for your answer.
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Do I need to install gdb separatly for ChibiStudio?

Post by Giovanni »

"monitor" are commands sent directly to the GDB server, OpenOCD in this case, very strange because everything is supposed to work out of the box.

Are you launching ChibiStudio using the provided link or you launch directly Eclipse? you need to use the link because some PATHs are enforced before launching Eclipse.

Giovanni
Post Reply