[SOLVED] USB Serial not working on Maple Mini?

Nutsy
Thu Sep 27, 2018 11:23 am
Hi So ive just realised ive not actually used the maple mini on the pc before… I was on a mac before…

And I cant get usb serial to work at all…

After several attempts i did manage to get the DFU driver to install and I can program the mini (as long as i hit the reset button just before upload starts)
But there is no com port shown, and serial monitor wont connect to anything.

On rare occasions a com port might appear, but will quickly disappear as well.

I installed the Maple serial via the INF, (i did try the batch file before on the dfu installer)

What am i doing wrong?


stevestrong
Thu Sep 27, 2018 11:31 am
Check the device manager.
If you have an unidentified USB device, then the serial driver is not installed correctly.
Which OS? Which IDE? Versions?
Which upload method?
Have you tried the simple blinky sketch with serial output?

Nutsy
Thu Sep 27, 2018 11:33 am
win10pro, ide 1.8.5

Nope, no driver not isntalled errors… Maple DFU shows under libusb-win32 devices in the device manager


stevestrong
Thu Sep 27, 2018 11:36 am
If you don’t use USB serial in your code, the automatic reset feature cannot work.

Nutsy
Thu Sep 27, 2018 11:50 am
Usb serial is “serial” isnt it? not serial1, serial2…..

stevestrong
Thu Sep 27, 2018 12:27 pm
USB serial = Serial

Nutsy
Thu Sep 27, 2018 12:57 pm
Yeah just wanted to double check… And no it didnt work…

The serial port does show on first boot after upload. But if i reset the maple after it returns to maple dfu and the com port disappears.


stevestrong
Thu Sep 27, 2018 1:07 pm
Be sure that both BOOT0 and 1 are connected to GND.
The bootloader was changed lately to keep in DFU mode when BOOT1 is tied to 3.3V. So BOOT1 may not even float.

Nutsy
Thu Sep 27, 2018 1:49 pm
This is with the maple mini… theres no boot jumpes?

stevestrong
Thu Sep 27, 2018 2:10 pm
Right. But look for PB2/BOOT1 here: http://wiki.stm32duino.com/index.php?ti … Pinout.svg
Don’t let it float, it must be connected to GND, directly or via a resistor.

I think this was the main reason I mostly avoid using this board, because it has this restriction.
Although one could flash a special bootloader version with activated pull-down resistor on PB2, which would avoid the extra connection.


Nutsy
Thu Sep 27, 2018 2:33 pm
actually it turns out… it might not have been any of this at all…

But windows 10 doing something funky with USB ports…. I tried a different port and it works perfectly… Ive had this happen before with a blue tooth dongle, where it would stop pairing or seeing any other devices…

Sorry to have given you the run around


Leave a Reply

Your email address will not be published. Required fields are marked *