td-d wrote:
A2UI000K
Code:
ROM:000C215C Cruise_Control_Speed_Limit_Maximum_A:.float 200.0 ;
ROM:000C2160 Cruise_Control_Speed_Limit_Minimum_A:.float 32.0 ;
ROM:000C2164 Cruise_Control_Speed_Limit_Maximum_B:.float 255.0
ROM:000C2168 Cruise_Control_Speed_Limit_Minimum_B:.float 32.0 ;
Hi
Many thanks... Can you sanity check this as the figures aren't what I'd expect:
I've added the following to the RomRaider 32BITBASE definition (mainly copied from the vehicle speed limit section):
Code:
<table type="2D" name="Cruise_Control_Speed_Limit_Min_A" category="ALPHA Cruise Control" storagetype="float" endian="little" sizey="1" userlevel="1">
<scaling units="Vehicle Speed (MPH)" expression="x*.621" to_byte="x/.621" format="#" fineincrement="1" coarseincrement="5" />
<table type="Static Y Axis" name="Cruise_Control_Speed_Limit_Min_A" sizey="1">
<data>Low Limit A</data>
</table>
<description>Minimum Engagement Speed A</description>
</table>
<table type="2D" name="Cruise_Control_Speed_Limit_Min_B" category="ALPHA Cruise Control" storagetype="float" endian="little" sizey="1" userlevel="1">
<scaling units="Vehicle Speed (MPH)" expression="x*.621" to_byte="x/.621" format="#" fineincrement="1" coarseincrement="5" />
<table type="Static Y Axis" name="Cruise_Control_Speed_Limit_Min_B" sizey="1">
<data>Low Limit B</data>
</table>
<description>Minimum Engagement Speed B</description>
</table>
<table type="2D" name="Cruise_Control_Speed_Limit_Max_A" category="ALPHA Cruise Control" storagetype="float" endian="little" sizey="1" userlevel="1">
<scaling units="Vehicle Speed (MPH)" expression="x*.621" to_byte="x/.621" format="#" fineincrement="1" coarseincrement="5" />
<table type="Static Y Axis" name="Cruise_Control_Speed_Limit_Max_A" sizey="1">
<data>High Limit A</data>
</table>
<description>Maximum Engagement Speed B</description>
</table>
<table type="2D" name="Cruise_Control_Speed_Limit_Max_B" category="ALPHA Cruise Control" storagetype="float" endian="little" sizey="1" userlevel="1">
<scaling units="Vehicle Speed (MPH)" expression="x*.621" to_byte="x/.621" format="#" fineincrement="1" coarseincrement="5" />
<table type="Static Y Axis" name="Cruise_Control_Speed_Limit_Max_B" sizey="1">
<data>High Limit B</data>
</table>
<description>Maximum Engagement Speed B</description>
</table>
And under the A2UI000K definition:
Code:
<table name="Cruise_Control_Speed_Limit_Max_A" storageaddress="0xC215C" />
<table name="Cruise_Control_Speed_Limit_Min_A" storageaddress="0xC2160" />
<table name="Cruise_Control_Speed_Limit_Max_B" storageaddress="0xC2164" />
<table name="Cruise_Control_Speed_Limit_Min_B" storageaddress="0xC2168" />
This reads the values OK, both Min values are reported as 20mph which is about what I'd expect. Max A is reported as 124mph, Max B is 158mph. I'd expect both of them to be around 65mph (which should be the standard figure, and the current 'tested' high engagement limit), so I think I've done something wrong...

I get the same value on my dumped ROM and the 'standard' dumped ROM linked above, so it's not that mine has been fiddled with already...
Thanks!
** Edit **
Just read back through this, and the Max values (124 / 158) are the MPH equivalents of the contents of the addresses you posted earlier (200/255), which I guess are stored in the ECU in km/h? Something doesn't look right...