Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qtcreator 4.5.2 Ubuntu 18, Bare metal

Qtcreator 4.5.2 Ubuntu 18, Bare metal

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 3 Posters 1.0k Views
  • 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.
  • C Offline
    C Offline
    comarius
    wrote on last edited by
    #1

    I am following couple of links and I end up with no warnings and or errors in the whole setup process.
    When I start debugger noting happen.
    If I disable start openocd and I start it manually, i can connect to running gdb but all the breakpoints are all over the place.
    I have the screen shots posted here.
    What I am doing wrong

    Baremetal config

    6_1538498019058_qt-baremetal.png

    build and run config

    5_1538498019058_qt-debuger.png

    compiler config

    4_1538498019058_qt-compilers.png

    kits config

    3_1538498019058_qt-kits.png 2_1538498019058_qt-deb.png

    run as debug config selected last option
    1_1538498019058_qt-runsett.png

    debugging, starts & stops
    0_1538498019058_qt-start-finfished.png

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kuzulis
      Qt Champions 2020
      wrote on last edited by
      #2

      Use latest QtC

      1 Reply Last reply
      0
      • C Offline
        C Offline
        comarius
        wrote on last edited by comarius
        #3

        Updated form qt website. -> qt-unified-linux-x64-3.0.5-online.run

        At: http://doc.qt.io/qtcreator/creator-developing-baremetal.html
        Select Tools > Options > Devices > Add > Bare Metal Device > Start Wizard::
        there is no Start Wizard: ?!?!?!
        Though I pressed Add. and have what is already seen in first post

        then
        7. Select Projects > Build & Run and there is a picture there alt text
        Which mt IDE does not lead to same settings., anyway
        the add option (debug)

        0_1538666685315_31610873-f6e7-41cb-a6a5-24943d6946bb-image.png

        PRESS DEBUG
        11:35:03: Running steps for project s2w10lqt...
        11:35:03: Starting: "/usr/bin/make" all << why is starting this when
        make: Nothing to be done for 'all'.
        11:35:03: The process "/usr/bin/make" exited normally.
        11:35:03: Elapsed time: 00:00.

        Any workaround ?

        0_1538664462855_b5da973e-a8fb-4a10-b898-4274d060418e-image.png

        1 Reply Last reply
        0
        • C Offline
          C Offline
          comarius
          wrote on last edited by comarius
          #4

          SOLVED
          Finally got it to work.
          I installed st-util and used as a bare-metal device that instead OpenOCD,
          thuogh, I have to press Run and not Debug, with a breakpoint on main.

          With all the hassle I prefer to use Qt IDE (the only decent IDE that RUNS under Linux.)

          aha_1980A 1 Reply Last reply
          0
          • C comarius

            SOLVED
            Finally got it to work.
            I installed st-util and used as a bare-metal device that instead OpenOCD,
            thuogh, I have to press Run and not Debug, with a breakpoint on main.

            With all the hassle I prefer to use Qt IDE (the only decent IDE that RUNS under Linux.)

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi @comarius,

            glad you found a solution. So please mark this topic as SOLVED with the button "Topic Tools". Thanks!

            Qt has to stay free or it will die.

            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