Go Down

Topic: Lilypad Arduino (Read 1 time) previous topic - next topic

stevecooley

Oct 16, 2007, 09:49 am Last Edit: Oct 16, 2007, 07:44 pm by stevecooley Reason: 1
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:
http://www.ftdichip.com/Products/EvaluationKits/TTL-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.

Code: [Select]

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.


ladyada

you need to use
+5V
ground
rx and tx
try swapping rx/tx also, in case its a labeling issue.
dont swap +5v and ground tho ;)

stevecooley

Oh.  Ok.  I know the lilypad power supply is using a 1.5v cell, but I figured it was stepping up to something more, yeah? I'm not really very experienced with electronics, I just keep pretending I understand these things until I hit a brick wall...  which is frequently. :)

The only thing that tripped me up with that is that I tried using the current from the USB cable, which should be 5v, and it didn't seem to even power up the board.  I thought maybe I got it wrong, but I checked my connections and it looked ok...  Hmm..  I'll have to cannibalize one of my other projects and grab the 5v power supply and see if it works better.  

Thanks very much for your input, Limor!

stevecooley

Quote
you need to use
+5V
ground
rx and tx
try swapping rx/tx also, in case its a labeling issue.


Quote
...I'll grab my 5v power supply and see if it works better...


Ok, that didn't work.  I just used this 5v power supply:
http://www.sparkfun.com/commerce/product_info.php?products_id=8249

Still getting this error:
Code: [Select]
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


and I tried swapping tx/rx, same result happens.

Daniel

hi

an identical error is described by several users in this thread:

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1187909552


Doe the LED blink on startup to indicate the bootloader is there and working? Is there even an LED on the Lilypad?

D

stevecooley

#5
Oct 17, 2007, 10:57 am Last Edit: Oct 17, 2007, 10:58 am by stevecooley Reason: 1
There is an LED on the board.  It does a triple flash on powerup, waits ~10 seconds, and repeats the triple flash.  (and repeats the 10 second wait, triple flash, etc...)

mellis

Did you try the suggestions in the troubleshooting guide (http://www.arduino.cc/en/Guide/Troubleshooting#upload)?  Do you have any other Arduino boards?  Can you upload to them?

Also, try the final Arduino 0010 release: http://www.arduino.cc/en/Main/Software

stevecooley

Quote
Did you try the suggestions in the troubleshooting guide (http://www.arduino.cc/en/Guide/Troubleshooting#upload)?  Do you have any other Arduino boards?  Can you upload to them?


Yes, yes, and yes.

Quote

Also, try the final Arduino 0010 release: http://www.arduino.cc/en/Main/Software


Ok, thank you!  I will try that.

stevecooley

upgrading to 10.0 final did not help.  :'(  I get the same error message.

mellis

Did you tie the grounds together (of the FTDI cable and LilyPad)?

nkcelectronics

Quote
There is an LED on the board.  It does a triple flash on powerup, waits ~10 seconds, and repeats the triple flash.  (and repeats the 10 second wait, triple flash, etc...)

triple blink... isn't it the old bootloader that does not support autoreset?  I don't know lilypad, does it use the new or the old bootloader?

stevecooley

#11
Oct 18, 2007, 01:44 am Last Edit: Oct 18, 2007, 01:52 am by stevecooley Reason: 1

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



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



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

nkcelectronics

Have you tried the 2nd configuration but switching TX/RX?

nkcelectronics

One basic question:

Are you pressing the reset switch to upload the sketch?

stevecooley

Quote
Have you tried the 2nd configuration but switching TX/RX?


Yes. Just now, here's the resulting failure message:

Code: [Select]
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

Go Up