Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Set up problems with Qt for STM32 (Windows)
Forum Update on Monday, May 27th 2025

Set up problems with Qt for STM32 (Windows)

Scheduled Pinned Locked Moved Installation and Deployment
13 Posts 2 Posters 11.3k 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.
  • M Offline
    M Offline
    marieausparis
    wrote on 12 Jan 2015, 16:57 last edited by
    #1

    hey everybody,

    first of all, i am really very new to the topic, i am sorry...

    i am trying to set up Qt in windows to program a stm32f4 with it. at the moment i have the following items installed:

    • Qt Creator 3.3.0 (opensource), Based on Qt 5.4.0 (MSVC 2010, 32 bit), Built on Dec 8 2014 at 15:24:21, Revision d36c4d87db

    • gcc-arm-none-eabi-4_9-2014q4-20141203-win32 (trying to use gcc as compiler and gdb as debugger, however, i don´t know how to get it python enabled and if this is necessary as the how to build a toolchain pdf doesn´t say anything about windows)

    • STM32 ST-LINK Utility_v3.5 (do i need it?)

    • openocd-0.8.0 (how do i connect it to the rest? i followed http://hertaville.com/2012/09/16/part-3-debugging-openocd-0-6-0/ to install it but got an error instead of figure 5 so didn´t continue)

    • cmake-3.1.0-win32-x86 (do i need it?)

    • minGW (do i need it? how do i connect it?)

    • STM32F4Discovery Firmware package

    • GNU Make for windows 3.81

    i set up the toolchain as described here: http://hertaville.com/2012/05/28/gcc-arm-toolchain-stm32f0discovery/

    could you help me telling me what is still missing and what i don´t need and especially how to connect things together? or would you recommend me to change my operating system to ubuntu to make things easier?

    i tried to configure a kit in Qt already (using gcc and gdb as written above) and with the bare metal plugin, however if i want to select the built kit in projects -> add kit, it doesn´t appear in the list...

    thank you, i appreciate a lot your help!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Subst27
      wrote on 12 Jan 2015, 17:35 last edited by
      #2

      Hi!

      It's no so trivial :)

      You need the template project for arm
      You can get it from link below
      https://github.com/gorthauer/te-stm32f407-qbs-template

      open qbs file as project and work with it.

      I can give you link to interest article about this theme but it in Russian.

      I've made all as described in it, and so fine except that no time to write real project.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        marieausparis
        wrote on 13 Jan 2015, 08:56 last edited by
        #3

        hey Subst27,

        thanks a lot for that fast answer! i just downloaded the template but still cannot select my kit in projects as it does not appear in the list.
        unfortunately, i do not speak any russian, but could you still give me the link and i try with google translate or something?
        if you could tell me which tools you installed would be great, too.
        just any help would be great, i really need to get this working... ;-)

        thanks!

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Subst27
          wrote on 13 Jan 2015, 14:29 last edited by
          #4

          well.

          I just comed home. A little time latter I'll try to explain in details how to it works.

          right noe there are to links about this theme
          http://m.habrahabr.ru/post/222877/

          http://we.easyelectronics.ru/STM32/razrabotka-dlya-stm32f4discovery-s-pomoschyu-mbed-v-qtcreator.html

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Subst27
            wrote on 13 Jan 2015, 15:42 last edited by
            #5

            well
            first u need

            https://launchpad.net/gcc-arm-embedded/4.9/4.9-2014-q4-major/+download/gcc-arm-none-eabi-4_9-2014q4-20141203-win32.zip

            are u download it?

            1 Reply Last reply
            0
            • M Offline
              M Offline
              marieausparis
              wrote on 14 Jan 2015, 19:05 last edited by
              #6

              sorry, i am very sorry, i checked many times whether you answered, but somehow i didn´t see your posts till now! i am so sorry!

              thanks for the links and everything first of all.

              yes, i have downloaded this, however, till now i used the .exe version for installation, but it is the same version... i installed gcc and gnu make according to: http://hertaville.com/2012/05/28/gcc-arm-toolchain-stm32f0discovery/ what do you think?

              and i installed openocd and winusb according to: http://hertaville.com/2012/09/16/part-3-debugging-openocd-0-6-0/

              but if i want to debug i always get this error output for the openocd: undefined debug reason 7 - target needs reset, as described here: http://forum.sysprogs.com/viewtopic.php?f=5&t=3318 , but the solution of this page doesn´t help me.

              do you have any idea or could you tell me how you installed everything and which versions? would be so awesome!

              thank you

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Subst27
                wrote on 15 Jan 2015, 01:55 last edited by
                #7

                that's all right. Don't warry
                Wait for some time, plz. Now the morning here and so busy day today. I'll write u evening.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Subst27
                  wrote on 15 Jan 2015, 12:38 last edited by
                  #8

                  Hi again!

                  http://disk.tom.ru/pryls2u

                  look the link. The frst file is a video from my computer where I make settings for Stm32 programming.

                  Second file is archive with stm32 project template

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    marieausparis
                    wrote on 15 Jan 2015, 13:48 last edited by
                    #9

                    hi,

                    thank you so much for all the effort even doing a video! i checked my settings and that way confirmed that everything was right there/changed the gcc to the same one you are using and i made it! telnet communication was deactivated by default, now i activated it and it works!

                    thanks a lot again!

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Subst27
                      wrote on 15 Jan 2015, 14:00 last edited by
                      #10

                      telnet communication
                      where?

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        marieausparis
                        wrote on 16 Jan 2015, 15:38 last edited by
                        #11

                        if you open the programs and functions window, there is a link to "activate or deactivate" windows-functions". if you click there, a new window appears and there you can activate/deactivate telnet communication

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          Subst27
                          wrote on 16 Jan 2015, 17:29 last edited by
                          #12

                          :)
                          Windows component ?
                          It's funny I've seek it in creator and freeze myself

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            marieausparis
                            wrote on 19 Jan 2015, 10:57 last edited by
                            #13

                            ? sorry what do you mean, I don´t get it

                            1 Reply Last reply
                            0

                            1/13

                            12 Jan 2015, 16:57

                            • Login

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