¿ªÔÆÌåÓý

Re: Alternative to using EEPROM for NV storage


Jack Purdum
 

Steve:

Off the top of my head, if the shutdown is a power switch, how do you do the update without power? It could be done, but it would require additional hardware. I have a feeling that a super capacitor would have enough charge to perform a shutdown routine. That routine could be triggered any time a power loss occurs...purposeful or accidental. That might be the simplest. I'm sure there are hardware people out there with a much better answer.

Jack, W8TEE


From: Steve Robertson <bobs_otr@...>
To: [email protected]
Sent: Saturday, January 21, 2017 3:22 PM
Subject: Re: [BITX20] Alternative to using EEPROM for NV storage

Hi Jack and Mike,

Fram is just another tool in the tool kit.? I'm paying more attention to longevity these days due to my eye problems, what I'm capable of today I may not be capable of tomorrow.

Library and Arduino IDE updates breaking code is annoying too, though I've taken to saving a hex of finished projects and just using XLoader in the future if I need to create another and that avoids these problems.

This is probably more suited to things like encoder tallies that need to be kept accurate.

If you were looking to simply come back to the freq you were on after a power cycle couldn't you just tie a shut down routine to a button press?? i.e. power button pressed, save all settings you want to save in nv ram, then shut down, then you'd only write to eeprom every shut down.? It wouldn't work if the power were unexpectedly removed, but how often would that happen?

73,

Steve, KA0NEB


Join [email protected] to automatically receive all group messages.