Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Connecting to Bare Metal Device using Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Connecting to Bare Metal Device using Qt Creator

Scheduled Pinned Locked Moved Qt Creator and other tools
7 Posts 2 Posters 4.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Josef_R
    wrote on last edited by
    #1

    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-run

    143^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

    1 Reply Last reply
    0
    • O Offline
      O Offline
      OlegTrofimov
      wrote on last edited by
      #2

      For Project-file you using QBS?

      1 Reply Last reply
      0
      • O Offline
        O Offline
        OlegTrofimov
        wrote on last edited by
        #3

        For Project-file you using QBS?

        1 Reply Last reply
        0
        • O Offline
          O Offline
          OlegTrofimov
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • O Offline
            O Offline
            OlegTrofimov
            wrote on last edited by
            #5

            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.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              Josef_R
              wrote on last edited by
              #6

              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.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                Josef_R
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved