2011 Nissan Xterra

Your chance to introduce yourself and your vehicle
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

2011 Nissan Xterra

Post by AndreyB »

Body-on-frame SUV with https://en.wikipedia.org/wiki/Nissan_VQ_engine#VQ40DE engine.

Looks like CAN message format reverse engineering would be where this has to start.

Abricos has one of https://canhacker.com/ devices and I might get white panda from https://comma.ai/shop/products/panda

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
mck1117
running engine in first post
running engine in first post
Posts: 1495
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: 2011 Nissan Xterra

Post by mck1117 »

AndreyB wrote:
Wed Feb 10, 2021 1:38 am
Body-on-frame SUV with https://en.wikipedia.org/wiki/Nissan_VQ_engine#VQ40DE engine.

Looks like CAN message format reverse engineering would be where this has to start.

Abricos has one of https://canhacker.com/ devices and I might get white panda from https://comma.ai/shop/products/panda
Why get a $300 device when you could get https://canable.io/ for $29 instead?
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

$99 device comes with relevant software https://my.comma.ai/cabana/
image.png
image.png (229.3 KiB) Viewed 24205 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
mck1117
running engine in first post
running engine in first post
Posts: 1495
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: 2011 Nissan Xterra

Post by mck1117 »

Oh $100 isn't so bad - especially with an OBD connector attached.
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

AndreyB wrote:
Wed Feb 10, 2021 1:38 am
I might get white panda from https://comma.ai/shop/products/panda
Well, is this a total turd?

I have NO idea how to setup this white panda.

Box comes with https://comma.ai/setup URL which does not help me at all.

https://comma-ai.medium.com/a-panda-and-a-cabana-how-to-get-started-car-hacking-with-comma-ai-b5e46fae8646 has "How to get started" section
with http://getchffr.com/ URL which redirects me to https://comma.ai/ which again has zero info on white panda setup.

I can see pands-xxx-pairing wifi but no idea what it gives me.

Panda has USB female plug same as my legacy USB plug. I doubt they want me to use the weird unique cable but Nick has the weird unique symmetrical cable and that gives me Unrecognized Device in windows.

Wow, this comma white panda is amazingly unclear for me.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
puff
contributor
contributor
Posts: 2962
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: 2011 Nissan Xterra

Post by puff »

will this make it more clear?
https://github.com/commaai/panda
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

puff wrote:
Fri Jun 25, 2021 10:06 pm
will this make it more clear?
https://github.com/commaai/panda
https://github.com/commaai/panda/tree/master/drivers/windows is the most useful link so far! I've installed the driver but still unknown device.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

Internet has all the cool data
image.png
image.png (22.95 KiB) Viewed 23804 times
image.png
image.png (55.14 KiB) Viewed 23804 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

Test driver development to the stars here!
image.png
image.png (141.49 KiB) Viewed 23769 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

Bank 1, bank 2 they say in factory service manual https://www.nicoclub.com/archives/use-nicoclub-coms-factory-service-manual-database.html


image.png
image.png (54.7 KiB) Viewed 23740 times
but nice wiring diagram says Left and Right bank. Next question is which one is which :)

https://raw.githubusercontent.com/wiki/rusefi/rusefi/OEM-Docs/Nissan/2011_Xterra/2011_Xterra_ECU.png

I guess I need to simply find wiring diagram in FSM and see which head is wire 14.
image.png
image.png (9.73 KiB) Viewed 23740 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
pk386
Posts: 37
Joined: Fri Feb 08, 2019 11:12 pm
Location: Ridgeland, MS

Re: 2011 Nissan Xterra

Post by pk386 »

image.png
image.png (33.94 KiB) Viewed 23716 times
if its a FWD application its the one closest to the fire wall
pk386
Posts: 37
Joined: Fri Feb 08, 2019 11:12 pm
Location: Ridgeland, MS

Re: 2011 Nissan Xterra

Post by pk386 »

Also if you go into the FSM wiring diagrams Always POST the connector number.

Example E152 is the ECM connector
image.png
image.png (39.35 KiB) Viewed 23715 times
Also the ASCD (Automatic Speed control)(AKA cruise control) IS routed to the ECM and monitors for different voltages from the voltage divider....
Figured you might want to implement some sort of (Make a time stamp here in the logs when I press this button) feature for getting started.

image.png
image.png (47.28 KiB) Viewed 23715 times
mck1117
running engine in first post
running engine in first post
Posts: 1495
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: 2011 Nissan Xterra

Post by mck1117 »

As a general rule bank 1 always contains cylinder number 1.
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

Once I've enabled main relay output I got nice crank and both cam signals into rusEFI!

https://rusefi.com/online/view.php?msq=576

CAN bus is silent and I've already checked settings once any ideas?

Still have some fixed to do to get trigger magic to be fully magical after all that's the first simmetrical crank vehicle with two banks of VVT.
Attachments
2021-07-05_20_12_23_302rpm_0_maf_0.052000000000000005.png
2021-07-05_20_12_23_302rpm_0_maf_0.052000000000000005.png (60.38 KiB) Viewed 23685 times
2021-07-05_20_11_59_264rpm_0_maf_0.052000000000000005.png
2021-07-05_20_11_59_264rpm_0_maf_0.052000000000000005.png (61.1 KiB) Viewed 23685 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
bill
Posts: 219
Joined: Sun Mar 29, 2020 1:44 pm
Location: DC usa

Re: 2011 Nissan Xterra

Post by bill »

cylinder 1 is the cylinder farthest to the FRONT of the engine...
on a VEE engine
and bank 1 holds cyl 1
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

Soldering connector pins to breakout has helped CAN

Code: Select all

2021-07-06_11_30_21_268: EngineState: CAN_rx 29E 670 8
2021-07-06_11_30_21_268: EngineState: CAN_rx 354 852 8
2021-07-06_11_30_21_268: EngineState: CAN_rx 2DE 734 8
2021-07-06_11_30_21_269: EngineState: CAN_rx 251 593 8
2021-07-06_11_30_21_269: EngineState: CAN_rx 2A5 677 7
2021-07-06_11_30_21_269: EngineState: CAN_rx 215 533 6
2021-07-06_11_30_21_269: EngineState: CAN_rx 6F7 1783 8
2021-07-06_11_30_21_269: EngineState: CAN_rx 2DE 734 8
2021-07-06_11_30_21_270: EngineState: CAN_rx 251 593 8
2021-07-06_11_30_21_270: EngineState: CAN_rx 2A5 677 7
2021-07-06_11_30_21_270: EngineState: CAN_rx 284 644 8
2021-07-06_11_30_21_270: EngineState: CAN_rx 29E 670 8
2021-07-06_11_30_21_270: EngineState: CAN_rx 358 856 8
2021-07-06_11_30_21_271: EngineState: Sending CAN message: SID 23D/8 0 0 0 0 0 0 0 70
2021-07-06_11_30_21_271: EngineState: CAN_rx 6F7 1783 8
2021-07-06_11_30_21_271: EngineState: CAN_rx 2D1 721 7
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

Two CAN milestones - I have gauge cluster displaying RPM and radiator fan is no longer wining in limping mode all the time looks like coolant temperature messages are being accepted by the vehicle.

Also got VVT position to synchronize once I've inverted cam sensor signal.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

First time hooking up fully soldered Hellen on my daily driver!

ETB control works even while it should NOT have worked - ETB relay was supposed to be Lua-controlled and it just works without any Lua script? Weird.

https://rusefi.com/online/view.php?msq=644
https://rusefi.com/online/view.php?log=345 shows pedal error in the middle of the range. Open question if that's about wrong op-amps or wrong tune or both.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

Yep, it was about op-amp. Now with U106 U108 and U109 swapped for proper part I have happy pedal position and happy ETB control.
image.png
image.png (1.57 MiB) Viewed 22940 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

By the way this vehicle has Jatco 5R05 https://en.wikipedia.org/wiki/Jatco_5R05_transmission - the whole CAN bus integration is similar to E65 in principle, obviously with zero overlap in specifics.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

http://shop.ukrtrans.biz/wp-content/uploads/catalogs/RE5R05A.pdf tells us that external 10 pin transmission connector is just an adapter for internal transmission harness. https://atracom.blob.core.windows.net/webinars/import/sap_atra_webinar_re5ro5a.pdf another good one

Slavic people are offering us that part! That makes me wonder if it has an official Nissan or Jatco part number?

relevant pages of official documentation PG-46 & TM-176 https://www.nicoclub.com/nissan-service-manuals
image.png
image.png (256.24 KiB) Viewed 21653 times
image.png
image.png (116.43 KiB) Viewed 21653 times
image.png
image.png (190.25 KiB) Viewed 21653 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

There is that old old CAN file of 370Z

https://www.dropbox.com/s/cfpzb2mpj42q6ug/370Z%20CAN.xlsx http://www.the370z.com/tuning/89695-370z-can-bus-proprietary-pids-2.html

I see overlap on 1F9 551 580 not much but at least something!
Attachments
370Z CAN.xlsx
(100.8 KiB) Downloaded 199 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

Sporadic P0101 check engine is a known annoyance of this vehicle

https://www.thenewx.org/threads/p0101-fault-code.232130/

It has been exactly two years since I've installed a HITACHI MAF0031 from Rockauto. Do I really need to get a new one? Weird.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

Well, clearing those two harness grounds on passenger side fender has allowed me to pass inspection?! Either that or warmer weather allows ECU to test evap / o2 / something else much much quicker?!
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

They have accepted by https://github.com/commaai/opendbc/blob/master/nissan_xterra_2011.dbc

it's tiny but at least it's what I officially know about my CAN bus.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

AndreyB wrote:
Tue Mar 22, 2022 9:04 pm
MAF0031
Also known as 22680-7S000? https://www.romraider.com/forum/viewtopic.php?f=58&t=12453 has resulted in https://github.com/ba114/MAF-Scaling which includes the curve for that one.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2011 Nissan Xterra

Post by AndreyB »

https://my.prostreetonline.com/2015/02/03/dtc-p0101-test-a-vq35-maf/

On real car with MAF unhooked and poking into harness plug like on the picture, I do see 4.7v on pin 5 which is the pull-up of the intake air thermistor.

Does me not seeing similar voltage on pin 4 MAF signal mean that this MAF does not need a pull-up on the ECU side? Is there such a thing as a MAF sensor which takes automotive battery power in and produces nice voltage, not current output?



PIN 2 switched 12 volt power for your MAF
PIN 4 MAF signal wire
PIN 3 ground wire or low reference for your mass air flow sensor
PIN 5 switched 5 volt signal. (No it's not, it's intake air pull-up showing itself being a pull-up)
image.png
image.png (697.78 KiB) Viewed 16535 times
image.png
image.png (16.36 KiB) Viewed 16535 times
https://raw.githubusercontent.com/wiki/rusefi/rusefi/OEM-Docs/Nissan/2011_Xterra/2011_Xterra_ECU.png
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Post Reply