Hi,
I just got a lilypad arduino controller and a FT232R usb-serial breakout board. These boards are the 4-pin header type (3.3V, GND, RX, TX).
After installing the usb drivers and connecting the lilypad to the serial-usb card, and serial-usb card to the computer, the lilypad powers up and runs some kind of ‘bouncing’ blinking sketch (onboard led blinks from slow to fast, stops and restarts the pattern). Hitting the reset button results in the led flashing rapidly 3 times, then returns to the slow-fast blink pattern.
I followed the tutorial for loading the ‘blink’ sketch, and I can never seem to get the program to upload. I get the following message:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
Having looked through the forum, I found only two ‘solutions’ to this sort of problem. one solution was to wire the serial connector correctly (viewtopic.php?t=8475) - however, I don’t think this is applicable, as the usb-serial board plugs onto the lilypad, providing power and ground. Another solution was to reload the bootloader - I couldn’t find out any further information about how to determine if this is necessary, nor how to go about doing it (viewtopic.php?t=10403&highlight=lilypad+stk500getsync).
Another possible solution mentioned in the troubleshooting guide was to try switching the RX/TX connections just in case they were ‘wired’ incorrectly (seems dubious, as it’s on a pcb). I did try this using alligator clips, and the behavior was the same.
I’ve confirmed that the usb/serial card is working properly in that if i lookback the rx/tx lines (short them together), i can send data correctly from a terminal.
Any ideas on how to troubleshoot this further? Or is it likely that I have some kind of a dud lilypad?
Thanks,
Will