NefMoto

Technical => Reverse Engineering => Topic started by: masterj on September 16, 2014, 02:46:33 AM



Title: Few variables check
Post by: masterj on September 16, 2014, 02:46:33 AM
Hi, guys!
After playing with ida for some time I have defined some variables but not sure if they're correct. Can someone confirm if I have proper definitions of these:
Code:
Name             {Alias}                                        Address     Size    Bitmask  {Unit}   S I   A                      B                     Comment
ushk_w          {O2SVoltageSensor2 (16bit)}       0x381ADE   2      0x0000    {V}     0 0  0.00488322     -1                   {Spannung Lambdasonde hinter Katalysator}
B_hsha           {}                                                0x00FD40   2      0x0020     {}      0 0  1                      0                     {Bedingung Sonde hinter Kat ausreichend beheizt}
B_lsh              {}                                                0x00FD04   2      0x0000     {}      0 0  1                      0                     {Bedingung Lambda-Sonde hinter Kat verbaut, 2. Sonde nach Auslass}
B_risigh          {}                                                0x00FD32   2      0x0800     {}      0 0  1                      0                     {Bedingung Signalunterbrechung Sondenmasse mit Ri-Diagnose hinter KAT}
B_sbbhk         {}                                                0x00FD32   2      0x1000     {}      0 0  1                      0                     {Bedingung Sonde betriebsbereit hinter Kat}
B_trsah          {}                                                 0x38097A   1      0x0004     {}      0 0  1                      0                     {Bedingung Kabelbruch für Sonde hinter KAT}
E_lash            {}                                                0x3839C8   2      0x0001      {}      0 0  1                     0                      {Errorflag: Lambda-Sondenalterung hinter Katalysator}
Z_lash            {}                                                0x3839C8   2      0x0002      {}      0 0  1                     0                      {Zyklusflag:Lambda-Sondenalterung hinter Kat.}
Z_lsv              {}                                                0x3839E0   2      0x0002      {}      0 0  1                     0                      {Zyklusflag: Lambda-Sonde vor Kat}


And here's my dissasembled file (hopefully this will get me faster answer from you guys :)):
https://www.sendspace.com/file/bwqr9m (https://www.sendspace.com/file/bwqr9m)


Title: Re: Few variables check
Post by: nyet on September 16, 2014, 08:19:33 AM
Is this for M-box?


Title: Re: Few variables check
Post by: masterj on September 16, 2014, 08:46:03 AM
Is this for M-box?

No, this is 06A906032HN (me7.5). But if you have idb file of M box that has all these variables defined then please put it on sendspace I'll try to compare...


Title: Re: Few variables check
Post by: masterj on September 18, 2014, 08:01:28 AM
no need to check these anymore. I have fixed definitions. I anyone's interested:
Code:
Name             {Alias}                                        Address     Size    Bitmask  {Unit}   S I   A                      B                     Comment
ushk_w          {O2SVoltageSensor2 (16bit)}       0x381ADE   2      0x0000    {V}     0 0  0.00488322      1                   {Spannung Lambdasonde hinter Katalysator}
B_hsha           {}                                                0x00FD40   2      0x0020     {}      0 0  1                      0                     {Bedingung Sonde hinter Kat ausreichend beheizt}
B_lsh            {}                                                0x00FD04   2      0x0004     {}      0 0  1                      0                     {Bedingung Lambda-Sonde hinter Kat verbaut, 2. Sonde nach Auslass}
B_risigh          {}                                                0x00FD32   2      0x0800     {}      0 0  1                      0                     {Bedingung Signalunterbrechung Sondenmasse mit Ri-Diagnose hinter KAT}
B_sbbhk         {}                                                0x00FD32   2      0x1000     {}      0 0  1                      0                     {Bedingung Sonde betriebsbereit hinter Kat}
B_trsah          {}                                                 0x38097A   1      0x0004     {}      0 0  1                      0                     {Bedingung Kabelbruch für Sonde hinter KAT}
E_lash            {}                                                0x3839C8   2      0x0001      {}      0 0  1                     0                      {Errorflag: Lambda-Sondenalterung hinter Katalysator}
Z_lash            {}                                                0x3839C8   2      0x0002      {}      0 0  1                     0                      {Zyklusflag:Lambda-Sondenalterung hinter Kat.}
Z_lsv              {}                                                0x3839E0   2      0x0002      {}      0 0  1                     0                      {Zyklusflag: Lambda-Sonde vor Kat}