Post Reply 
41CL News
01-05-2019, 02:51 AM
Post: #5
RE: 41CL News
I should point out that Compare-Only mode has the potential to cause problems in some corner cases. For example, since the FLDB is stored at 0x0DE in Flash, if an update is aborted after the FLDB has been written but before the entire Flash has been updated, the non-updated Flash pages will be stale relative to the FLDB contents. If you use CPONLY during the next update, those stale pages will not be updated. There is a simple way around this, which is to always make sure that an update completes, even if you have to restart it after it has been aborted. An update can be aborted from the keyboard, because of a timeout during a serial transfer (which happens all the time to me as my PC ignores the keep-alive bytes and goes to sleep aggressively), or because the battery level has fallen too low. Even though an update has been aborted, the CFLDB in RAM is still valid, so the update can be restarted even if you have to change batteries. I have done this several times. The RAM has always retained its contents during the battery switch-over, but I am always careful to do it as quickly as possible.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
41CL News - Sylvain Cote - 01-03-2019, 03:15 AM
RE: 41CL News - CY-CL - 01-03-2019, 06:46 AM
RE: 41CL News - aurelio - 01-03-2019, 08:56 AM
RE: 41CL News - CY-CL - 01-03-2019, 09:59 AM
RE: 41CL News - Monte Dalrymple - 01-05-2019 02:51 AM



User(s) browsing this thread: 2 Guest(s)