Matching PIC memory and program size?
I need help in understanding how to select a PIC with the flash program memory size to accommodate my PBP-compiled programs.
For example, Microcode Studio tells me that one of my small programs for the 16F877 compiles to 377 words, while Windows Explorer gives the HEX file size as 2.14K. Once the project is completed, I want to choose a device with minimal size and cost to fit the code.
In general, how do you understand each of these memory sizes, and then choose a suitable PIC device?
Matching PIC memory and program size
Thanks for the clues, Charles.
However, I am still a little bit confused. For example, suppose I change to a 16F676, which the data sheet says has "1024 Flash Words" of program space. Do these WORDS equate with the WORDS given by Microcode Studio?
It is a pity that this is not properly explained in any of the MCS or PBP documentation and that MCS (or my MEL chip programmer) does not give the % space remaining or used in the device selected.
Looking at the mirror from the other side.
Yes, actually I stated it from the other side.
You are right Corona.
PIC capacity should be higher.