rgoel / optiboot

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

Attempting to write EEPROM trashes flash #65

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
optiboot does not support EEPROM, which is sort-of OK.  But in its thrift, it 
will interpret EEPROM write commands as writing to flash instead, overwriting 
code that might have been there.  That's not good!

Original issue reported on code.google.com by wes...@gmail.com on 4 Apr 2012 at 10:40

GoogleCodeExporter commented 8 years ago
possible diff.  Adds about 10 bytes.

Original comment by wes...@gmail.com on 5 Jan 2013 at 6:14

Attachments:

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
https://code.google.com/p/optiboot/source/detail?r=a10ef5c935a11a0e656927cd5e9b3
06937203f52
If BIGBOOT or SUPPORT_EEPROM is set, actually support writing EEPROM (happens 
on 644, 1284, 1280 by default.)  This doesn't fit in 512 bytes, so Atmega328 
and etc will just error/timeout if an EEPROM write is attempted.

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