Proteus simulation warnings: "...is outside program memory for CALL function"

Status
Not open for further replies.

Burgunsky

New Member
Hi everybody.
I've the problem above when PIC16F676 is simulating on Proteus 8.3 and then simulation comes to an end.

I have noticed that the simulator has logged about PIC12. I do not understand why, because i'm using PIC16F676.

Maybe it is a reason of the issue?
I've attached the Proteus 8 project file. There is the programming code written by C.
Please help me to solve this unclear problem.
 

Attachments

  • Shleif_ALSN.zip
    12.8 KB · Views: 229
Ignore the pic12 core statement!! The pic16f676 is a pic12 core device..

What compiler have you used??? The code that has been compiled is for a larger chip...
Check the compiler HAS the pic16f676 selected!!!

Where is the source code?????
 
Scratch that!!!! You have overrun the "code_leight[][]" arrays boundary!! The "edge_count" can only be 0~6..

Once you go over a page boundary its had it!!!
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…