first digging into the mode1 stuff, hadn't looked at it much before.
so message 3 seems a great candidate for my 'short' message. i can't really find a use for it elsewhere. message 5 is another good one that no other loggers seem to use. i dont think altering them hurts any other tools.
so what i want to do is make mode 3 my short message, and shorten its length appropriately. then i think i'll make message 5 my "extra stuff" message, maybe to include as many other useful bytes as possible from your t-side map?
the tables themselves seem simple enough; here are the starting bytes for each table it looks like,
msg0=F3A3 ; msg1=F425 ; msg2=F48B ; msg3=F4FF ; msg4=F58F ; msg5=F5F3 ; msg6=F6BF
the byte at offset 0x05 appears to define the length of each reply, at (raw data length+1). can be assumed since msg0 has 60 bytes and it's length byte is 0x3D (dec61)?
it appears after a 10 byte header, each is a table of 16 bit memory addresses. code for mode1 replies looks similar to what i read with mode2/3 requests, obviously just uses a table instead of incoming aldl data to determine memory addresses.
so a patch to message 3 should be fairly trivial,
@ 0xF4FF: 00 00 F4 F4 80 23 19 92 19 92 00 E6 00 E7 FF FF 01 C3 02 42 01 34 01 A7 02 59 01 02 01 08 01 76 01 17 18 28 01 24 01 26 01 65 01 63 01 64 01 62 01 61 FF FF 02 B3 FF FF 02 BD FF FF 02 C5 18 25 02 41 02 3A FF FF 02 38 01 03 01 9D 02 3F
this maps the following datastream elements as in msg1byte-msg0byte, including no error codes, evap codes, egr, ccp, just the important stuff for tuning, but also throwing in command afr at the end:
1-13,2-14,3-18,4-19,5-20,6-21,7-23,8-25,9-27,10-28,11-30,12-31,13-32,14-33,15-34,16-37,17-38,18-39,19-40,20-41,21-42,22-43,23-44,24-45,25-46,26-47,27-49,28-51,29-52,30-53,31-54,32-55,33-58,34-COMM_AFR
im going to convert all of this to a fake msg0 data set internally in eehack with unused bytes set to 0x00 to ensure all existing code works alright (and keep the log format consistent), but an adx could easily be set up to use it too...
Bookmarks