Can't upload program to lilyPad

Before I use digitalWrite() on pin13,it works well. Now,the program runs well. But,I can't upload program any more.

the error info: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x52

value for resp changed every time.

I looked through the web, find nothing about this.

The only different for pin 13 is : a led connected to it on-board. Is that the reason?

My GOD,have to waste time again.

Pin13 should be able to use by user, So I think that should not be the reason.

The IDE does can reset the lilyPad, but the board begin to run the uploaded program soon after reboot.

Looks like source is interaction between FTDI and lilpad ?

Solved。 Very simple reason: I don't know when changed the board type.

Now, changed back to LilyPad,it works well.

But, the error info is not so smart,is not? Why not notice the board name?