Intro: Fixing the Mac Lilypad USB Serial Port/Driver Issue
Is your Mac less than 2 years old?
Have you recently upgraded to the newest OS (Yosemite or anything newer)?
Do your Lilypad USBs/MP3s no longer work?
My tutorial will show you how I fixed my Lilypad USBs.
The error I encountered was related to a serial port/driver issue. I spent at least ten hours working on this, and was only successful when I sat down, focused entirely on the task at hand, and tried everything over half a day.
I've gone ahead and listed everything I did, since your specific problem may differ from mine. It may take some time to do all the steps, and you're more likely to succeed if you can devote a few hours and solely focus on the troubleshooting, as I did.)
(For the sake of brevity, Lilypads will henceforth be called "LPs.")
Step 1: This Error Has Been Seen in Many LPs, But...
It's more likely to affect the LPs that are being made in China.
Arduino is fully Open Source, so these aren't actually counterfeit, and you can find some great bargains.
I'm a student, I'm not rich, and I needed multiples that might be expendable, so I ordered several of these boards off of Amazon Prime for around $16.00.
That's about half the price of a LP sold from Sparkfun.com. These more "official" Arduinos are more expensive, but they have better quality control. So if you don't have a lot of time you may want to consider Sparkfun. However, I know even some of their boards have presented with this issue, but overall they're a surer thing.
You can also get LPs even more cheaply from sites like AliExpress.com, but be prepared to wait a long time for shipping. You also have less recourse if the boards are horribly defective. At least on Amazon it's easy to send them back if they're defective. I do plan to order some wearables stuff directly from China soon, but be aware that it can be a little riskier.
Sparkfun and other established sellers of the "most legit"/1st world manufactured boards—most expensive, fast-moderate shipping time (usually not free), and usually the least amount of technical issues, but still prone to some. Decent-good customer service if your board is defective.
Amazon and other American resellers of Chinese-made boards—cheap to moderately priced, fast to moderate shipping time (often free or very cheap), and possibly some technical issues. Decent-good customer service if your board is defective.
Chinese manufacturers or Chinese resellers on sites like Alibaba/AliExpress—the cheapest, moderate-slow shipping time (depending on customs) which can be cheap or not, and the most likely to have technical issues. Everything from appalling to good customer service if your board is defective. Look for sellers who have good feedback on sites like AliExpress—which also polices its sellers to some extent.
Step 2: Is It Plugged In?
- Make sure that the LP is plugged into your computer with a working Micro USB cable. At least one light on the LP should be on (like in the photo above), showing you that the LP is receiving power.
- If it's not then you have a USB port issue on your computer, a broken cable, or a broken LP board. Check for all 3 by using different cords and ports and a different LP, if you can get one.
Step 3: Make Sure You've Selected the Right Board Options Within the Arduino Menu
See the above photo for how to find this section of the menu. You want to select the "Lilypad USB" option. The other Lilypad option is for the older board which doesn't have a built-in USB.
Step 4: Can You See the Correct Port?
Here we can see only one port, the Bluetooth port.
This is bad. :(
Your Lilypad needs another port. When your LP is connected properly you will see a port named with some variation on "Lilypad" (or a numerical string for the Lilypad Mp3).
Until you find the correct port your computer and LP can't talk to each other, and you won't be able to upload code on the LP.
Step 5: What Cables Are You Using?
- What kind of cable are you using? (In my experience LPs are VERY fussy when it comes to cables.) It MUST be a cable that's capable of sending and receiving data. If you've used your cell phone cable to sync data with your computer then that cable is probably OK (although this isn't always true).
- Many Micro-USB cables only transmit power. These cables will not allow your LP to connect with your computer and vice versa! Use a reliable, tested DATA cable!
- None of the above cables work for my LP. The short white and black ones are power-only Micro-UBS cables. Useless for this purpose. The long grey one is a data cable which syncs data with my cell phone, but surprisingly cannot sync with my LP. Which is why you need to try multiple data cables.
- When using a power cable with your LP you will see a light (usually only one), but you will get a port error with cables that can't support data. See the two pictures for examples of a screen with port errors in both the menu and terminal. Using power-only Micro-USB cables isn't the only issue that causes this error, but it's a common one.
- Two lights can be an indication that the Lilypad is syncing, but this is far from always true.
Step 6: This Cable Works!
The above cable, a Samsung Micro-USB data cable, was the only cable in my collection that worked for my LP USB. I've included pictures showing the model number if you want to try and order this cable and see if it works for you.
(Again, both lights on the board will usually be on (or at least blinking) when the board is connected properly.)
After finding a cable that works I made sure to mark it with silvery paint and I now keep it with my LPs. You might want to similarly tag your cable when you find one that works.
Step 7: Did a Correct Cable Fix the Issue?
- If you have the correct cable you will see the port listed as shown in the screenshot here. This is GOOD. Your LP should now be working. :D
- If you have a data enabled cable and you're still getting errors you can next try pressing the reset button on your LP. by finding the little brass button I'm pointing to on the board and pressing it Once and holding down for a few seconds.
- You can also try pressing the reset button TWICE in quick succession, which will initiate the bootloader.
If you still can't find the port go to the next step.
Step 8: Install the FTDI Drivers
It's pretty straightforward. Click the driver link below and download the appropriate driver, which will probably be the 64 bit for Mac. The 32 bit would likely work too.
FTDI Driver Link Click the link and download the file. Find the file (it's a .dmg file as shown in the screenshot above), click on it and it should then install automatically.
If you have any trouble this site gives a good explanation: How to install FTDI Drivers
Try installing both versions (VCP and DFXX).
You can then try closing Arduino and/or restarting your machine. Open Arduino and see if you can find the correct port for your LP.
Still not working? Go to the next step.
Step 9: Still Not Working? Try Burning Your Bootloader.
You can also try burning the bootloader, as shown above.
Even if you get a burn bootloader error I've found that just trying to burn can fix your board.
The last screenshot shows me changing the programmer options, which can also help when trying to burn the bootloader. Feel free to try them all, but remember which one is usually used for your various Arduino devices.
If you're unable to burn the bootloader and this tutorial hasn't fixed your LP then you may need to fix your bootloader. I will upload an Instructable on this in May 2016.