Connecting to Bare Metal Device using Qt Creator
-
Hi,
I am trying to use Qt Creator as an IDE for developing software for the TI Tiva microcontroller. I use the TI Tiva C Series LaunchPad which has an integrated debugger that is suported by OpenOCD. I have set up a bare metal device and the arm-none GCC toolchain. After starting OpenOCD I can connect to the device using the option "Attach to remote debug server" and debug my program without any trouble. But when I use the "start debugging" option I am not able to connect to the device. The GDB log shows that running the program fails:
dCALL: RUN ENGINE
<143-exec-run143^error,msg="Don't know how to run. Try \"help target"."
dDon't know how to run. Try "help target".
dNOTE: ENGINE RUN FAILED
sRun failed.
dState changed from EngineRunRequested(7) to EngineRunFailed(8) [master]
dState changed from EngineRunFailed(8) to EngineShutdownRequested(20) [master]
dQUEUE: SHUTDOWN ENGINE("complete log":http://pastebin.com/WhtdaFBT )
So I am wondering why the "start debugging" option is behaving different from the "Attach to remote debug server" option and how I can fix this.
Thanks,
Josef -
For Project-file you using QBS?
-
For Project-file you using QBS?
-
This is example using stm32f4discovery, but its on Russian (google translator helps) "example...":http://we.easyelectronics.ru/STM32/razrabotka-dlya-stm32f4discovery-s-pomoschyu-mbed-v-qtcreator.html.
-
This is example using stm32f4discovery, but its on Russian (google translator helps) "example...":http://we.easyelectronics.ru/STM32/razrabotka-dlya-stm32f4discovery-s-pomoschyu-mbed-v-qtcreator.html.
-
Thanks for your reply. I used simple Makefiles.
If I remeber correct my problem (or at least one of the problems) had to do something with python support not beeing enabled in the gdb I used. Then I just used Qt-Creator for coding and for debugging the command line gdb which worked fine for me.
Maybe I will give it a try again with Qbs, but at the moment I have no project ongoing with the Ti Tiva.
-
Thanks for your reply. I used simple Makefiles.
If I remeber correct my problem (or at least one of the problems) had to do something with python support not beeing enabled in the gdb I used. Then I just used Qt-Creator for coding and for debugging the command line gdb which worked fine for me.
Maybe I will give it a try again with Qbs, but at the moment I have no project ongoing with the Ti Tiva.