"How low can you go?" - Limbo Rock sung by Chubby Checker
And still it keeps on going
-
- Posts: 795
- Joined: Wed May 03, 2017 7:46 pm
- Location: Malone, NY USA
Re: And still it keeps on going
Tom L
Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
Re: And still it keeps on going
LOL
Yes, I did replace the battery after that.
Not only did I want to see how the machine behaved with so little power available but I also wanted to see something that I'm surprised nobody else picked up on. Look at the battery icon in that screenshot... Having seen the source code for how the system chooses which icon to display depending on battery voltage, I knew there was a provision for a 7th icon that represents something more dire than the "empty" battery. So there is it, a sqeezed battery
This also uncovered a "bug" that only hit me yesterday while thinking of this... Operations that cause a write to the QSPI chip are all protected so that they don't happen if there's less than 2.2V across the battery. If the thing were to shut down partway through a write operation, it would cause data corruption. So, how come I was able to take a screenshot with there being only 1.9V there?
It turns out, that specific write operation is not (yet!) protected...
Yes, I did replace the battery after that.
Not only did I want to see how the machine behaved with so little power available but I also wanted to see something that I'm surprised nobody else picked up on. Look at the battery icon in that screenshot... Having seen the source code for how the system chooses which icon to display depending on battery voltage, I knew there was a provision for a 7th icon that represents something more dire than the "empty" battery. So there is it, a sqeezed battery
This also uncovered a "bug" that only hit me yesterday while thinking of this... Operations that cause a write to the QSPI chip are all protected so that they don't happen if there's less than 2.2V across the battery. If the thing were to shut down partway through a write operation, it would cause data corruption. So, how come I was able to take a screenshot with there being only 1.9V there?
It turns out, that specific write operation is not (yet!) protected...
There are only 10 kinds of people in the world: those who understand binary and those who do not.
Re: And still it keeps on going
I noticed that...something to avoid when your calculations are mission critical! (I did suffer a fit of laughter when I saw the icon. )
Nice catch!grsbanks wrote: ↑Mon May 07, 2018 9:19 amThis also uncovered a "bug" that only hit me yesterday while thinking of this... Operations that cause a write to the QSPI chip are all protected so that they don't happen if there's less than 2.2V across the battery. If the thing were to shut down partway through a write operation, it would cause data corruption. So, how come I was able to take a screenshot with there being only 1.9V there?
It turns out, that specific write operation is not (yet!) protected...