mastodon.sdf.org is part of the decentralized social network powered by Mastodon.
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko

Administered by:

Server stats:

2.7K
active users

Learn more

What is simpler than to write from ram to flash? And still I managed to screw up things somehow: First 9 bytes in the beginning of some pages are copy of these bytes of the very first page. Size of page is 0x40, flash is written one page per time, *not* byte per time, so how it is possible to corrupt only 9 first bytes? I'm genius.🤣

YRabbit

Partial success. In brief: in the reference example of the program for writing to flash (p. 212 of the datasheet) there is a line: ``sbci ZH, high(PAGESIZEB) ; not required for PAGESIZEB<=256'' That's a bullshit🤨
This instruction is needed regardless of page size. How scary to live if you can not believe the datasheets.