<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
That's much more likely, yes.<br>
<br>
Besides standard configuration data, the Twizy code uses the EEPROM
for the battery capacity average and to store the active tuning
profile. So there are more updates to the EEPROM than with other
vehicles, but there are no writes to the phone number slot, and
there's no large number of writes.<br>
<br>
PIC18 spec D120: Byte endurance = min. 100K, typ. 1M. So if the
profile number feature byte for example is rather bad, and I change
my profile 10 times a day (normal: 0), it will wear out after 27
years. IMO there's no way this could be wear related.<br>
<br>
A bug in par_write() would need to confuse both par_value[] contents
and destination address... unlikely. Looks more like some buffer
overrun that accidentally also triggers a call to par_write().<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Am 25.11.2016 um 10:07 schrieb Mark
Webb-Johnson:<br>
</div>
<blockquote
cite="mid:B3A83D97-7980-4D58-BFDC-53510F8D8C4B@webb-johnson.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
That really sounds like something writing to EEPROM (but confused
and writing the wrong thing).
<div class=""><br class="">
</div>
<div class="">I see in vehicle_twizy.c there are a lot of
par_write and par_set. Also some in vehicle_kiasoul.c.</div>
<div class=""><br class="">
</div>
<div class="">Could it be a large number of writes either going
through the write cycles of EEPROM, or perhaps showing up a bug
in params.c par_write() function?</div>
<div class=""><br class="">
</div>
<div class="">Regards, Mark</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 25 Nov 2016, at 4:38 PM, Julien Banchet
<<a moz-do-not-send="true" href="mailto:jaxx@jaxx.org"
class="">jaxx@jaxx.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">
<div class="">Oh ! This one is impressive<br
class="">
</div>
Definitly not bit flip nor single caracter screw-up:<br
class="">
</div>
My phone number became "Topping o"! (I was far from
topping off, and the OVMS was plugged 15 minutes
before charging the Twizy)<br class="">
<br class="">
Screenshot this morning<br class="">
<a moz-do-not-send="true"
href="https://goo.gl/photos/6Yv9TUTTHmQTLosT8"
class="">https://goo.gl/photos/6Yv9TUTTHmQTLosT8</a><br
class="">
<br class="">
</div>
JaXX./.<br class="">
<div class=""><br class="">
</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Fri, Nov 25, 2016 at 8:16
AM, Julien Banchet <span dir="ltr" class=""><<a
moz-do-not-send="true" href="mailto:jaxx@jaxx.org"
target="_blank" class="">jaxx@jaxx.org</a>></span>
wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">
<div class="gmail_extra">Sorry, I only gave flaky
examples because I switched phones recently and
was lazy to digup the old one that had some
screenshots</div>
<div class="gmail_extra"><br class="">
</div>
<div class="gmail_extra">Here are some real cases</div>
<div class="gmail_extra">C33651886877</div>
<div class="gmail_extra">+336518867s7</div>
<div class="gmail_extra">+3365188T877</div>
<div class="gmail_extra">+336518868h7</div>
<div class="gmail_extra"><br class="">
</div>
<div class="gmail_extra">That said, it still is
way more than a simple bit flip, and only
corrupts the phone number as far as I can
recall.</div>
<div class="gmail_extra"><br class="">
</div>
<div class="gmail_extra">I have no explanation,
all I can say is, most of the time, I plug the
OVMS when I plan charging later in the morning,
usually when I'm still underground and a handful
of seconds before putting contact (if this can
point to any clue)</div>
<div class="gmail_extra"><br class="">
</div>
<div class="gmail_extra">Anyways, gonna try
cutting GPRS this morning and see how quick it
discharges and might automate switching
SMS<->SMSIP once in a while to keep an eye
on the battery (my cell operator has an API)
though it might wearout eeprom even more :-/</div>
<div class="gmail_extra"><br class="">
</div>
<div class="gmail_extra">JaXX./.</div>
<span class="">
<div class="gmail_extra"><br class="">
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Fri, Nov 25, 2016
at 1:56 AM, Mark Webb-Johnson <span
dir="ltr" class=""><<a
moz-do-not-send="true"
href="mailto:mark@webb-johnson.net"
target="_blank" class="">mark@webb-johnson.net</a>></span>
wrote:<br class="">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div id="m_164963201367045089:1ne"
class="m_164963201367045089a3s
m_164963201367045089aXjCH
m_164963201367045089m15898fb9d801e035">$
perl -e 'printf "%08b\n",ord("5");'<br
class="">
00110101<br class="">
$ perl -e 'printf "%08b\n",ord("k");'<br
class="">
01101011<br class="">
$ perl -e 'printf "%08b\n",ord("8");'<br
class="">
00111000<br class="">
$ perl -e 'printf "%08b\n",ord("Z");'<br
class="">
01011010<br class="">
<br class="">
Strange. Seems more than a simple bit
flip. I haven’t seen this myself, or
heard of it much from other users.</div>
</blockquote>
</div>
<br class="">
<br class="">
</div>
</span></div>
</blockquote>
</div>
<br class="">
</div>
_______________________________________________<br
class="">
OvmsDev mailing list<br class="">
<a moz-do-not-send="true"
href="mailto:OvmsDev@lists.teslaclub.hk" class="">OvmsDev@lists.teslaclub.hk</a><br
class="">
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br
class="">
</div>
</blockquote>
</div>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
</body>
</html>