16f887 page problem.

(instructions, reset, WDT, specifications...) PIC12F6xx, PIC16Fxxx, PIC16F6x, PIC16F7x

Re: 16f887 page problem.

Postby ric » Fri Mar 23, 2018 11:27 pm

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?
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: 16f887 page problem.

Postby Adco » Sun Mar 25, 2018 10:28 am

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.
Adco
 
Posts: 11
Joined: Tue Mar 20, 2018 2:44 pm
PIC experience: Professional 5+ years with MCHP products

Re: 16f887 page problem.

Postby ric » Sun Mar 25, 2018 11:55 am

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.
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Previous

Return to 14-Bit Core

Who is online

Users browsing this forum: No registered users and 10 guests

cron