View Single Post
  #10 (permalink)  
Old 04-04-2006, 10:55 AM
Casper49 Casper49 is offline
Active Enthusiast
 
Posts: 57
Default Re: What is the 62 mile bug?

Quote:
Originally Posted by Tim
Don't know how much this has to do with it, but computers think/speak in binary - 1's and 0's. You can count from 0 to 63 using 6 bits, that is 000000 thru 111111. To get 64, you need a seventh bit (1000000). Often times when computers do goofy things related to math, it happens on the factors of 2 (1, 2, 4, 8, 16, 32, 64...). If the computer - due to a programming error - is only reading the first 6 bits of the mileage data, it would go 0 - 63 then recycle. It could be some other combination as I'm not sure how they'd handle the decimal.
You're on the right track here. Back when I was a Real Engineer, I used BCD - binary coded decimal - dedicate 4 bits for each digit.. 0001 0001 would be 11.

But I don't think BCD's are used anymore, rather it is all done in software. So I would guess, cars with this bug has stuck at bit (or faulty overflow operation). Since only some of the cars have this, I would hazard to guess some hardware fault (bad RAM/Flash).
Reply With Quote