K Series Starting Issue

66 posts / 0 new
Last post
revilla
Online
Last seen: 3 min 33 sec ago
Joined: 17/04/2014

Given your work on the MEMS could you not change this parameter? Or is that a work of Hercules?

It's possible I might be able to find something, but my guess it may well be done at least in part hardware rather than software. 

SV VVC 170 - 170.4 bhp @ 7100 rpm - 142.4 ft.lb. @ 4900 rpm

anthonym
anthonym's picture
Offline
Last seen: 18 hours 4 min ago
Joined: 17/04/2014

"Done in Hardware" = firmware?

you need only find access to one of the two parameters

anthonym
anthonym's picture
Offline
Last seen: 18 hours 4 min ago
Joined: 17/04/2014

Is Table108 relevant?

revilla
Online
Last seen: 3 min 33 sec ago
Joined: 17/04/2014

"Done in Hardware" = firmware?

No, I mean electronic circuits that detect the voltage dropout rather being under program control.

 Is Table108 relevant?

Table108 in what? 

SV VVC 170 - 170.4 bhp @ 7100 rpm - 142.4 ft.lb. @ 4900 rpm

anthonym
anthonym's picture
Offline
Last seen: 18 hours 4 min ago
Joined: 17/04/2014

just a sec...

from here

https://www.lotus7.club/forum/techtalk/remapping-rover-mems3-ecu

written by our resident genius

revilla
Online
Last seen: 3 min 33 sec ago
Joined: 17/04/2014

Ah OK, that will only be Table 108 in that very specific version of the VVC firmware, the table numbers vary from firmware to another. And no not very relevant. That just gives the position of the IACV under normal running conditions, where it's most used to manage manifold vacuum, engine braking and throttle response. I don't think it's even used during starting and idling, there are separate controls for starting and the long idle stability table controls the IACV during idle. I certainly has nothing to do with voltage dropout detection. If there's anything in the map to control it, it will most likely be in scalar data rather than tables.

SV VVC 170 - 170.4 bhp @ 7100 rpm - 142.4 ft.lb. @ 4900 rpm

anthonym
anthonym's picture
Offline
Last seen: 18 hours 4 min ago
Joined: 17/04/2014

Scalar meaning only one? 
 

https://www.techopedia.com/definition/16441/scalar

I always struggle with the meaning of "scalar"

 

https://speeduino.com/home/

revilla
Online
Last seen: 3 min 33 sec ago
Joined: 17/04/2014

Yes, as opposed to a table with lots of values. Single numeric constants. Except some of the "scalar" data is actually addressed by the firmware code as arrays ... which are not exactly scalar. And they're quite hard to attribute any meaning to without actually looking through the source or disassembly code, they're just meaningless numbers otherwise. You don't even know which ones are pairs of 1-byte numbers, which ones are 2-byte numbers and which ones are half of a 4-byte number, never mind which are arranged as arrays. A long list of raw numbers is all you get.

The next release of my mapper will decode all of this by reverse engineering the binary code, as part of the next "big thing" I'm working on ...

To show you what I mean, here's the scalar block from my ECU, let me know if you can see anything useful in there! I can send you the corresponding disassembled code by BM if you REALLY want to stare at it Smile (knowing you ... you probably will!)

Anything that ends in 32 is a round number temperature in °C, expressed in tenths of a °K.

And the two 2-byte numbers 248, 54272 are actually the 4-byte number 16,307,200, which is the CPU clock speed! The way the compiler worked, pretty all of the numeric constants used in calculations end up in the scalar block in the map file rather than inline in the code, even if they're not things that could ever be usefully changed as part of the map (e.g. if you change the clock speed, you won't actually make the ECU go faster or slower, the speed is set by a crystal - all you'll do is mess up all of the Baud rate calculations).

0, 20, 50, 131, 0, 120, 11, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1000, 60, 20000, 1700, 1000, 1000, 50, 500, 1500, 7300, 600, 1500, 100, 300, 10, 20, 7, 20, 30, 50, 300, 51, 85, 8, 20, 20, 25, 50, 5000, 55, 25, 125, 10, 12, 10, 190, 15, 30, 3, 1, 2, 48, 51, 49, 50, 57, 53, 52, 54, 56, 59, 58, 55, 0, 2, 3, 25672, 27443, 48702, 47120, 1889, 1662, 14336, 511, 0, 240, 0, 104, 27377, 20047, 18511, 19791, 19535, 0, 34151, 0, 1110, 248, 54272, 0, 30, 0, 1000, 30, 33920, 1525, 57600, 0, 600, 0, 0, 14500, 100, 525, 3432, 200, 2732, 3632, 200, 100, 350, 100, 100, 100, 30000, 100, 100, 100, 0, 0, 0, 100, 700, 650, 16, 17, 100, 3632, 2732, 200, 10000, 10500, 10, 250, 50, 5, 1000, 1000, 700, 850, 8732, 100, 0, 780, 5, 5, 4, 4, 3, 3, 3, 2, 900, 900, 196, 6, 3000, 3000, 3000, 9000, 10000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 50, 0, 10000, 0, 50, 300, 20, 20, 25, 50, 300, 30, 19, 21, 51, 220, 200, 180, 27, 23, 20, 2, 1, 1, 500, 37000, 0, 10000, 100, 0, 5, 8, 600, 200, 90, 6, 5, 25, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65535, 0, 0, 300, 10, 3432, 45, 55, 3, 40, 8500, 100, 500, 5000, 65206, 330, 0, 140, 10000, 1000, 0, 65436, 3792, 3852, 1, 0, 0, 140, 10000, 1000, 0, 65436, 3712, 3772, 8, 1, 1, 125, 20, 2, 3832, 4032, 4282, 4332, 480, 300, 200, 8, 7, 0, 3712, 3772, 10, 22, 15, 9, 200, 3792, 3852, 3712, 3772, 1, 1500, 1300, 10000, 7500, 2332, 50, 2332, 50, 120, 300, 1024, 100, 16, 12000, 7000, 397, 397, 10, 290, 2982, 1500, 10, 700, 2000, 650, 400, 200, 492, 300, 490, 400, 200, 0, 0, 5, 10, 10, 95, 0, 130, 120, 0, 3532, 3772, 11000, 3432, 2932, 5, 2, 125, 125, 100, 9000, 500, 10000, 40, 3912, 2722, 20, 20, 1, 1300, 200, 15000, 3000, 9000, 5, 1500, 6500, 30, 3, 20, 0, 125, 125, 2300, 30, 300, 100, 100, 9000, 0, 0, 30000, 35536, 60, 3000, 2800, 125, 1200, 0, 3532, 3712, 300, 20, 160, 35, 0, 15, 3532, 2, 50, 50, 25, 0, 20, 40, 350, 0, 0, 0, 0, 255, 32769, 10, 35536, 10, 0, 1400, 200, 12, 7, 50, 250, 1, 250, 0, 0, 5, 75, 75, 12600, 11600, 0, 0, 3200, 0, 150, 0, 1, 2000, 5000, 65, 65, 2, 102, 50, 0, 0, 0, 0, 0, 25, 1000, 200, 500, 2, 5, 1, 0, 100, 2500, 125, 20, 1000, 3, 0, 120, 100, 100, 16, 100, 60, 50, 0, 13500, 10, 250, 4732, 0, 65136, 900, 500, 5000, 0, 50, 0, 150, 300, 200, 100, 5000, 300, 2000, 3, 40, 0, 2, 25, 6000, 100, 0, 50, 25, 500, 22, 5000, 50000, 65475, 61, 65535, 1001, 1000, 76, 83, 0, 0, 1601, 10, 400, 650, 8, 100, 65236, 5, 3230, 2280, 30, 15, 200, 5500, 200, 40, 3432, 0, 60, 50, 40, 10, 25, 25, 5000, 3570, 8500, 16000, 120, 150, 100, 80, 40, 200, 3, 4, 5, 1000, 65286, 350, 650, 12000, 5932, 40, 500, 60, 20, 20, 4, 1, 10, 100, 14000, 6850, 3, 500, 900, 3130, 10, 10, 30, 40, 4, 20, 2, 3028, 3, 13, 65186, 200, 5, 2, 500, 50, 3000, 2800, 4500, 500, 1000, 4000, 500, 200, 500, 6000, 5000, 2000, 1, 937, 4132, 500, 7000, 700, 2900, 110, 1900, 3800, 100, 64, 128, 5, 12000, 1000, 2, 6, 100, 530, 490, 590, 30, 30, 45, 35, 500, 10000, 10, 4500, 30, 125, 2000, 600, 600, 0, 1000, 5732, 9232, 250, 4500, 600, 3, 250, 300, 550, 350, 300, 500, 11500, 6500, 4500, 50, 100, 3100, 4500, 0, 4, 8000, 50, 300, 10, 600, 8000, 500, 1, 860, 3482, 300, 7000, 550, 3100, 1850, 3800, 45, 130, 3100, 6000, 5000, 1, 500, 200, 2000, 500, 500, 800, 6, 1, 490, 300, 2000, 16, 4132, 1600, 4000, 2900, 6200, 100, 1000, 20, 760, 260, 900, 500, 130, 400, 650, 100, 14000, 51536, 3, 170, 200, 100, 4, 200, 10, 3000, 500, 0, 99, 2, 25, 5, 220, 700, 8500, 75, 1, 65136, 50, 11200, 150, 150, 150, 9000, 11482, 200, 300, 600, 1204, 50, 3382, 1500, 610, 510, 700, 2000, 10000, 500, 1150, 240, 50, 15, 10, 0, 75, 4, 300, 3300, 2600, 4000, 600, 3000, 100, 600, 765, 5, 2500, 3000, 20, 0, 2000, 30, 10, 1000, 0, 2000, 0, 10, 5000, 60, 100, 20, 0, 5400, 0, 0, 10000, 0, 10000, 0, 0, 1, 8, 0, 1010, 1030, 9900, 9995, 9700, 14000, 16, 20, 500, 10000, 1000, 100, 100, 0, 10200, 0, 6000, 1200, 0, 10000, 6500, 3892, 2932, 290, 1797, 1, 290, 500, 0, 2332, 2332, 3032, 3082, 2982, 0, 5800, 0, 20, 13, 65526, 0, 18, 400, 20, 1000, 400, 1000, 100, 5025, 4, 3, 10, 2000, 400, 1, 0, 100, 250, 20, 60, 10000, 43857, 16483, 61236, 63, 189, 189, 63, 0, 0, 5000, 5000, 11, 2, 3, 4, 7, 8, 9, 10, 11, 12, 13, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 1, 5, 6, 15, 0, 0, 0, 0, 0, 0, 15, 1, 15, 1, 1, 1, 1, 14000, 5000, 1000, 3332, 3032, 3332, 1, 1, 1000, 0, 10, 10, 5, 0, 0, 0, 0, 0, 5, 5, 0, 5, 5, 5, 5, 1023, 1020, 1020, 1020, 1023, 1023, 1023, 1023, 1023, 1020, 1020, 1023, 1020, 1020, 1020, 840, 22000, 0, 0, 27597, 5000, 5000, 5000, 15556, 2727, 22975, 0, 6004, 0, 0, 45536, 6004, 1535, 1, 1, 1000, 1023, 1023, 1023, 1023, 1023, 1023, 1, 1023, 1, 1, 1023, 1023, 267, 0, 0, 0, 0, 0, 0, 64758, 0, 65533, 0, 0, 0, 0, 460, 0, 300, 600, 2100, 2500, 65526, 65526, 65436, 100, 4800, 3300, 100, 100, 0, 0, 25, 69, 107, 143, 188, 249, 500, 500, 500, 7000, 2000, 2000, 2000, 100, 100, 6000, 600, 30, 30, 15000, 15000, 15000, 15000, 15000, 15000, 15000, 15000, 15000, 50536, 50536, 50536, 50536, 50536, 50536, 50536, 50536, 50536, 3750, 5000, 2050, 2800, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 200, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1000, 1000, 1000, 1, 2000, 1, 1, 1, 1000, 1, 1000, 5, 150, 100, 10, 1, 1000, 1, 1, 5, 1, 200, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 8, 11, 0, 0, 0, 12, 7, 10, 0, 0, 19, 18, 9, 0, 0, 1, 1, 5, 6, 1, 1, 1, 1, 1, 1, 1, 1, 13, 14, 15, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 1, 1, 1, 1, 60, 1, 0, 0, 0, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 0, 5400, 1800, 3600, 2400, 1200, 0, 0, 2, 3, 0, 1, 7050, 2400, 8000, 0, 0, 0, 0, 0, 0, 0, 129, 61693, 5, 100, 0, 0, 0, 1, 515, 1024, 769, 767

SV VVC 170 - 170.4 bhp @ 7100 rpm - 142.4 ft.lb. @ 4900 rpm

anthonym
anthonym's picture
Offline
Last seen: 18 hours 4 min ago
Joined: 17/04/2014

Go on then.

K being Kelvin?

32s

3432,2732,3632,3632,2732,8732,3432,3832,4032,4332,2332,2332,3532,3432,2932,3532,3532,4732,3432,5932,4132,5732,9232,4132,2932,2332,2332,3032,3332,3032,3332

 

revilla
Online
Last seen: 3 min 33 sec ago
Joined: 17/04/2014

Yes ... Kelvin. And 0K is approximately -273.2°C. So 0°C is 273.2K or 2732 in tenths, 10°C is 283.2K or 2832 in tenths etc. Hence all the round number in °C end in 32.

SV VVC 170 - 170.4 bhp @ 7100 rpm - 142.4 ft.lb. @ 4900 rpm