This isn't so much a "mod" per say but it should help speed up the logging speeds a bit. I'm sure you guys have noticed that if you try to log the normal Load and Airflow values they get clipped at 159 load and 1599hz and don't go any higher. Doesn't seem like anyone has noticed the 1 byte limitation to RPM yet either but that's about 7600rpms.
The reason for this has to do with how much data you can fit into 8 bits. The code is setup to disregard any bits above that 8 bit limit in many areas. This has to do with the processors built into our ECUs only being able to process 16bits worth of data. When a table look up is done, it's restricted to 8 bits worth of data. So many of the values that are compared to a table look up are just clipped. Things like boost control, fuel cut...
So now we come to the MUT table. ALL the MUT commands are only 8 bit (1 byte) worth of data. Meaning anything that can be logged is restricted to a 1 byte value. My initial fix for this was to assign both the upper and lower byte next to each other in the MUT and have evoscan read both requests as one. This is where the 2 byte values come from.
Works just fine. No real issues except it slightly dogs down the logger a bit. This is because the 2 byte stuff requires 2 MUT requests in order to do the calculation. So that one extra request to slow the logging speeds down. I'm sure at best you guys have noticed you'll only get 5-7 packets per second in evoscan while logging these. As Dyter has experienced, it's tricky to log the 2 byte stuff with the SD card reader function of the tactrix cable too.
Getting around this basically involved re-inventing the wheel. Tepha came up with an idea to take the 2 byte value and divide it by a factor which would then save the entire packet into a single byte. The trade off is a bit of resolution reduction but I think I figured out how to make it work.
For example in this case 319.256 grams/second is reduced to 319.2 grams per second with this lower resolution. So no more 4-5 digits after the decimal place. Doesn't seem to bother me to much...
Aside from a little bit faster logging speeds, the main reason for this mod are to help me get around some of the high airflow limitations in the code. Hopefully get us well into the 1000+ hp range with the flash ECU without running out of range.![]()







Reply With Quote

Bookmarks