So I got myself a nice shiny new LilyPad Arduino today, and am trying to get it hooked up and running. Obviously I'm posting here, which means it isn't working out. Forgive me if I'm overly thorough from here on out, but I've been at this for several hours, and had several other people attempt it and nobody got it right, so I'm assuming we're missing something either very small or ridiculously obvious. So, my setup is thus:
LilyPad Arduino-->LilyPad USB Link-->mini USB cable-->PC running Windows XP
I hooked the Arduino the USB Link in the way it was illustrated in the images on SparkFun and Leah Buechley's website. I can post a picture of the setup if that will help. In the Arduino software, my Board is set to LilyPad, and my com port is set to COM3, which is the port that got created when I plugged LilyPad in the first time. My baud rate is 9600.
When I plug everything in, the LED closest to pin 12 (tab 12? petal 12?) flashes three times quickly, then waits a bit and does it again, and so on. When I hit the reset button, that same triple strobe happens. So far, so good. I started up the Arduino software (the latest version, 10) and opened/compiled the "Blink" sketch. It compiles fine. Then I hit the reset button on the LilyPad and click "Upload to I/O Board" in the Arduino software. The LED near pin/tab/petal 12 continues its standby cycle, and then the software gives me the following error:
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x42
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override this check.
Now, I suspect that this "use -F" business is important, but I have no idea what it means or how to use that information to my advantage. Regardless, here are the things I HAVE tried so far:
-switch computers: tried one Vista machine and two XP machines
-switch USB cables: tried two different ones
-uninstall/reinstall drivers: Uninstalled using Device Manager in one round, and using FT Clean in another round. Also tried downloading drivers from the FTDI website and pointing Windows to them, and downloading the executable from FTDI and using that.
-switch baud rate: I tried 9600 (the default) and 19200
-move LilyPad: I've had it sitting on my desk, my jeans, and a PSP case (checking to make sure it wasn't sitting on anything conductive). I also checked for conductive foam or wires or anything else that could be sitting on the board; nothing there.
-restart the machine: Tried restarting at various points in the install process, both with the LilyPad plugged in and without, and after driver installs or not
-Turn stuff off: disabled virus scanner and firewall, and unplugged my USB wireless adapter on the second XP machine
Okay, who has ideas for what I should do next? I've got a project due next Wednesday that I would love to use this LilyPad for, but if I can't get it running soon I'll have to abandon it. Any ideas/advice/help would be extremely appreciated. I will mail you cookies. Or, um, I don't know, send you nice jpg's of cookies, if giving your mailing address to some idiot grad student doesn't sound like a good idea Anyway, THANK YOU in advance for your kind advice.
Hugs and Sparkles,
Cranky Grad Student