<div dir="ltr">Thanks.. it didn't seem to work, so I figured I'd reset via the programmer - then for some reason pc originally used wouldn't work. All reflashed/reset ok now via laptop, I don't know the mplab sw well but suspect something's amiss with the drivers. Still I'm run out of time today and at least it's all configured correctly now (type NL) and I've proven ability to build. So a decent start before launching into the code. Not tried debugging yet. Thanks for the tips. Close shave this afternoon ;-)</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 3 May 2014 17:26, Mark Webb-Johnson <span dir="ltr"><<a href="mailto:mark@webb-johnson.net" target="_blank">mark@webb-johnson.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Just re-send the MODULE command to redefine the vehicle type.<div><br></div><div>Regards, Mark.</div><div><br><div><div><div class="h5"><div>On 3 May, 2014, at 10:25 pm, Nigel Jones <<a href="mailto:nigel@cherrybyte.me.uk" target="_blank">nigel@cherrybyte.me.uk</a>> wrote:</div>
<br></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr">Hi,<div> Just a quick update. As of yesterday all my hardware arrived so I spent an hour or two this morning setting up OVMS</div><div><br></div>
<div> I have the toolchain sorted, and was able to build the v2 experimental fw from source. This incldues a definition of OVMS_CAR_NISSANLEAF so should load the leaf prototype module</div>
<div><br></div><div> The firmware also flashed fine though I had to use the standalone flash tool rather than the IDE for this step as I couldn't find the option to provide 5V from the programmer? Never mind....</div>
<div><br></div><div> Once flashed I was able to go through updatign password, registering,. including on openvehicles website. I can chat via SMS, and can see the car in the android app. I can get GPS data and check firmware revision.</div>
<div><br></div><div>Great.</div><div><br></div><div>I did though when configuring specify a vehicle type of "LE"</div><div><br></div><div><div style="clear:both;width:549px;display:inline-block;color:rgb(51,51,51);font-family:'Open Sans',sans-serif;font-size:10px;background-color:rgb(251,251,251)">
<span style="float:left;color:rgb(82,82,82);border:0.1em solid rgb(222,222,222);border-top-left-radius:0.5em;border-top-right-radius:0.5em;border-bottom-right-radius:0.5em;border-bottom-left-radius:0.5em;margin:0.7em 0.4em 0.7em 1.6em;padding:0.8em;min-width:50%;max-width:70%;word-wrap:break-word;background-image:linear-gradient(rgb(252,252,252) 0%,rgb(242,242,242) 100%);background-color:rgb(247,247,247)"><span style="font-size:1.4em;font-weight:700;padding-right:0.3em">+44NNNNNNNNNN:</span><span style="font-size:1.4em">Module:<br>
VehicleID:XXX<br>VehicleType:LE<br>Units:K<br>Notifications:SMSIP</span><span style="font-size:1.3em;color:rgb(153,153,153)"> 9:36 AM</span><span style="border-style:solid;border-width:0.8em 0.8em 0.8em 0px;border-color:rgba(255,255,255,0) rgb(222,222,222) rgba(255,255,255,0) rgba(255,255,255,0);min-height:0px;width:1.6em;display:block"></span><span style="border-style:solid;border-width:0.8em 0.8em 0.8em 0px;border-color:rgba(255,255,255,0) rgb(243,243,243) rgba(255,255,255,0) rgba(255,255,255,0);min-height:0px;width:1.6em;display:block"></span><div>
</div></span></div><div style="clear:both;width:549px;display:inline-block;color:rgb(51,51,51);font-family:'Open Sans',sans-serif;font-size:10px;background-color:rgb(245,245,245)"><span style="float:right;color:rgb(9,56,81);border:0.1em solid rgb(165,204,222);border-top-left-radius:0.5em;border-top-right-radius:0.5em;border-bottom-right-radius:0.5em;border-bottom-left-radius:0.5em;margin:0.7em 1.6em 0.7em 0.4em;padding:0.8em;min-width:50%;max-width:70%;word-wrap:break-word;background-image:linear-gradient(rgb(237,248,252) 0%,rgb(214,235,243) 100%);background-color:rgb(226,242,248)"><span style="font-size:1.4em;font-weight:700;padding-right:0.3em">Me:</span><span style="font-size:1.4em">MODULE XXX K SMSIP LE</span><span style="font-size:1.3em;color:rgb(116,143,153)"> 9:36 AM</span></span></div>
<div><br></div><div>I then updated this by replacing the correct "NL" for LE, but now I just get back:</div><div><br></div><div><span style="color:rgb(82,82,82);font-family:'Open Sans',sans-serif;font-size:14px;background-color:rgb(247,247,247)">VehicleID:JN1FAAZE0U0005853</span><br style="color:rgb(82,82,82);font-family:'Open Sans',sans-serif;font-size:14px;background-color:rgb(247,247,247)">
<span style="color:rgb(82,82,82);font-family:'Open Sans',sans-serif;font-size:14px;background-color:rgb(247,247,247)">VehicleType:</span><br style="color:rgb(82,82,82);font-family:'Open Sans',sans-serif;font-size:14px;background-color:rgb(247,247,247)">
<span style="color:rgb(82,82,82);font-family:'Open Sans',sans-serif;font-size:14px;background-color:rgb(247,247,247)">Units:K</span><br style="color:rgb(82,82,82);font-family:'Open Sans',sans-serif;font-size:14px;background-color:rgb(247,247,247)">
<span style="color:rgb(82,82,82);font-family:'Open Sans',sans-serif;font-size:14px;background-color:rgb(247,247,247)">Notifications:SMSIP</span><br></div><div><span style="color:rgb(82,82,82);font-family:'Open Sans',sans-serif;font-size:14px;background-color:rgb(247,247,247)"><br>
</span></div><div><span style="color:rgb(82,82,82);font-family:'Open Sans',sans-serif;font-size:14px;background-color:rgb(247,247,247)">NO idea why vehicle type is NULL. I tried a reset. I was thinking I may reset the config completely, but have I done anything obviously wrong? Is it possible to change vehicle type once set?</span></div>
<div><span style="color:rgb(82,82,82);font-family:'Open Sans',sans-serif;font-size:14px;background-color:rgb(247,247,247)"><br></span></div><div><font color="#525252" face="Open Sans, sans-serif"><span style="font-size:14px;background-color:rgb(247,247,247)">Very early stages of learning... with the intent of course to refine the leaf support :-)</span></font></div>
<div><font color="#525252" face="Open Sans, sans-serif"><span style="font-size:14px;background-color:rgb(247,247,247)"><br></span></font></div><div><font color="#525252" face="Open Sans, sans-serif"><span style="font-size:14px;background-color:rgb(247,247,247)">Nigel.</span></font></div>
----<br>Nigel Jones
</div></div></div></div>
_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk" target="_blank">OvmsDev@lists.teslaclub.hk</a><br><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</blockquote></div><br></div></div><br>_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>----<br>Nigel Jones
</div>