<div dir="ltr">Hi Tom,<div><br></div><div>I'm also in NZ with a gen 1 japanese import leaf, if you want another tester feel free to give me a shout. I'm happy to help out the cause but little skill in this area, I'm a IT Sys Admin so techie but just not in embedded systems.</div><div><br></div><div>Stu<br><div class="gmail_extra"><br><div class="gmail_quote">On 15 February 2016 at 17:00, <span dir="ltr"><<a href="mailto:ovmsdev-request@lists.teslaclub.hk" target="_blank">ovmsdev-request@lists.teslaclub.hk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send OvmsDev mailing list submissions to<br>
<a href="mailto:ovmsdev@lists.teslaclub.hk">ovmsdev@lists.teslaclub.hk</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" rel="noreferrer" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:ovmsdev-request@lists.teslaclub.hk">ovmsdev-request@lists.teslaclub.hk</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:ovmsdev-owner@lists.teslaclub.hk">ovmsdev-owner@lists.teslaclub.hk</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of OvmsDev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Nissan Leaf + Dev Environment (Tom Parker)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 14 Feb 2016 21:42:40 +1300<br>
From: Tom Parker <<a href="mailto:tom@carrott.org">tom@carrott.org</a>><br>
Subject: [Ovmsdev] Nissan Leaf + Dev Environment<br>
To: OVMS Developers <<a href="mailto:ovmsdev@lists.teslaclub.hk">ovmsdev@lists.teslaclub.hk</a>><br>
Message-ID: <<a href="mailto:56C03E00.5010904@carrott.org">56C03E00.5010904@carrott.org</a>><br>
Content-Type: text/plain; charset=utf-8; format=flowed<br>
<br>
Hi,<br>
<br>
I just got an OVMS for my 2012 Japanese Domestic Manufacture Nissan<br>
Leaf. I also ordered the Leaf OBDII cable:<br>
<a href="https://www.fasttech.com/p/1779000" rel="noreferrer" target="_blank">https://www.fasttech.com/p/1779000</a> in my left hand drive car, this cable<br>
points towards the driver rather than towards the front of the car, I<br>
wonder if it's possible to rotate the socket in the car to make the<br>
cable point the other way?<br>
<br>
I didn't have any trouble setting up and communicating via the app or<br>
SMS on New Zealand's 2degrees cell network.<br>
<br>
I programmed the 2.6.5 firmware as recommended by the "Firmware<br>
Easy-Install" link on <a href="https://www.openvehicles.com/" rel="noreferrer" target="_blank">https://www.openvehicles.com/</a> which turned out to<br>
be a mistake. This I think this firmware expects the Car CAN bus but the<br>
Leaf OBDII cable connects the EV CAN bus. For a while I thought I had<br>
faulty hardware but the soldering looked good and when I took my<br>
oscilloscope out to the car and found CAN data entering the PIC<br>
microcontroller.<br>
<br>
It turns out the 2.6.5 firmware is old and you need a later one to work<br>
with the EV CAN bus on the Leaf cable. I'm not entirely sure how I<br>
missed that, I just checked out the tag without looking at the other tags.<br>
<br>
I installed<br>
<a href="http://ww1.microchip.com/downloads/en/DeviceDoc/MPLABX-v3.20-linux-installer.tar" rel="noreferrer" target="_blank">http://ww1.microchip.com/downloads/en/DeviceDoc/MPLABX-v3.20-linux-installer.tar</a><br>
and<br>
//<a href="http://bitbucket.org/simbuckone/simbuckbaseproject/downloads/mplabc18-v3.40-linux-full-installer.run" rel="noreferrer" target="_blank">bitbucket.org/simbuckone/simbuckbaseproject/downloads/mplabc18-v3.40-linux-full-installer.run</a><br>
(and verified the md5sum matches<br>
<a href="http://www.microchip.com/forums/m662617.aspx" rel="noreferrer" target="_blank">http://www.microchip.com/forums/m662617.aspx</a> for whatever that is worth)<br>
and have a working development environment and have built and programmed<br>
master into my unit and everything seems to be working.<br>
<br>
Thank you all for your work on this project, I'll post again about<br>
improving the leaf support (I do embedded development in my spare time).<br>
The cars intended for the Japanese market have CARWINGS, but the<br>
telematics module doesn't work in New Zealand (incompatible cell network<br>
apparently).<br>
<br>
<br>
------------------------------<br>
<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" rel="noreferrer" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
<br>
<br>
End of OvmsDev Digest, Vol 49, Issue 20<br>
***************************************<br>
</blockquote></div><br></div></div></div>