Nissan 370Z Forum  

Can bus Hacking

Originally Posted by dts3 So I started my CAN logging software on my laptop and started logging in Uprev, hoping to see the PID requests for each parameter one by

Go Back   Nissan 370Z Forum > Nissan 370Z Tech Area > Engine & Drivetrain > Tuning


Like Tree9Likes

 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-26-2020, 08:51 AM   #8 (permalink)
Base Member
 
Join Date: Jan 2016
Location: Ontario
Posts: 230
Drives: G37 Sport
Rep Power: 6721
SonicVQ has a reputation beyond reputeSonicVQ has a reputation beyond reputeSonicVQ has a reputation beyond reputeSonicVQ has a reputation beyond reputeSonicVQ has a reputation beyond reputeSonicVQ has a reputation beyond reputeSonicVQ has a reputation beyond reputeSonicVQ has a reputation beyond reputeSonicVQ has a reputation beyond reputeSonicVQ has a reputation beyond reputeSonicVQ has a reputation beyond repute
Default

Quote:
Originally Posted by dts3 View Post

So I started my CAN logging software on my laptop and started logging in Uprev, hoping to see the PID requests for each parameter one by one. Logging in Uprev was working and I could see correct parameters. I couldn't see it in my CAN bus logging software.

I was trying to troubleshoot and noticed that I never connected the CAN lines together. So Uprev does all of their PID request logging outside of the CAN bus lines. I was thinking it's coming in over K-line, but I looked in the FSM and I didn't see K-line being brought out to an OBD pin.

We have a K-line BUS but if I remember correctly the FSM says that it's for internal use only, for modules to communicate with each other. Does anyone have any info on this? If I can't see K-line traffic I'm going to have to put a scope on the vendor specific pins, and I REALLY don't want to do that inside of the car.
The latest documentation I have is for a 2016 370z, and I don't think Nissan would have changed anything since. Based on the ROM you posted, your 370 is from 2017 and I would expect it to be the same.

The K-Line is still on pin 7 of the OBD connector and goes directly to pin 117 of the ECU. Nissan sometimes calls it "K-Line" and sometimes calls it "Data Link Connector"

Try this test:
• With the CAN bus not connected, log data and look at the time between samples. The UpRev log shows time in milliseconds.
• Hook up the CAN bus and run the data logging program again.

Since the K-Line runs at 10,400 bits per second, and CAN bus runs at 500,000 bits per second, I would expect the time between data to be much faster with the CAN bus.

I suspect the UpRev software checked the CAN bus for communication, didn't see it and "failed over" to the K-line.
This would allow them to use the same code for older cars (before 2008) that don't have CAN bus.
I look forward to your test results
JARblue likes this.

Last edited by SonicVQ; 04-26-2020 at 08:59 AM.
SonicVQ is offline   Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
People hacking cars Rooster89 The Lounge (Off Topic) 1 07-23-2011 06:32 AM


All times are GMT -5. The time now is 02:00 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 PL2