View Single Post
  #5   Spotlight this post!  
Unread 19-03-2014, 17:50
tech2077 tech2077 is offline
Registered User
AKA: Matthew Skolaut
FRC #3847 (Spectrum 3847)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Houston
Posts: 21
tech2077 is an unknown quantity at this point
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.