![]() Global variables use 3088 bytes (15%) of dynamic memory, leaving 17392 bytes for local variables. Is there any way at all to write code to the board? Why is this so damn difficult? Sketch uses 13716 bytes (20%) of program storage space. There is no value to select in the Arduino IDE for ports, and the IDE says STLINK not found. So now I just want to upload with STLINK, but I can't do that either. Am I just doomed to have to use the ST-Link to do code uploads? I might add that I have spent around 6-8 hours trying to figure this out on my own, so I have searched pretty much everything on Google and read anything I thought might be pertinent, so advice would be much appreciated. When I attempt to re-install the drivers, Windows tells me the 'best driver for your device is already installed' and 'Windows has determined the driver software for your device is up to date'.Ĭan anyone tell me what is going on. However I get the attached (screenshot) error when attempting to upload from the Arduino IDE. Under ports in device manager I get 'USB Serial Device (COM7)' with no error. Under ports in device manager I get 'USB Serial Device (COM7)' with an error 'This device cannot start. Under USB Controllers I get 'Unknown USB Device (Device Descriptor Request Failed). Below are three things that happen seemingly randomly when I connecting to USB. Now I get extremely strange inconsistencies when connecting the board to my Windows 10 圆4 Intel PC. ![]() I had no luck flashing the USB bootloader with a cheap USB to TTL but I was able to connect with an ST-Link and successfully flashed the generic_boot20_pc13.bin file. Anyway I thought I would purchase a couple maple mini boards from eBay. I am completely new to Arduino, although I have some experience flashing STM32 chips (I was able to fix an F4 flight controller and a Matek Sys video transmitter with burned out STM32 chips). ↳ STM boards (Discovery, Eval, Nucleo.↳ Let us know a bit about you and your projects.I apologize for the long message but I spent many hours trying to get this to work, since I have used libmaple for years without problems. Is there some issue with some USB chipsets and/or USB XHCI drivers under windows that make them unable to recognize the libmaple or STM32F1? My laptop has an NVIDIA USB chipset, and my tablet as an Intel USB chipset. It does not enumerate if I use the DFU bootloader, or if I directly write a sketch to the Bluepill that implements USB CDC serial so it should enumerate immediately as a USB CDC serial device, so I don't think it could be a problem with just the bootloader implementation. I can otherwise use the Bluepill ok by programming it over ST-LINK and seeing the output (for example of a Blink sketch) over the serial port using a USB serial dongle. I have tried it with the USB port providing power to the Bluepill and with an external 5V supply providing power to the Bluepill. I have tried it plugged into the computer itself, into a USB 3 hub, and into a USB 2 hub. I have verified that both boards have a 1.5k resistor to +3.3V of the USB+ line. ![]() On another Lenovo laptop and a Lenovo tablet, it says for both "The last USB you connected to this computer malfunctioned, and Windows does not recognize it." These show up in the device manager without any VID/PID. The other board I built myself also enumerates ok. For example, if I flash the DFU bootloader using a ST-Link on a new Bluepill board, it will be recognized as Maple DFU as shown in the device manager. So I can get the devices to be recognized on one particular Lenovo laptop most of the time. I am both using a commercially purchased Bluepill and one I designed and built myself so I know that I know it contains a real STM32F103CBT6: I am using Roger's (libmaple) DFU bootloader and the libmaple CDC serial USB drivers on a Bluepill board.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |