Set up problems with Qt for STM32 (Windows)
-
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!
-
-
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-templateopen 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.
-
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!
-
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/ -
well
first u needare u download it?
-
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
-
Hi again!
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
-
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!
-
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
-
? sorry what do you mean, I don´t get it