Quote:
|
Originally Posted by Pat Fairbank
...the hex file with the CORDIC library included... has a size of 48 KB. Even though this hex file is larger than the PIC's 32 KB flash memory, it still uploads and executes on my RC without any problem.
So it seems therefore the size of the hex file containing the code is not an accurate measure of how much flash space the code will take up on the RC.
|
Pat,
In the most general case, a hex file will be more than twice as big as the memory image it loads. This is because each byte of the memory image gets represented by two ascii characters in the hex file. And then there is the overhead of having to store address information, CRC/checksum information, and who knows what else.