View Single Post
      12-23-2011, 03:51 AM   #21
Rotary Rasp
Lieutenant Colonel
Rotary Rasp's Avatar
92
Rep
1,839
Posts

Drives: 2009 E92 335i 6MT
Join Date: Aug 2008
Location: SoCal - Torrance

iTrader: (6)

Quote:
Originally Posted by srwatters View Post
Firmware programmers are notoriously stingy with memory. Unlike application programmers who now have gigabytes of memory to use, embedded software engineers often pack as much as we can into very little space. So if all you need is three bits to control a feature, why use all 8 in a byte? It's also possible that the other bits at this location control or are status or settings for the similar features, like perhaps blink rate or duration. Again that's all just a guess without seeing some source code or design documents on the module.

Having said that, except for in extremely low cost systems, most current trends are to have far more resources than you need. The cost of megabytes now is what we once paid for bits. But if you're selling hundreds of thousands, even a few dimes can make a difference given the count of modules in every BMW.

And I'll stick around. I've only coded a few things that irked me on my two bimmers. Since they're both still under warranty, I'm not messing too much with them. Maybe I need a project car ;-)

Good work. I'm impressed that you were able to figure that out. Now get to work on discovering new features to hack!
__________________