Page 3 of 3

Re: 16f887 page problem.

PostPosted: Fri Mar 23, 2018 11:27 pm
by ric
I see your response on the MC forum has still not been approved.
Are you using interrupts?
Do you have a GOTO at location 4?

Re: 16f887 page problem.

PostPosted: Sun Mar 25, 2018 10:28 am
by Adco
ric wrote:I see your response on the MC forum has still not been approved.
Are you using interrupts?
Do you have a GOTO at location 4?

I've given up at the MC forum. Anyway, I've resolved the issue. Thanks to those that helped in this thread.

No, I am not using any interrupts at this stage. I have a RETFIE. I always have one there. It's part of a template I have for every new project. I might still use them later when I have to generate a time base for a counter. I'm not too concerned about that though.

Re: 16f887 page problem.

PostPosted: Sun Mar 25, 2018 11:55 am
by ric
I guess putting a RETFIE there feels like it reserves the spot.
If you ever did have an interrupt occur, and that's all you had, your PIC would immediately freeze as it would be continually trying to service an interrupt that never got cleared.