Title: Adding the ESKONF bit pairs Post by: vwaudiguy on March 29, 2015, 11:23:51 PM I finally sat down and wrapped my head around how ESKONF is calculated, but I can't figure out how to calculate the hex value seen in the bin. I searched here, and looked elsewhere online.. I'm trying to use Windows calculator (in programmer mode) to add the ESKONF bit pairs (00 11 00 11) to arrive at the sum. No calculator allows me to type "00" and I assume the order means something otherwise how will the ecu know which positions had "00" or "11". I'm sure it's something so ridonkulously easy, but I can't figure it out! Haha
EDIT I found this page, that does seem to work, but I'd still like an explanation if possible. http://www.mathsisfun.com/binary-decimal-hexadecimal-converter.html Title: Re: Adding the ESKONF bit pairs Post by: rnagy86 on March 29, 2015, 11:40:41 PM I finally sat down and wrapped my head around how ESKONF is calculated, but I can't figure out how to calculate the hex value seen in the bin. I searched here, and looked elsewhere online.. I'm trying to use Windows calculator (in programmer mode) to add the ESKONF bit pairs (00 11 00 11) to arrive at the sum. No calculator allows me to type "00" and I assume the order means something otherwise how will the ecu know which positions had "00" or "11". I'm sure it's something so ridonkulously easy, but I can't figure it out! Haha EDIT I found this page, that does seem to work, but I'd still like an explanation if possible. http://www.mathsisfun.com/binary-decimal-hexadecimal-converter.html You simply convert the base. Leading and trailing zeros are not necessary but it will be easier for you to read it. You have to convert each 4 binary digits to hex. 00 11 = 3 (11 is also 3 without the trailing zeros) 00 11 = 3 00 11 00 11 = 33 So your first ESKONF bitpair will be 33. http://en.wikipedia.org/wiki/Hexadecimal#Written_representation There is a nice table there that you will understand the minute you look at it. Title: Re: Adding the ESKONF bit pairs Post by: vwaudiguy on March 30, 2015, 12:06:54 AM I totally get it now. Thanks!
Title: Re: Adding the ESKONF bit pairs Post by: adam- on March 30, 2015, 03:21:16 AM Hopefully this uploads properly, but I've attached my ESKONF map pack.
It allows you to just type the numbers are a whole into ESKONF. AA 10101010 FF 11111111 00 00000000 F3 11110011 FF 11111111 FB 11111011 FC 11111100 Title: Re: Adding the ESKONF bit pairs Post by: vwaudiguy on March 30, 2015, 01:49:06 PM Hopefully this uploads properly, but I've attached my ESKONF map pack. It allows you to just type the numbers are a whole into ESKONF. AA 10101010 FF 11111111 00 00000000 F3 11110011 FF 11111111 FB 11111011 FC 11111100 That looks pretty sweet, and thanks. I tried to import it to an existing ols project, and it looks like it takes, but then cant find it in the map list. I figured I might be able to import it into a project, then change the address to match said binary. Title: Re: Adding the ESKONF bit pairs Post by: adam- on March 31, 2015, 02:39:54 AM Yeah man, it makes it a load easier. Just find it in your binary and define it the same as I have. I'm sure I selected binary instead of hex. I'm away from home so can't check.
Title: Re: Adding the ESKONF bit pairs Post by: vwaudiguy on April 03, 2015, 10:49:36 AM Were you ever able to dig up that .kp for the ESKONF stuff? Thanks!
Title: Re: Adding the ESKONF bit pairs Post by: adam- on April 03, 2015, 11:15:42 AM I'll just upload my file and definition. Can't be bothered tearing though maps to just get two.
It's right at the top though! :) Hope this helps man! :) Title: Re: Adding the ESKONF bit pairs Post by: vwaudiguy on April 03, 2015, 11:17:25 AM Thanks, Adam! That worked out great.
|