I have a board based on stm32f103cb with a USB connection in CDC device mode to connect with PC.
On windows 10 this board is recognized as a virtual com port but in windows 7 it is not.
I used Keil IDE and CMSIS library to configure the project.
One pin is defined as output to connect USB D+ pin via a resistor to 3.3V.
I installed STM32 USB Virtual COM port driver Win7 but anyway it is not working.
Windows 7 throws error code 29.
Any ideas or info very much appreciated.
Related
I have a fingerprint sensor that's connected to my computer via a USB to TTL module containing a Silicon Labs CP2102 chip. What's the best way to integrate a COM port connection into the Windows Biometric Framework? The sample USB driver UMDF code is rather useless to me at the moment.
Also, can I load an unsigned or uncertified driver to test Windows Hello for my sensor?
Is this possible? Plug STM board into local USB port, configure sharing device under Remote Desktop settings ("Local Resources > More"), then remote into PC running STM debug software and try to access board through ST-LINK via shared USB port? When I try, the software doesn't see the device.
This sort of thing works with other shared devices (drives, etc), but the STM software doesn't see this particular device. The device is visible locally before I open remote desktop.
Your apprach is wrong.
Connect the STM on the target machine. Run OpenOCD on that machine and connect via TCP from your local machine.
It is called remote debugging.
No USB magic
I have a STM32373c-eval board and just getting started.
I have installed Truestudio, CubeMX and ST flash utility on my ubuntu 16.04 cause I don't have access to Keil or a Windows PC.
Using CubeMX I generated a code for LED toggle and it worked fine.
Now I did the same for USB CDC - checked the Device(FS), RCC clock at High Speed (Crystal) and
under Middlewares I have set Communication Device Class (COM Port) for Class For FS IP and USB clock is at 48Mhz.
I did no modifications in the generated code just flashed it and connected the kit to my Ubuntu alas I don't see the enumeration.
I also checked for any jumper settings for USB but there ain't any.
Can any one help me out in this regard?
Thanks.
I am wondering if it is possible to emulate a windows 10 pc as a usb slave (client device) through a type-c connector when connecting to another PC/MAC(or even a cell phone), to be a usb storage device or HID etc.
You would have to have:
PC that has USB device mode controller
Windows 10 device mode driver - this resource, should be good starting point for looking into this further.
I want to communicate to halios system(hardware) through usb port. I have a code which shows that the device is attached. I used USBTrace which shows that how many bytes are going in and out from the device to the host. But I do not know how to implement this is vc++2008 and by using windows xp.
If this is an evaluation board for an Elmos optical sensor IC I would guess that a USB to serial converter is involved. You could confirm this by watching Windows Device Manager for a new COM port appearing when you attach the device.
If that's the case you can use Basic example of serial communication with Windows XP/win32 but you may need to contact Elmos for the command protocol.