[Ovmsdev] OVMS v2 Memory/Settings Corruption

Pierre Uhl pi.uhl at bluewin.ch
Tue Nov 29 07:06:12 HKT 2016


Hi,

 

I also have two cases with parkingtime of 49710 and 17133 days…

 

Regards

 

Pierre

 

Von: ovmsdev-bounces at lists.teslaclub.hk [mailto:ovmsdev-bounces at lists.teslaclub.hk] Im Auftrag von Julien Banchet
Gesendet: Montag, 28. November 2016 20:06
An: OVMS Developers <ovmsdev at lists.teslaclub.hk>
Betreff: Re: [Ovmsdev] OVMS v2 Memory/Settings Corruption

 

Hi,
And since I'm paying more attention to it, it really seems linked to bad connectivity/GSM coverage, my last "plug in" was outside and it didn't happen.

Also having an issue with the SMS / SMSIP setting, it doesn't seem to be taken in account correctly (from seeing the app showing Live, next to 49875 days of parking ;-) ), does it need a reset to get it set properly? (anyways, switched back to an iPhone without the battery voltage showing on the app)

Regards,

JaXX,

dead, having spent the whole day in a datacenter, 1+1h cold trip in the Twizy in parisian traffic.

 

 

On Mon, Nov 28, 2016 at 7:31 PM, Michael Balzer <dexter at expeedo.de <mailto:dexter at expeedo.de> > wrote:

Hi Greg, welcome :)

Juliens parameter #0 has been overwritten with "Topping o", which is part of the charge status message ("Topping off").

So it's much more likely we've got a buffer corruption bug that's triggered by (maybe) bad connectivity situations.

Regards,
Michael





Am 28.11.2016 um 06:38 schrieb Greg D.:

Hi all,

New here, so this may be totally off the wall.

I notice that the first example, with a "5" going to a "k", it may be more easily explained as a bit shift instead of a set of flips.  Is there anywhere in the system where the bytes are clocked serially between devices, where there may be some marginal timing?

Just a thought.

Greg.



Mark Webb-Johnson wrote:

$ perl -e 'printf "%08b\n",ord("5");'
00110101
$ perl -e 'printf "%08b\n",ord("k");'
01101011
$ perl -e 'printf "%08b\n",ord("8");'
00111000
$ perl -e 'printf "%08b\n",ord("Z");'
01011010
 
Strange. Seems more than a simple bit flip. I haven’t seen this myself, or heard of it much from other users.
 
Is the Twizy code using EEPROM for anything other than settings storage? I know that there are a very limit number of write cycles into that EEPROM space.
 
I did some googling, but all I can find is corruption during writing (either power down, or interrupt during write). But, for our case of very very rare EEPROM writes, that shouldn’t be an issue.
 
Regards, Mark.
 

On 25 Nov 2016, at 5:47 AM, Michael Balzer  <mailto:dexter at expeedo.de> <dexter at expeedo.de> wrote:
 
The EEPROM data loss is a known issue, and I'm afraid there's nothing we can do about that. It seems to be a bug in the PIC18.
 
Regards
Michael
 
Am 24.11.2016 um 22:10 schrieb Julien Banchet:

Hi all,
 
Thanks to Michaels last message to remind me to ask a question here:
 
Since a few months, maybe a bit more because it happens only once in a while, I have noticed I wasn't receiving the SMS alerts (feature on SMSIP mode) , and sending a "Stats?" only gave me the nasty access denied answer.
 
It turns out, using the application, I noticed that the phone number was getting corrupted (afaik, it's the only setting affected)
 
Normally: "+33651886877 <tel:%2B33651886877> " it became "+336k1886877" or "+33651886Z77" etc... like a solar flare bit flip !_______________________________________________

_______________________________________________
OvmsDev mailing list
OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk> 
http://lists.teslaclub.hk/mailman/listinfo/ovmsdev





_______________________________________________
OvmsDev mailing list
OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk> 
http://lists.teslaclub.hk/mailman/listinfo/ovmsdev

 

-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26


_______________________________________________
OvmsDev mailing list
OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk> 
http://lists.teslaclub.hk/mailman/listinfo/ovmsdev

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20161129/39ce772f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_2016-11-28-23-42-50.png
Type: image/png
Size: 333803 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20161129/39ce772f/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_2016-11-28-23-43-47.png
Type: image/png
Size: 302251 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20161129/39ce772f/attachment-0005.png>


More information about the OvmsDev mailing list