??? 05/05/08 18:09 Read: times |
#154441 - an issue and an answer Responding to: ???'s previous message |
And I am sure many may not like the "sprintf" in the code. For some quick code that was handy.
nothing to do with 'like', you will NEVER succeed with that to write to flash. And what incidentally is a "walking write" ? a 'walking write' is a flashsaver. Flash has a limited endurance, and to gain endurance you implemet your write in such a way that something in your write (structure/array) can not be 0xff. then when reading read, read next, read next ... till you find 0xff (erased) then one back is your data. Writing find the first with 0xff and write there. When at the end then THEN, and only then you rease (and start over) Erik |
Topic | Author | Date |
Config. Parameter save to Flash | 01/01/70 00:00 | |
erase, then write, both are ... | 01/01/70 00:00 | |
The chip is a Silabs F8051F020 | 01/01/70 00:00 | |
Walking write | 01/01/70 00:00 | |
an issue and an answer | 01/01/70 00:00 | |
Some questions | 01/01/70 00:00 | |
Brief postings.... | 01/01/70 00:00 | |
Parameter Storage.... | 01/01/70 00:00 | |
The issue with migration..from ASM to C | 01/01/70 00:00 | |
killing a possible misconception![]() | 01/01/70 00:00 |