# EXAMPLE definitions, modeled on the shape of the confirmed IS300 89663-53082 tables as a guide # for writing your own .cwdef. Every address, scale, offset and CAL id below is FICTIONAL - # invented for this example, not read from any real ECU image. Do not use these numbers on a real # car; they will not land on the right bytes. Load your own file with Editor > Tables > # "Load definitions" after finding real addresses in the Hex view (see template.cwdef for the # field reference, and "Scan axes" / "Detect maps" for locating tables in your own dump). [table example_enrichment_map] name = EXAMPLE: injection enrichment map (fictional) cpu = CPU01 cal = EXAMPLE address = 0x4000 rows = 7 cols = 8 type = u8 scale = 0.01 offset = 1 unit = x (multiplier) row_stride = 9 x_address = 0x4100 x_type = u8 x_scale = 1.0 x_unit = % (example) y_address = 0x4200 y_type = u8 y_scale = 100 y_unit = rpm y_stride = 9 note = EXAMPLE ONLY. Same shape as a real enrichment map (rows=rpm, cols=load) but every number here is made up for this file. [table example_rev_limit] name = EXAMPLE: engine speed limit (fictional) cpu = CPU01 cal = EXAMPLE address = 0x5000 rows = 1 cols = 1 type = u8 scale = 100 unit = rpm note = EXAMPLE ONLY. A single-cell "curve" (rows=cols=1) like a rev limiter. Address and scale are invented. [table example_vvt_position] name = EXAMPLE: intake camshaft position map (fictional) cpu = CPU01 cal = EXAMPLE address = 0x6000 scale = 0.5 unit = stored value, unit not named rows = 16 cols = 10 type = u8 row_stride = 11 x_address = 0x6100 x_type = u8 x_scale = 1.0 x_unit = % (example) y_address = 0x6200 y_type = u8 y_scale = 100 y_unit = rpm y_stride = 11 note = EXAMPLE ONLY. Same 10x16 shape as a real VVT map; numbers invented. [table example_spark_correction] name = EXAMPLE: spark correction vs coolant temperature (fictional) cpu = CPU01 cal = EXAMPLE address = 0x7000 scale = 0.1 unit = stored value, unit not named x_scale = 1.0 x_offset = -40 x_unit = deg C rows = 17 cols = 5 type = u8 row_stride = 6 x_address = 0x7100 x_type = u8 y_address = 0x7200 y_type = u8 y_scale = 100 y_unit = rpm y_stride = 6 note = EXAMPLE ONLY. Same 5x17 shape as a real coolant-correction map; numbers invented. [table example_sensor_curve] name = EXAMPLE: temperature sensor conversion curve (fictional) cpu = CPU01 cal = EXAMPLE address = 0x8000 scale = 0.1 unit = deg C x_scale = 1 x_unit = ADC counts rows = 1 cols = 22 type = i16le x_address = 0x8100 x_type = u16le note = EXAMPLE ONLY. Same 22-point curve shape as a real sensor conversion curve; numbers invented. [table example_torque_request] name = EXAMPLE: requested torque map (fictional) cpu = CPU01 cal = EXAMPLE address = 0x9000 unit = stored value, unit not named rows = 16 cols = 11 type = u8 row_stride = 12 x_address = 0x9100 x_type = u8 x_scale = 1.0 x_unit = % (example) y_address = 0x9200 y_type = u8 y_scale = 100 y_unit = rpm y_stride = 12 note = EXAMPLE ONLY. Same 11x16 shape as a real throttle/torque-request map; numbers invented.