[Qt-creator] bare metal: target extended-remote?

Liam Staskawicz liam at stask.net
Sun Jul 20 18:32:27 CEST 2014

On Sun, Jul 20, 2014, at 06:20 AM, Tim Sander wrote:
> Hi Liam
> > I'm currently using Qt Creator for editing my embedded project,
> > but thought it might be convenient to try to debug with it as
> > well.
> Indeed :-)
> Be aware though that QtCreator only works with qmake and qbs as build
> system due to limitations in Generic/CMake - ProjectManager. But
> writing a qbs project file is pretty easy.
> > My debug hardware is a Black Magic Probe
> > ([1]http://www.blacksphere.co.nz/main/index.php/blackmagic)
> > which presents itself as a virtual serial device (CDC ACM) and,
> > unlike openocd, speaks to GDB directly without requiring any
> > other software running on the host. GDB provides the `target
> > extended-remote` option to "Use a remote computer via a serial
> > line".
> BareMetal Plugin of QtCreator currently uses only the non-extended
> but it should be easy to add the extended-remote stuff as QtCreator
> itself supports this.
> > In this case, I don't have a GDB host and port to enter into
> > the Bare Metal UI - just the path to the device in /dev. Is it
> > still possible to use the Bare Metal plugin in this case?
> Well currently it just supports pipe mode . So it start the gdb backend
> with
> network port which will not work.
> > If it's helpful, my .gdbinit looks like the following:
> > 
> > 
> > 
> >   target extended-remote /dev/tty.usbmodemDDD3DFD1
> > 
> >   monitor jtag_scan
> > 
> >   att 1
> Sounds reasonable but currently not supported. As i don't have the
> hardware i 
> can't test this. So you should be able to compile QtCreator and apply
> patches 
> to move forward. I guess it should be not to hard to get this up and
> running.
> Best regards
> Tim

Hi Tim,

Thanks for the quick response. I'm not sure I'll be able to work on this
in the immediate term, but I'll definitely send some patches if I find
some time to work on it.


More information about the Qt-creator mailing list