RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 4:09 pm

All times are UTC





Post new topic Reply to topic  [ 114 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Author Message
 Post subject: Re: Nissan Logger Support
PostPosted: Sat Jan 12, 2019 4:30 pm 
Offline
Senior Member

Joined: Mon Jan 19, 2009 6:31 pm
Posts: 1615
Location: Moscow, Russia
viewtopic.php?f=65&t=13566

11xx 14xx response has one byte data
12xx 13xx response has two bytes data

Data availability response has 4 bytes as usual.


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Sat Jan 12, 2019 5:00 pm 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
a33b wrote:
dschultz, do the CID 1100 responses always give a single byte response? This data is actually stored in the ECU as a word value, that's why the scaling conversion was "x/256". However if the response is a single byte, the conversion should just be "x".
Internally the ECU could be using a word for higher precision calculations, but to the external world it's only sending the MSB which would result in a lower precision value.

The logger would complain if the number of bytes expected, and actually received from the ECU don't match.
In the Logger def, the parameter conversion attribute storagetype="uint16" tells the Logger to expect a word response, otherwise expect only a byte.


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Sat Jan 12, 2019 5:51 pm 
Offline
Experienced

Joined: Tue Apr 03, 2018 10:56 am
Posts: 124
Pls tell me about supmask cid - for what first 32bit address. And how programs know what sid is support?


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Sat Jan 12, 2019 6:06 pm 
Offline
Experienced

Joined: Sat Jun 24, 2017 6:23 pm
Posts: 315
pirelli2006 wrote:
Pls tell me about supmask cid - for what first 32bit address. And how programs know what sid is support?

https://en.m.wikipedia.org/wiki/OBD-II_ ... _01_PID_00


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Sat Jan 12, 2019 6:19 pm 
Offline
Senior Member

Joined: Mon Jan 19, 2009 6:31 pm
Posts: 1615
Location: Moscow, Russia
There is a usual test availability procedure.
Request 1100, 1120, 1140 .. 1200, 1220, 1240.. etc.
4 bytes response will tell what data requests are applicable.


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Sat Jan 12, 2019 6:21 pm 
Offline
Experienced

Joined: Tue Apr 03, 2018 10:56 am
Posts: 124
A33b, thank you so much. If i correctly understand, i can agree support check different cid number. For example cid221223 not support but ram address have, can we change bit 0 to 1 and see parameter?


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Sat Jan 12, 2019 6:43 pm 
Offline
Experienced

Joined: Sat Jun 24, 2017 6:23 pm
Posts: 315
pirelli2006 wrote:
A33b For example cid221223 not support but ram address have, can we change bit 0 to 1 and see parameter?

Yes, you can, but it will not necessarily contain valid data.


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Sun Jan 13, 2019 12:21 am 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
If you want to log arbitrary RAM addresses, there's no need to hack CID support bits.

Just create a new logger.xml entry for the address(es) of interest. For example, to log a byte from RAM:
Code:
<ecuparam id="E3" name="Battery RAM Addr" desc="E3-Battery RAM Addr" target="1">
   <ecu id="ZD89A">
      <address>0xFF865E</address>
   </ecu>
   <conversions>
      <conversion units="raw value" expr="x" format="0" />
      <conversion units="VDC" expr="x*0.08" format="0.00" gauge_min="20" gauge_max="0" gauge_step="2" />
   </conversions>
</ecuparam>

To log a word from RAM:
Code:
<ecuparam id="E4" name="Engine Speed RAM Addr" desc="E4-Engine Speed RAM Addr" target="1">
   <ecu id="ZD89A">
      <address length="2">0xFF86E8</address>
   </ecu>
   <conversions>
      <conversion units="raw value" storagetype="uint16" expr="x" format="0" />
      <conversion units="RPM" storagetype="uint16" expr="x*12.5" format="0" gauge_min="8000" gauge_max="0" gauge_step="500" />
   </conversions>
</ecuparam>

Items to note about custom RAM address entries in the logger.xml
  • ecuparam id - must be unique within the <ecuparams> list
  • ecuparam name - the name to display in the parameter list
  • ecuparam desc - a more detailed explanation of the parameter and the hover over Tool Tip string
  • ecuparam target - 1 for ECU, 2 for TCU and 3 for both
  • ecu id - required, must be the ID of the ECU your are logging from, can also be a comma separate list of ECU IDs if the RAM address is valid for each ECU ID
  • address - must be 6 characters long, excluding the 0x
  • address length - 1 for byte (if omitted this is assumed), 2 for word, 4 four float or integer
  • conversion - you can have as many as you want/need
  • conversion storagetype - if omitted the value is assumed to be uint8, if a word is requested (length 2) this must be set to unit16 or int16 whichever is appropriate for the data, other values supported, int8 (length 1), int32 or float if address length is 4.
  • conversion gauge min/max/step - these are optional, if provided they describe the values on a dial gauge

For additional conversion examples you can can look at parameters in the SSM and OBD protocol sections of the Logger.xml file. You will find examples of 'bitwise' and 'if x='.


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Sat Jan 19, 2019 6:18 pm 
Offline
Experienced

Joined: Tue Apr 03, 2018 10:56 am
Posts: 124
I have some problem with use RR windows xp. How can i start app? Dont support choise.exe..


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Sun Jan 20, 2019 12:12 am 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
pirelli2006 wrote:
I have some problem with use RR windows xp. How can i start app? Dont support choise.exe..
Choice.exe was first made available in the Windows XP resource kit. Can you load it?

Otherwise, just make you own run.bat file to start the Editor, such as this:
Code:
set "javaDir=<JAVAW_EXE_PATH>"
echo starting **** RomRaider Editor ****
start "" "%javaDir%" -Djava.library.path=lib/windows -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Dsun.java2d.d3d=true -Xms64M -Xmx512M -jar RomRaider.jar
And replace <JAVAW_EXE_PATH> with the full path to javaw.exe


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Sun Jan 20, 2019 3:27 am 
Offline
Experienced

Joined: Tue Apr 03, 2018 10:56 am
Posts: 124
dschultz wrote:
And replace <JAVAW_EXE_PATH> with the full path to javaw.exe

It's working for me. If i copy choise i have errror. Thank you.


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Tue Jan 29, 2019 5:47 pm 
Offline
Experienced

Joined: Tue Apr 03, 2018 10:56 am
Posts: 124
Hello. I try connect to the nissan tiida 705519n ecu EM63B with RR logger and i have no result, dont connect. Maybe ecu have something different. Can you help me?


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Tue Jan 29, 2019 10:05 pm 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
Send the rr_system.log.
http://www.romraider.com/index.php/RomRaider/HowToDebug


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Tue Feb 12, 2019 7:04 pm 
Offline
Experienced

Joined: Tue Apr 03, 2018 10:56 am
Posts: 124
I recently wrote that I can not connect. forgot to specify that ecu can-only. how can i add support for can-ecu. Is it possible to add addresses, because its right addresses. But will it work?

<transport id="iso15765" name="CAN bus" desc="CAN bus logging.">
<module id="ecu" address="0x000007E8" desc="Engine Control Unit" tester="0x000007E0" />
<module id="tcu" address="0x000007E9" desc="Transmission Control Unit" tester="0x000007E1" />
</transport>

may still need another adapter? like vag k + can?


Top
 Profile  
 
 Post subject: Re: Nissan Logger Support
PostPosted: Tue Feb 12, 2019 9:40 pm 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
There is currently no Nissan CAN support in the Logger. If you can define the Nissan specific implementation details then it can be added in the future.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 114 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl