[Qt-creator] Fwd: Problems with debugging using QtCreator, QBS and BareMetal Plugin

Railway Coder railwaycoder at gmail.com
Sat Oct 25 21:32:00 CEST 2014

---------- Weitergeleitete Nachricht ----------
Von: "Railway Coder" <railwaycoder at gmail.com>
Datum: 25.10.2014 13:45
Betreff: Problems with debugging using QtCreator, QBS and BareMetal Plugin
An: <QBS at qt-project.org>, "qt-interest mailing list" <
Interest at qt-project.org>


I'm using Qt Creator with QBS for debugging embedded targets with the
BareMetal plugin.
This works fine until build process gets a bit more complex.

In old qbs file product type was

*type: ["application"]*

in that case, everything works fine. Build output is

*linking nrf51822_ble_nano_test.elf*

Uploading and debugging can be startet using the debug button.


I've added two rules for the new build process, which converts the output
file to hex
and then merge it with a second hex file. In that case product type needs
to be changed

*type: ["combHex"]*

build output:

*compiling main.cpp*

*linking nrf51822_ble_nano_test.elf*

*converting nrf51822_ble_nano_test.elf to nrf51822_ble_nano_test.hex*

*combining nrf51822_ble_nano_test.hex and
s110_nrf51822_7.1.0_softdevice.hex to nrf51822_ble_nano_test_combined.hex*

But now, debugging and uploading does not work anymore.
I only get the following popup when pressing the debug button.

[image: Inline-Bild 1]

It seems that BareMetal plugin does not recognize the target file anymore.
Is there any solution for this?

Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20141025/6ecaed8d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 31230 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20141025/6ecaed8d/attachment.png>

More information about the Qt-creator mailing list