<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; ">Tom,<div><br></div><div>I sent out a subsequent eMail last night - I managed to shoe-horn ACC into v1 firmware (at the expense of DIAG mode):</div><div><br></div><div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><span style="font-family: monospace; ">The good news is that by doing some juggling around, I've managed to shoe-horn ACC into the V1_Production code for v1 hardware modules.</span></div><div><span style="font-family: monospace; ">We've got 3,614bytes of flash and 504bytes of RAM free to play with! The sad news is that this is at the expense of DIAG mode.</span></div><div><span style="font-family: monospace; ">Anyway, if developers really need that, they can build a custom firmware for it anyway, so not too bad. I may be able to bring it</span></div><div><span style="font-family: monospace; ">back for v1 hardware at a later stage, if we can reduce code-size elsewhere.</span></div></blockquote></div><div><br></div><div>That said, the v2 hardware is so much better than v1 :-)</div><div><br></div><div>Regards, Mark.</div><div><br><div><div>On 29 Aug, 2013, at 5:17 AM, Tom Saxton <<a href="mailto:tom@idleloop.com">tom@idleloop.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Well, I guess that means it's time to order a V2 OVMS<br><br>I'm looking forward to all the new features!<br><br><span class="Apple-tab-span" style="white-space:pre"> </span>Tom<br><br>On 8/27/13 7:05 AM, "Mark Webb-Johnson" <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>> wrote:<br><br><blockquote type="cite"><br>I've just pushed to github the code for v2.5.2. This includes a workable<br>ACC module, as well as a bunch of bug fixes. It also includes a<br>re-working of the cooldown feature in the Tesla Roadster, based on many a<br>hot evening spent in my car with a CAN USB adaptor and laptop.<br><br>For the Tesla Roadster, I managed to find two new id#100 messages related<br>to HVAC - 0x87 and 0x9A. This is now used by the cooldown feature to<br>track HVAC usage and try to make it work better.<br><br><span class="Apple-tab-span" style="white-space:pre"> </span>HVAC<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>HVAC message 0x87 and 0x9A are enabled with:<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>102 06 D0 07 00 00 80 00 08<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>and disabled with:<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>102 06 10 27 00 10 00 00 00<br><br><br><span class="Apple-tab-span" style="white-space:pre"> </span>HVAC#1<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>B1=0x87<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>B2=Toutside (outside temperature, celcius)<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>B3=Tmaxbrick (ESS temperature, celcius)<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>B4=Tcoolant (coolant temperature, celcius)<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>B5=Requested cooling %<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>B6=Received cooling %<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>B7= LSB \ Compressor RPM<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>B8= MSB /<br><br><span class="Apple-tab-span" style="white-space:pre"> </span>HVAC#2<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>B1=0x9A<br> B2=?<br> B3=?<br> B4=?<br> B5=?<br> B6=? [ seems to be refrigerent pressure (scaled with ~/4)<br>but not certain ]<br> B7=TcabinOutlet (celcius)<br> B8=? [ seems to be outside temperature (celcius) ]<br><br>The build configs are restructured, as previously announced.<br><br>Currently, I haven't been able to fit either LOGGING or ACC in the V1<br>module firmware - it is just too big. I'll keep working on this, as it<br>would be good to get at least ACC in that firmware.<br><br>One caveat: this is largely untested and probably very buggy - which is<br>why I haven't done binary builds yet. I'll test and debug over the next<br>couple of days and then release binaries when I've got something working<br>well.<br><br>Regards, Mark.<br><br><br>_______________________________________________<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><br><br>_______________________________________________<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>