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 support@ccsinfo.com

18F66J94 power-up problem

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



Joined: 30 Jan 2012
Posts: 216

View user's profile Send private message

18F66J94 power-up problem
PostPosted: Thu Jun 18, 2020 2:30 am     Reply with quote

Re: PIC18F67J94 power on problem:
http://www.ccsinfo.com/forum/viewtopic.php?t=53706

Hello

Did you find a solution for this ?
I have a similar issue with PIC18F66J94 which randomly don’t start correctly on power on. I need to physically set MCLR to ground to restart the PIC and it works fine after that. But it’s not acceptable for a device that should turn on when I connect the battery :(

@Ttelmah : is there a fuse or a delay parameter I have to change before using what you suggest about setup_act ?

Thanks for your help.

For information I’m using external quartz at 16MHz, not the internal one
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Thu Jun 18, 2020 3:08 am     Reply with quote

Er. If you are using an external quartz, you should not be using ACT.
ACT is to tune the internal clock so that it is synchronised to an external
source.
You have to disable ACT in the clock setup to use what I suggested, but
in your case, you can not/should not be using that anyway.

In your case, how is the unit powered?. There is an issue if the supply
rail rises slowly, that the internal PIC reset cannot then cope. There is
a specification for the maximum rise time for the supply, and if this is
not met, the only solution is an external MCLR circuit.
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