shovon134 / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

arduino atmega2560 cannot load 20k+ image #887

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Uploading software images to my Arduino Mega2560 with avrdude where the hex 
file is bigger than around 20k

What is the expected output? What do you see instead?
I get avrdude stk500v2_ReceiveMessage(): timeout

arduino 1.0, avrdude 5.11, latest dfu code, latest bootloader, I have a 
original Arduino Mega2560 R3.

Please provide any additional information below.
I have installed and self complied latest librxtx, avrdude, dfu-programmer, 
sun-6-java-jre, arsuino 1.0, I have upgraded the dfu code and bootloader with 
latist code from github. Took me 2 weeks to get everything done, arduino 
newbie! However I have 15 years of c++/java ex[erience commercially and I am a 
electronic hobbiest for the last 25 years! I have fiddled with avrdude.conf 
etc, etc.

I run ubuntu 10.04 and Win XP same problem. I can upload the same hexfile onto 
my Arduino UNO R3 no problem! It cannot run code as it already uses more than 
2k of sram. hexfile is 20980 bytes in size.

Original issue reported on code.google.com by zamp...@gmail.com on 14 Apr 2012 at 7:11

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by zamp...@gmail.com on 15 Apr 2012 at 12:08

Attachments:

GoogleCodeExporter commented 9 years ago
Is this the famous "!!!" problem?
http://code.google.com/p/arduino/issues/detail?id=392

Original comment by wes...@gmail.com on 28 Apr 2012 at 6:21

GoogleCodeExporter commented 9 years ago
can you try to update the bootloader with the one introduced with this 
pull-request?
https://github.com/arduino/Arduino/pull/1183

I've tried with a 33K sketch and It upload and works normally now. 
I mark this issue as fixed, but if you experience other bad behaviors with your 
sketch I'm inclined to reopen it.

Original comment by f.vanz...@gmail.com on 24 Apr 2013 at 2:27