![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#34
|
|||
|
|||
![]()
On Wednesday, April 8, 2020 at 12:58:39 PM UTC-4, Martin Gregorie wrote:
On Wed, 08 Apr 2020 08:57:43 -0600, kinsell wrote: Runs an embedded linux, they're not storing any data during normal operation, so baffling why that's so hard to fix. When does it commit data to non-volatile memory, i.e. does in intentionally buffer it and only commit at intervals or as part of shutting down? A common problem is forgetting to put /tmp in RAM. Leaving it on a uSD will eventually end badly. FWIW The same problem occurs with Raspberry Pis. As you may or may not know, these run a Debian Linux clone as their OS and use SD cards for non-volatile memory by default. Much of the time people can get away with simply pulling the plug when the Pi appears to be idle, but if you do that while the Pi is flushing its caches to its SD card or, more rarely, the card is in the middle of a wear-levelling process, then the SD card will become corrupted and possibly permanently damaged if it was wear-levelling when the power vanished. Which is why everybody soon learns to shut the Pi down with a 'sudo stop' command before powering it off. I think its worse with SD cards simply because their internal controllers and cheap, rather basic and have no power buffering. Use an SSD instead or, even better, a hard drive and the problem largely goes away because ext4 is a journalling filesystem, so has built-in recovery. I agree this is a tricky problem, and maybe best solved with some sort of cheap'n cheerful UPS. Here's a suggestion along those lines: Pimoroni sell the PowerBoost 1000 Charger, a small and fairly cheap UPS circuit ($US 19.39 from Amazon), which you connect between a 5v power supply and the device you want to power via a UPS socket. You also connect a suitable sized 1S (3.7 volt) Lithium-ion battery to it - the sort used to power small RC models would be fine - and there's a power buffer for any UPS-powered device that doesn't have an internal battery. Its good to supply up to 1000mA provided that the battery is rated for that current. Some soldering is needed. It comes with a selection of sockets, but they're all sat loosely in place on the board so you can solder the ones you want on, sling the others and solder any permanent connections you need. I have one but haven't used it yet - I'm planning to make a PDA from a 4" touch screen and a Pi Zero WL and use this Pimoroni plus an RC model 1S LiPO battery to power it. Add a case made from epoxyboard and it should be ready to rock'n roll. Another Pi solution is this one with superCap: https://juice4halt.com/ Beware the window before supercap completely charged (should finish shortly after boot)... Enjoy, Best Regards, Dave |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Airplane tears off winglet on jet bridge | a[_3_] | Piloting | 0 | July 8th 10 08:06 PM |
Tears in the eyes, - 1 attachment | RobG | Aviation Photos | 4 | June 17th 08 10:51 AM |
The Tears Of Finding The Truth | algaga | Piloting | 9 | January 3rd 08 04:33 PM |
“Particularly on May 19th”— with the tears of his father | X98 | Military Aviation | 0 | May 18th 04 10:34 AM |