Why not use the libraries for which you already have a working solution?
Any specific reason you want to reimplement the USB communication manually?
Cheers,
_
Why not use the libraries for which you already have a working solution?
Any specific reason you want to reimplement the USB communication manually?
Cheers,
_
Qt is not a magic - Qt is C++ library. So take Qt and "some USB libraries" and all.
After 3 weeks reading about USB communication, doing Qt tutorials and understanding some examples with libusb library, I finally got the USB communication PC <-> MCU. In the PC I use Qt to do my GUI and in the MCU (STM32F4) I use Coocox. Qt and Coocox are open source software.
For the beginners like me, some tips:
- Qt course from VoidRealms in Youtube: https://youtu.be/6KtOzh0StTc
He has more than 100 video-tutorials. I learnt a lot with this videos!!!!!
- Some examples using libusb and Qt (thanks google to help me to translate them):
1. Japanese tutorial about libusb-win32 and Qt: http://www.cnblogs.com/lknlfy/tag/US...D%A6%E4%B9%A0/
2. Russian tutorial also about libusb-win32 and Qt. You can download the files and see how they read signals from MCU: http://we.easyelectronics.ru/khomin/...n-proekta.html
3. Example "STM32 LibUSB & Qt example" in youtube. It is only to understand the concept, but you do not have all the code: https://youtu.be/EoE8QPeApxk
4. The example from the libusb-win32 library, bulk.c.
- About USB Theory, there are a lot of information in Internet. My recommendation:
1. Embedded USB, a brief tutorial: http://www.computer-solutions.co.uk/...b_tutorial.htm
2. USB made simple: http://www.usbmadesimple.co.uk/
3. USB in a NutShell: http://www.beyondlogic.org/usbnutshell/usb1.shtml
4. USB Standard Site: http://www.usb.org/home
- I've got a couple of books from the library (sorry, in German):
1 . Messen und Steuern, USB und C++ (with some Qt examples)
2. USB 2.0, Handbuch für Entwickler.
Note:
@anka_skoa. Thanks for your help. The problem was, I did not know, how to implement the libraries with a USB solution. But now I know how to do it. You can close the post.
@Lesiok , I know Qt is not a magic. I only needed some help to start with it, because I am a beginner not an advanced user like you
Regards,
Vero
Hi Lesiok,
I know Qt is not a magic, but I am a beginner and not an advanced user like you. I only needed some help to understand how Qt is working with the USB libraries.
Now I got it, after 3 weeks looking for the information in internet, doing some Qt video tutorials and reading some USB communication books.
I would like to tell you thank you, but you were not helping me.
USB communication is not easy and there are not a lot of examples for the beginners like me. The USB 2.0 specification has 650 pages!!!!
There are also not information how to get working the USB libraries inside Qt.
My recommendations to help someone are:
- Video-Tutorials in youtube to learn Qt: https://youtu.be/6KtOzh0StTc
- Examples to work with Qt and libusb (thanks google to help me to translate them!!!):
1. Japanese tutorial: http://www.cnblogs.com/lknlfy/tag/US...D%A6%E4%B9%A0/
2. Russian tutorial with Code: http://we.easyelectronics.ru/khomin/...n-proekta.html
3. Video example STM32, libusb & Qt (it is not complete, because you do not have all the code. But you can have the idea, how is working): https://youtu.be/EoE8QPeApxk
- Internet USB Information:
1. USB made simple: http://www.usbmadesimple.co.uk/
2. Embedded USB - a brief tutorial : http://www.computer-solutions.co.uk/...b_tutorial.htm
3. USB in a Nutshell: http://www.beyondlogic.org/usbnutshell/usb1.shtml
- I read some german books about USB:
1. Messen und Steuern mit USB und C++ (with some Qt examples).
2. USB 2.0, Handbuch für Entwickler.
Regards
Vero
Bookmarks