User avatar
Dala
Forum Supporter
Posts: 194
Joined: Sun Oct 28, 2018 11:24 am
Delivery Date: 01 Jan 2015
Leaf Number: 316851
Location: Finland
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Mon Dec 09, 2019 2:15 pm

I've been working for over 10+ hours with the CAN database files. I recently stumbled upon new information, and can finally solve 60% of the EV-CAN with this information. I am uploading all my findings to GitHub, so anyone wanting to take it into use will have an excellent starting point.

Database files can be found here: https://github.com/dalathegreat/leaf_can_bus_messages

Image

coleafrado
Posts: 197
Joined: Fri Oct 11, 2019 11:58 pm
Delivery Date: 17 Dec 2011
Leaf Number: 17123

Re: LEAF CANbus decoding. (Open discussion)

Wed Dec 18, 2019 6:32 am

Great work, Dala! Thank you for sharing these efforts publicly.

49thdiver
Forum Supporter
Posts: 23
Joined: Fri Feb 07, 2020 10:14 pm
Delivery Date: 15 Jan 2020
Leaf Number: 305065
Location: CANADA's westcoast
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Sun Feb 16, 2020 9:02 pm

Hi everyone, I am wondering has anybody had any success in communicating directly with the PDM in a 2015 vintage leaf.
I have removed a unit from a wrecked car. I have it set up on the bench and connected all the connections I believe I need thru the B24 connector. I have powered the unit up with out a battery load and I have measured a 5 volt signal on the battery connections. I presume this test signal out to the connector to see if teh battery is there. A short burst of data is sent out over the can bus at the same time. I have connected a test battery load to it in the 340 volt range and it does not change any of the start up conditions. Changing the inputs on the B24 connector does not initiate any new messages over the can bus. The two messages are as follows, grabbed using a DigiView D9:
SOF SOF
BASEID 30C
FRAME TYPE DATA
DLC 4
DATA 0
DATA 20
DATA 0
DATA 81
FORMERROR CRC-D
NAK N
FORMERROR EOF

This message is sent a number of times and followed by :

SOF SOF
BASEID 302
FRAME TYPE REMOTE
DLC 2
FORMERROR CRC-D
ACK A
FORMERROR ACK-D
FORMERROR EOF

Also sent a number of times.

I am going to be setting up packet sniffing on a working leaf to try and figure out the messaging. I realize I have to pick this particular data on the EV SYSTEM CAN not the CAN Communications circuit.
My hope is to move the Battery and charging system into a 2002 Toyota RAV4 EV replacing the NIMH pack and charger with as little of the leaf system going with it as possible. I am going to attempt to spoof the RAV4 EV into thinking it still has the NIMH pack.
The leaf pack looks like it will be content to operate independently,
First step is to get both the pack and charger working independent of the VCM and the rest of the car.

Any insights in how to communicate with the charger appreciated.


Thanks Peter
Peter
Dangerous if left unattended.
1985 Grumman Olsen Kubvan, 2002 Rav4 EV, 2000 Ford Ranger EV, 2015 Nissan leaf, Bitrix LJ

49thdiver
Forum Supporter
Posts: 23
Joined: Fri Feb 07, 2020 10:14 pm
Delivery Date: 15 Jan 2020
Leaf Number: 305065
Location: CANADA's westcoast
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Sun Feb 16, 2020 9:18 pm

IskeSoderlund wrote:
Sat Sep 08, 2018 1:22 pm

If anyone wants my codes for the program or help with making the charger "think" its in a leaf just contact me!
I would like to get a copy of your code, the forum will not let me message you as I am new on the forum perhaps you can send me a pm.

I am trying to get a PDM from a 2015 leaf to run stand alone with an original battery pack for a 2002 RAV4 EV.
I just posted the details any help appreciated.
With thanks, Peter
Peter
Dangerous if left unattended.
1985 Grumman Olsen Kubvan, 2002 Rav4 EV, 2000 Ford Ranger EV, 2015 Nissan leaf, Bitrix LJ

49thdiver
Forum Supporter
Posts: 23
Joined: Fri Feb 07, 2020 10:14 pm
Delivery Date: 15 Jan 2020
Leaf Number: 305065
Location: CANADA's westcoast
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Sun Feb 16, 2020 10:39 pm

Any success with this seems like a few people have tried and stalled. I am just starting on project I have wrecked car and a functioning car to play with.
Perhaps thi work should be a new thread.
[/quote]

I'm trying to start the charger. On a block of charges, the LED indicates that the charge is running, but there is no current on the batteries. Do you have success?
[/quote]
Peter
Dangerous if left unattended.
1985 Grumman Olsen Kubvan, 2002 Rav4 EV, 2000 Ford Ranger EV, 2015 Nissan leaf, Bitrix LJ

TrueSoln
Posts: 24
Joined: Mon Sep 30, 2019 2:44 am
Delivery Date: 01 Dec 2018

Re: LEAF CANbus decoding. (Open discussion)

Mon Feb 17, 2020 1:56 am

NiallDarwin wrote:
Sun Nov 24, 2019 3:21 pm
Tremelune wrote:
Sun Aug 25, 2019 12:27 pm


Jimma Hanna's video on getting the DC-DC converter working: https://www.youtube.com/watch?v=BMhcHkOg-Mk
@Tremelune Broken Link! Any chance its still up but moved?
I think I found the video inside another very long one
This link jumps to his part: https://youtu.be/ipEzK1yzxHY?t=6424

49thdiver
Forum Supporter
Posts: 23
Joined: Fri Feb 07, 2020 10:14 pm
Delivery Date: 15 Jan 2020
Leaf Number: 305065
Location: CANADA's westcoast
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Sat Feb 22, 2020 9:00 pm

celeron55 wrote:
Wed Feb 07, 2018 11:48 am
Nice!

I predict this to be a bit more difficult than the inverter, but we'll see.
Hi Celeron55, did you have any further success with the charger.

I have started a thread here : https://mynissanleaf.com/viewtopic.php?p=579472#p579446

Let me know or chime in on the thread if you can.

I an going to be hooking up all the modules VCM, BCM, PDM that I have removed for the wrecked leaf. I do not have a working inverter and the BMS is still in the pack. I am going to monitor the EVCAN System bus while trying to initiate a charge. So far I have only run the PDM stand alone it sends a couple of messages repeatedly when i plug in the charger and that is it. I guess it is waiting for a response from another system.
Peter
Dangerous if left unattended.
1985 Grumman Olsen Kubvan, 2002 Rav4 EV, 2000 Ford Ranger EV, 2015 Nissan leaf, Bitrix LJ

Capov
Posts: 4
Joined: Wed Feb 26, 2020 8:02 pm
Delivery Date: 27 Feb 2020

Re: LEAF CANbus decoding. (Open discussion)

Wed Feb 26, 2020 8:50 pm

Hi everyone,

Is somebody working on a 2020 leaf? I just started to work on it yesterday using the dbc file done by Dala. I am plugged on the HV CAN somewhere in a connector (nothing execpt on request on the OBDII). I have already found and corrected some differences between the older version and the new version, but if somebody already works on it, it could be fine to share our constatations.

Thanks,

Capov

mux
Posts: 271
Joined: Sat Jan 13, 2018 3:52 am
Delivery Date: 13 Oct 2011
Leaf Number: 6177

Re: LEAF CANbus decoding. (Open discussion)

Thu Feb 27, 2020 2:38 pm

I'm not working on a gen5 (62kWh) Leaf as I have no access to any, but we are trying to fix a few lingering DTCs in a gen5 pack for which a few EV-CAN traces from a functional 2020 Leaf would be helpful. If you're willing to share, I'm all ears!

MAR156
Posts: 14
Joined: Sun Apr 07, 2019 10:41 am
Delivery Date: 07 Apr 2019

Re: LEAF CANbus decoding. (Open discussion)

Sat Feb 29, 2020 1:18 am

The EV-CAN track is exactly 2020, there is the 2019 LEAF62 track.

Return to “LEAF CANBus”