I'm using pic16f876, ccs v3.212, mplab 7.2 and proteus 7.1 sp2.
I have the problem that when I exceed the 25% of the rom (as mplab says...) my program starts to work wrong in proteus. It doesn't translate to assembly code from the main function and everything became wrong.
I think that may it could be that I have exceeded the 1st page of the rom... But I don't know how to asign the other functions to the other pages...
or maybe I'm completely wrong and there is any other problem...
thank you very much
Imanol.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Dec 09, 2008 3:06 pm
Set your Project Build Options to make the Call Tree file (.TRE extension).
Use the "Terminal" font in your editor. Then you can see the line-font
characters used in the file.
Here is a typical line in the .TRE file:
Quote:
ds1307_write_byte 0/119 Ram=2
This means the function is in Rom Page 0,
and it uses 119 ROM words (this is for a 16F877).
It also uses 2 bytes of RAM.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum