|
Re: CRC lookup table in RobotOpen Source
The arduino has EEPROM, program flash, and RAM. The table is being stored in the program flash in order to reduce RAM usage, because otherwise the table would be stored in RAM as more variables are. It would not be of any use to move the table to another memory, as the EEPROM is write count limited, and the table requires fast repeated access for network error checking; and moving to RAM would take up a good chunk of ram that could be used for other things.
|