chipKIT® Development Platform

Inspired by Arduino™

Windows doesn't recognize Fubarino mini

Created Sun, 11 May 2014 12:20:16 +0000 by sfugarino


sfugarino

Sun, 11 May 2014 12:20:16 +0000

Out of the blue Windows 7 64bit no longer recognizes my Fubarino mini. The weird thing is, when in programming mode it does. The problem happens when it is not in programing mode. I can firmware, but once out of program mode the drivers won't load. Windows sees a new device, but can't load a driver for it. I also have a Fubarino SD that exhibits the similar behavior, except when plugged in and not in programming mode, Windows doesn't even indicate a new device. I have a Uno32 and it seems to work correctly.

This just started happening I had my mini plugged in with the serial monitor open. Messages written to the usb serial port were displayed. Put in in program mode reloaded my program and no serial port was shown in the menu. Unplugged the usb and plugged it back in and window gave me a balloon message saying it couldn't recognize the device. Put it back in program mode, windows loads the drivers. I rebooted, but that didn't help.


EmbeddedMan

Sun, 11 May 2014 13:19:31 +0000

Wow. I've never heard of this happening before. The driver we use for when in bootloader mode is exactly the same as the driver needed when your sketch uses the Serial object (which triggers the compiler to add the USB stack to your sketch).

I wonder if somehow something got corrupt in your install of MPIDE? Try downloading a fresh copy, and extract it to a different location, and try some of the simple sketch examples that use Serial.

The UNO32 uses the FTDI USB to UART chip, so it's a completely different beast where USB is concerned. Fubarino SD and Mini use the built-in USB an do the serial emulation (USB CDC ACM) in the sketch itself.

*Brian


sfugarino

Sun, 11 May 2014 18:10:22 +0000

I switched USB ports to cause the drive to reload. When I plug the mini in Windows goes through it's driver installation routine and ends up saying it can't find a driver. It shows as an unknown device under the usb node in device manager. Putting it in programing mode causes Windows to see it and load the driver for chipKit USB Serial (Stk500v2 compatible) Serial port.

With my SD, unless I put it in programming mode nothing happen when I plug it in except power is supplied to the board. I haven't even soldered the headers on the SD and it has been kept in a static protected bag.

I did System restore with no success.


majenko

Sun, 11 May 2014 18:16:08 +0000

The SD won't be seen in non-programming mode unless you are actively using the Serial port (i.e., having Serial.begin(...) in your sketch).

The mini is the same, but it sounds like you had something using serial on it, but now it's not working right.

What version of the IDE are you using? Have you tried downloading and using the latest test version? Did you update MPIDE shortly before the problems started?


sfugarino

Sun, 11 May 2014 19:05:16 +0000

I went into device manager while the mini was in programing mode and had windows uninstall the driver with the remove software checkbox checked. Unplugged the mini and reinstalled the chipKit drivers. now the mini works like the sd.

majenko is correct. I created a blank sketch with just Serial.begin in the setup function. Things are back to normal, I just need to figure out what is causing the problem in my old sketch. I left out some detail. The sketch was using Serial0 to read an Adafruit GPS...found the problem, everyone is happy in Samland.

Thanks for the help!


majenko

Sun, 11 May 2014 19:08:02 +0000

There is a problem in an older version of MPIDE that causes the board to lock up if you use more than one serial port. Could that be your problem?


sfugarino

Sun, 11 May 2014 19:38:46 +0000

That might be it. I was connecting to a GPS on serial0. Had a timer interrupt that was firing every millisecond that caused a read.