<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">OK, just pushed the change to extended mode compilation.<div><br></div><div>I had a to make a small change to vehicle_twizy for the production build (where the CFG define is not set).</div><div><br></div><div>The change to temperatures (8 to 16 bit) has also been made.</div><div><br></div><div>I also added some code to call the vehicle idle poll and 1/10th second ticker functions from within the 100ms utils.c delay. The issue here is that the 100ms delay may be called from within the functions, so there is a guard against recursion. Hopefully this didn’t break anything.</div><div><br></div><div>I’m going for a drive soon, with this code in place. If there are no problems, I’ll build an official 2.6.2 .hex for wider testing.</div><div><br></div><div>Regards, Mark.</div><div><br></div><div><div><div>On 18 Jan, 2014, at 10:14 pm, Michael Balzer <<a href="mailto:dexter@expeedo.de">dexter@expeedo.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
I implemented an "offline" cfg reset method -- which btw
unfortunately could also be used by any thieve... well, maybe not
quite "any" though ;-)<br>
<br>
<br>
<div class="moz-cite-prefix">Am 18.01.2014 13:55, schrieb Mark
Webb-Johnson:<br>
</div>
<blockquote cite="mid:C24F30E7-5179-4D01-86FD-B41C3CD28178@webb-johnson.net" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div>Sounds like it might be cool to hook this into the valet msg.
Valet ON is save limit then set speed limit to 10kph. Valet off
is restore limit. Lock/Unlock could be similar.</div>
<div><br>
</div>
<div>I would just be a little concerned if gsm connectivity was
lost after lock/valet. Without connectivity, you couldn't unlock
and it would be a real slow drive to the next cell tower :-)</div>
<div><br>
</div>
<div>Mark</div>
<div><br>
On 18 Jan, 2014, at 8:14 pm, Michael Balzer <<a moz-do-not-send="true" href="mailto:dexter@expeedo.de">dexter@expeedo.de</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
Nikki,<br>
<br>
nice ideas.<br>
<br>
You can reduce available power simply by a CFG DRIVE command,
i.e. "CFG DRIVE 10" will reduce available power to 10%.<br>
<br>
To completely disable it, "CFG DRIVE 0" should also work --
haven't tried that yet.<br>
<br>
Another option if valet mode still needs the power (i.e.
hills): "CFG SPEED 10" will reduce maximum speed to 10 kph.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 18.01.2014 11:57, schrieb
Nikki Gordon-Bloomfield:<br>
</div>
<blockquote cite="mid:CAOWoTn89bzb3_tDy7CYdVPK3rNa+k7L+wsPAVb6DEKhCOP8eVw@mail.gmail.com" type="cite"><p dir="ltr">Michael,</p><p dir="ltr">Great work! </p><p dir="ltr">I wonder if there would be a way to use this as
a valet mode option? Really reduce motor settings etc? </p><p dir="ltr">Yes, its no Tesla, but more might be useful for
some.</p><p dir="ltr">Also, could this be used to make the twizy more
secure? </p><p dir="ltr">I know it has an immobilizer but no locks on
the doors, making it perhaps a target for thieves?</p><p dir="ltr">Could OVMS he used to lock down a twizy with
really poor parameters?</p><p dir="ltr">In other words, if someone does defeat the lock
and turn it on, this could event them from moving the car?
</p>
<div class="gmail_quote">On 18 Jan 2014 08:27, "Michael
Balzer" <<a moz-do-not-send="true" href="mailto:dexter@expeedo.de">dexter@expeedo.de</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks :-)<br>
<br>
There should also be a visible change in crash history
records, my crash count with the new version is still 0.<br>
<br>
The extended mode also has been running 100% fine during
the last days, so I can also check in some more Twizy
& CANopen functionality later on :-)<br>
<br>
Btw, I read about the Mia also using a SEVCON Gen4. So
if there's a Mia OVMS development going on somewhere:
the Twizy tuning commands should be easily portable,
should just need to be adapted to the other defaults.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<br>
Am 18.01.2014 03:46, schrieb Mark Webb-Johnson:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Wow, just wow!<br>
<br>
I’ve been running this (2.6.x code, with Michael’s
interrupt handling enhancements, and a switch to
extended mode compilation) in my car and the
difference is amazing.<br>
<br>
The best indicator I have of interrupt performance is
the digital speedo in the Tesla Roadster. That relies
on picking up the transmission of a single CAN bus
message, then following it up very quickly with a
sequence of 3 override CAN bus messages. Previously it
was ok, but now (with the new Interrupt code) it seems
much much smoother.<br>
<br>
Well done, Michael! Great contribution.<br>
<br>
I’ll be fixing up the compiler warnings (just a
difference in ‘static’ vs ‘auto’ storage mode in
extended mode) and then will commit the switch to
extended mode to the repository as 2.6.2. I should get
this done today.<br>
<br>
Regards, Mark.<br>
<br>
On 15 Jan, 2014, at 6:19 am, Michael Balzer <<a moz-do-not-send="true" href="mailto:dexter@expeedo.de" target="_blank">dexter@expeedo.de</a>>
wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Mark,<br>
<br>
I now also have compiled in extended mode (got no
choice). I only get some warnings about static
function args, not sure if they need to be static,
doesn't seem so.<br>
<br>
First tests have been completely fine in both diag
and live mode, so I'll use the extended mode
firmware during the next days to see if anything
goes wrong.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
Am 08.01.2014 14:18, schrieb Mark Webb-Johnson:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Not sure if we can use extended mode or not - if
we can, it will give us a lot of breathing room.
If I enable extended mode, everything compiles
just fine (all configs). Supposedly the PIC18F2685
supports the C-optimised extended instruction set.<br>
<br>
Regards, Mark.<br>
<br>
</blockquote>
-- <br>
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal<br>
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26<br>
<dexter.vcf>_______________________________________________<br>
OvmsDev mailing list<br>
<a moz-do-not-send="true" href="mailto:OvmsDev@lists.teslaclub.hk" target="_blank">OvmsDev@lists.teslaclub.hk</a><br>
<a moz-do-not-send="true" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</blockquote>
_______________________________________________<br>
OvmsDev mailing list<br>
<a moz-do-not-send="true" href="mailto:OvmsDev@lists.teslaclub.hk" target="_blank">OvmsDev@lists.teslaclub.hk</a><br>
<a moz-do-not-send="true" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</blockquote>
<br>
-- <br>
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal<br>
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26<br>
<br>
<br>
_______________________________________________<br>
OvmsDev mailing list<br>
<a moz-do-not-send="true" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>
<a moz-do-not-send="true" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
<br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a moz-do-not-send="true" 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 * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
</div>
</blockquote>
<blockquote type="cite">
<div><dexter.vcf></div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>OvmsDev mailing list</span><br>
<span><a moz-do-not-send="true" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a></span><br>
<span><a moz-do-not-send="true" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a></span><br>
</div>
</blockquote>
<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 * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
</div>
<span><dexter.vcf></span>_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br></blockquote></div><br></div></body></html>