Using STM32F4 Discovery board with generate project using TrueStudio. Use WINUSBNET library from to create simple echo test program using Visual Studio with C# WinForm Create STM32F4 WinUSB example Create Echo Test Win Form program using WINUSBNET library Only Windows 7 and before need install driver. The inf file need to match the VID, PID, and DeviceInterfaceGUID of the USB device. Create Windows 7 DriverĬreate my_winusb.inf using DeviceInterfaceGUID as described previously. The DeviceInterfaceGUID is written into both OSStringPropertyDescriptor and INF file. ![]() ![]() Convert CDC USB device to WINUSB deviceĬhange source code of USB library. Using STM32F072 Discovery board Implement echo functionĬhanges of usbd_cdc_if.c and main.c to implement simple echo function. Create STM32 USB CDC device using CubeMX. ![]() Also with Microsoft OS String Descriptor, no need to install WINUSB driver for Windows 10. "CDC" name will be retained in order to show the differenece. This will change the source code of CDC USB HAL library. This project show the steps to convert STM32 USB CDC to WINUSB Device with HAL library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |