Quote:
|
Originally Posted by cibressus53
I had to completly remove the print_lib to get it down to a small enoguh size (35kb). does anyone know the real max size for the hex file?
|
You can't easily judge by the .hex file size. I can create a .hex file that's 85kb and it fits on the RC just fine.
You know what it does look like though is an IFI_Loader version problem. The original IFI_Loader had a bug that only loaded half the available RC program memory. Check your IFI_Loader version. It should be 1.0.7.
You should use the .map file MPLAB can generate for you to see how much memory your program requires. It tells you exactly how much space your program uses, e.g.,
Code:
Program Memory Usage
Start End
--------- ---------
0x000800 0x000805
0x000808 0x006622
0x300000 0x30000d
24111 out of 33816 program addresses used, program memory utilization is 71%
Note however that the program memory will be full when it reads 90%, because that last little bit of memory gets used for IFI stuff.