sonar_abhi
New Member
Hello guys!
I am a newbie in PIC programming. I have written a simple program and compiled it in mikroC selecting PIC16F877A as the microcontroller. The generated hex file is of 5kB size. But in the mikroC compiler, the compiler shows the following messages:
Used RAM (bytes): 2 (1%) Free RAM (bytes): 350 (99%)
Used ROM (program words): 57 (1%) Free ROM (program words): 8135 (99%)
Essentially my program size on the chip is only 57 words ~ 0.1kB, but when I build it, the generated hex file is 5kB in size.
The funny part is that I am able to burn the 5kB hex file in PIC16f72 which has a program memory of 2kB
Can anybody please explain what is going on?
Regards,
Ace
I am a newbie in PIC programming. I have written a simple program and compiled it in mikroC selecting PIC16F877A as the microcontroller. The generated hex file is of 5kB size. But in the mikroC compiler, the compiler shows the following messages:
Used RAM (bytes): 2 (1%) Free RAM (bytes): 350 (99%)
Used ROM (program words): 57 (1%) Free ROM (program words): 8135 (99%)
Essentially my program size on the chip is only 57 words ~ 0.1kB, but when I build it, the generated hex file is 5kB in size.
The funny part is that I am able to burn the 5kB hex file in PIC16f72 which has a program memory of 2kB
Can anybody please explain what is going on?
Regards,
Ace