Open GoogleCodeExporter opened 9 years ago
Update: Commenting that section out doesn't actually appear to fix it. Sorry,
errant test result on my side.
However, commenting out the line
commandDownloader.add("-D"); // don't erase
in app/src/processing/app/debug/AvrdudeUploader.java *does* fix this issue.
Original comment by adamww...@gmail.com
on 7 Jun 2010 at 10:52
Erasing the entire chip is likely not a good idea either.
Anyway, it's starting to look like a mismatch between avrdude and the Arduino
bootloader. Avrdude skips telling the device about any pages consisting
entirely of 0xFF, and assumes that any flash its writing to has been erased,
while I suspect the Arduino bootloader doesn't do anything to pages it isn't
told about.
Interestingly enough, this same issue occurs with the Optiboot bootloader.
Original comment by adamww...@gmail.com
on 8 Jun 2010 at 5:44
In theory, I would think that the -D option (don't do chip erase) that Arduino
sends to avrdude should prevent this from happening. if avrdude ahs not sent a
chip erase command, it should not assume that the chip is erased.
Original comment by wes...@gmail.com
on 5 Jun 2011 at 7:54
This is particularly bad when using shields like the Gameduino. The Gameduino
uses 0xf for a transparent pixel, so a few sprites that consist of small
splashes of color surrounded by fields of transparency can lead to at least one
page of 0xff. I'm presently struggling with this bug.
Original comment by Pika...@gmail.com
on 9 Jan 2013 at 2:02
Original issue reported on code.google.com by
adamww...@gmail.com
on 7 Jun 2010 at 3:48