snurce / optiboot

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

optiboot is wrong but "lucky" on chips (1280, 1284) with 256 bytes/page #104

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
optiboot discards the high byte of the "length" in a program page command, 
assuming that it will be zero.  But on 1280 and 1284, the page size is 256 
bytes.  Fortunately, using the resulting "0" in the read loop does read 256 
bytes!
http://forum.arduino.cc/index.php?action=post;topic=241103.0

Original issue reported on code.google.com by wes...@gmail.com on 19 May 2014 at 7:59

GoogleCodeExporter commented 8 years ago
Aimed at 6.0

Original comment by wes...@gmail.com on 27 Jun 2014 at 6:24

GoogleCodeExporter commented 8 years ago
https://code.google.com/p/optiboot/source/detail?r=a10ef5c935a11a0e656927cd5e9b3
06937203f52
(Version 6.0)
Assorted Length variables have become uint16_t instead of uint8_t.

Original comment by wes...@gmail.com on 28 Jun 2014 at 9:08

GoogleCodeExporter commented 8 years ago

Original comment by wes...@gmail.com on 28 Jun 2014 at 9:09