Lilypad Arduino

Welp, I got my wicked-cool Lilypads, but… I’m having problems getting anything to load.

Because I bought a Modern Device barebones arduino, I’m trying to use one of these to program it:

http://www.ftdichip.com/Products/Evalua … L-232R.htm

pinout:

http://www.ftdichip.com/Images/ttl232rsch1.jpg

I have the lilypad powered by the lilypad power supply, and I’m only using the TX and RX pins on the programming cable.

Here’s the result of trying to load up the Blink code with arduino “10.0”, aka 0010 alpha.

Binary sketch size: 1110 bytes (of a 14336 byte maximum)

avrdude: stk500_getsync(): not in sync: resp=0x30
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I even loaded up the new FTDI driver that ships with the 0010 alpha. Mac OS X, 10.4.10.

… but… still I get the error.

You might need a higher voltage to program it than you do when you are running a program. The lilypad power supply might only provide enough volts to run a program. Try another 5V supply.

trialex:
You might need a higher voltage to program it that you do when you are running a program. The lilypad power supply might only provide enough volts to run a program. Try another 5V supply.

You’re the second person to tell me that, first being Lady Ada, so I’ll give that a shot and report back on how it goes. :slight_smile: thanks very much for your input! I sure do appreciate it.

stevecooley:

trialex:
Try another 5V supply.

…I’ll give that a shot and report back on how it goes.

Ok, that didn’t work. I just used this 5v power supply:

http://www.sparkfun.com/commerce/produc … ts_id=8249

Still getting this error:

Binary sketch size: 1110 bytes (of a 14336 byte maximum)

avrdude: stk500_getsync(): not in sync: resp=0x30
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

stevecooley:
I’m only using the TX and RX pins on the programming cable.

You do have the ground pin connected as well, I hope?

jasonharper:
You do have the ground pin connected as well, I hope?

Ground on the 5V power supply, yes, i have that connected.

You also need to connect the programming cable’s ground to the lilypad’s ground.

n1ist:
You also need to connect the programming cable’s ground to the lilypad’s ground.

Ok, thanks for the tip! I’ll try that.

Any ideas why the voltage and ground from the USB to serial cable wouldn’t be powering up the board? I thought it would be fairly straight forward to just use the 4 pins (voltage, ground, tx, rx) from the cable since it’s the same cable I use to program the Modern Devices barebones aduino board…

stevecooley:

n1ist:
You also need to connect the programming cable’s ground to the lilypad’s ground.

Ok, thanks for the tip! I’ll try that.

That didn’t work.

Binary sketch size: 1110 bytes (of a 14336 byte maximum)

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

I’ve also upgraded to arduino 10.0 final, fyi.

http://sc-fa.com/images/albums/steve/li … ground.png

LEDs triple blink, but do not seem to want to receive programming.

http://sc-fa.com/images/albums/steve/li … ground.png

LEDs triple blink, but do not seem to want to receive programming.

http://sc-fa.com/images/albums/steve/li … owered.png

The board does not appear to be powering up at all in this case.

Wait… I got it.

Thanks everyone. :slight_smile: It works. Never trust a hidden connection. I cracked open the connectors I have soldered to some header pins and found them transposed to what I thought they were. User error strikes again! USB to TTL Serial cable works great for TX/RX and power+ground.

Sorry everyone! I’ll go back to lurking!