![]() ![]() In Windows 7, you had to manually install the Mbed serial driver to enable the serial port. You should always start with our article on fault finding that covers common issues like USB cables not working. There are some cases in which the driver being missing (Windows 7) or a legacy driver being present (Windows 8.1+) could cause an issue with the serial function or with WebUSB. When connecting the micro:bit to a computer, it will automatically install a driver to your machine that enables it to communicate as a serial device via USB. but the other problems remain.Solution home Software (editors and apps) Errors & Troubleshooting micro:bit does not connect in Windows ![]() I guess it could be possible to relay the MSC protocol commands (the USBC - data - USBS packets) to the other USB port, which would make the overall software implementation easier. any kind of USB device(s) can be connected to the external port(s), including more hubs, and you have zero trouble with your MCU software. ![]() The benefit is that your product is then standard, e.g. It'll work, at least with Linux and older Windows kernels.īut if you just want to have a simple USB port on the side of your keyboard, and you don't have any extra requirements (such as the keyboard being able to read the USB flash memory without the PC), then just grab a USD0.3 USB hub IC, put it on the same PCB, wire one of the ports to your microcontroller and the other(s) to external connector(s) in your product. You can do this if you have another USB host port in your MCU: write USB host code that communicates with the USB flash stick (or even a totally different memory device such as SD card) and relay the block read and write commands between your composite interface and the other memory device. You cannot just relay them to another USB port byte by byte since the interface descriptors are (almost certainly) different. The second problem is that if you declare a mass storage device as part of your composite device descriptor, then your microcontroller code must handle the mass storage device requests. I have no idea why - perhaps someone can educate me? They worked fine in Windows 2000 and Windows XP, but not so much anymore. There's a ton of problems today with communicating with composite mass storage endpoints. The first is that Windows doesn't like them any more. ![]() I've made many such composite devices (HID + mass storage) earlier, but not anymore. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |