SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on the software and hardware for Atmel's STK standard.
By kritzikratzi

I just got my new lilypad today, however, I can't program it.

I connected the lilypad to the usb mini (v3), and gnd/pin13 with croc strips simply to a led with a resistor.

Now when I plug the whole thing into usb the lilypad blinks a bunch, waits, blinks a bunch, waits, etc.
When I try to program it i only get this output:
Code: Select all
Binary sketch size: 1094 bytes (of a 14336 byte maximum)

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
I've read the other threads with similar issues and found out lilypads with broken firmware were sent out. Is there a way to find out whether my firmware works? (like..reading the version info or so)

By kritzikratzi
just for completion: rx goes to rx, tx to tx, 5v to 5v and gnd to gnd right now.
i've also tried connecting rx to tx and tx to rx without change.
By kritzikratzi
okay, i figgured it out with the help of the irc people...

i had one of those lilypads with broken firmware, using the isp cable and reflashing the bootloader fixed the problem.
By kyorei
whats this about broken firmware? is this a known issue? i couldnt find any report with a quick google...

ive got issues programming a lilypad with a USBmini as well...

i get a different error however, so maybe a diff problem:

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

tried pretty much everything. no joy. ive programmed a regular USB Arduino (not lilypad) using this machine before with no issues.

comport install went fine (com7) and all my settings are right (unless there are some secret ones..)

I did a loopback test on the miniUSB board. connected tx to rx, fired up a serial terminal program and its definately working. so the problem is either in the lilypad, or the arduino software...

i posted full details of my setup and errors here: viewtopic.php?t=9931

hoping someone can help.
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]