how much memory is free? 16f1939 to 18f4520
Posted: Tue Apr 22, 2014 7:28 am
Good morning.
I have a problem, I'm doing a project with a 16f1939 16k program memory but I have run out of memory and I decided to move to a higher microcontroller. I chose the 18F4520 with 32K of program memory and is fully pin-compatible.
When I compile the program with the new microcontroller should have 50% free memory but it is not correct, the compiler tells me I have 21% free memory.
What is the reason? I have to do the program and I think I'll stay out of memory again.
I have a problem, I'm doing a project with a 16f1939 16k program memory but I have run out of memory and I decided to move to a higher microcontroller. I chose the 18F4520 with 32K of program memory and is fully pin-compatible.
When I compile the program with the new microcontroller should have 50% free memory but it is not correct, the compiler tells me I have 21% free memory.
What is the reason? I have to do the program and I think I'll stay out of memory again.