CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

10F202 / MCLR

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
theMagni



Joined: 21 May 2004
Posts: 48
Location: Victoria, BC

View user's profile Send private message Visit poster's website

10F202 / MCLR
PostPosted: Thu Feb 17, 2005 12:46 pm     Reply with quote

Hello, group:

I'm working with the 10F202. I'm using version 3.218 and the latest version of Quickwriter. Here's the problem:

The code I have written for the 10F has specifically turned off the wakeup on pin change function. (GPWU = 1; GPWU = OPTION.7) However, when I change the state of one of the pins, the PIC wakes up.

I think that part of the problem is with the MCLR. I've stated that the MCLR should be turned off, but the code that CCS generates seems to be telling Quickwriter to leave it on. (When loading code from CCS, QW always shows that MCLR is "ON". I have to turn it off in QW.) I know that it's off once I turn it off in QW. If I leave it as CCS compiles, tying the input low leaves the chip in a suspended state. (i.e. Nothing happens)

Has anyone else had problems with this chip waking up with a port pin change? Any sugegstions or solutions that you've come up with?

Thanks for your help.
_________________
In the 90's, I promised myself I'd never use a so-called "smiley icon". I hate what I've become. ;)
theMagni



Joined: 21 May 2004
Posts: 48
Location: Victoria, BC

View user's profile Send private message Visit poster's website

PostPosted: Thu Feb 17, 2005 6:12 pm     Reply with quote

This turned out to be a PEBKAS error. I just had to set the option register in assembly and it worked great.
_________________
In the 90's, I promised myself I'd never use a so-called "smiley icon". I hate what I've become. ;)
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group