Upload sketch problem

Hi guy, i've the problem when i try to upload a big sketch. I've try to upload a sketch with 28796 bytes of size and fail with this error: "avrdude: stk500_recv(): programmer is not responding". With a little sketch, i've no problem to upload it! Below some information about my Arduino and ide:
Board Model: Uno + Ethernet Shield
Ide version: 1.0
OS: Mac os X 10.6.8 (snow leopard)

Could be a bootloader problem? Some time ago I remember reading something about a bug with some bootloader version.

Sounds possible. Try using the IDE to re-burn the bootloader. I think you may need another bit of hardware, like another Arduino (as ISP) or a USBtinyISP or similar. Of course, you can also use one of those to simply burn the sketch without using the bootloader.

You could have run out of SRAM. Do you have a lot of strings and/or data arrays?

Pete

uhm........out of SRAM...it's possible, but i've tried to upload in windows 7 with ide 1.0 and no error found!!!! But now the problem is.....SRAM overflow :slight_smile: 6K of flash to inizialize EthernetServer class. My Arduino Uno is is at the limit :frowning:

Have you put your strings into program memory (flash memory)? Under 1.0 of the IDE there is a "F" macro to do that.

eg.

F("foo")

All strings are into memory flash. Can i paste here all the line of my sketch?

I doubt it is a string issue if you can't upload. Try to put a more recent bootloader on the board.