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

start up too long issue

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



Joined: 02 Dec 2003
Posts: 15

View user's profile Send private message

start up too long issue
PostPosted: Mon Apr 05, 2004 2:20 pm     Reply with quote

IC 18f452
I have two ICs identical part number and lot, identical program, download/programmed by one PICSTART Plus.

One IC starts up immediately.
The second one has about 11 to 12 seconds delay, (seconds not msec).
What do I do wrong?
May be I set some flag/bits wrong.
I use MPLab and Picstart and CCS to create my firmware.
I know that I do something wrong,
the IC runs OK/correctly after 10-12 seconds delay.
I can just remove the IC, but I also want to learn my mistake.
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Mon Apr 05, 2004 5:28 pm     Reply with quote

Are you using both ICs on the same board, or on different boards? And do you have any of these active:
Power-up timer
Oscillator Startup timer
Brown-out reset

One of your boards may have a problem with the power supply/crystal. This may keep the PIC in the reset state until all the power-up conditions are met.
wynnet



Joined: 02 Dec 2003
Posts: 15

View user's profile Send private message

PostPosted: Tue Apr 06, 2004 6:15 am     Reply with quote

I place IC on socket on the same board.
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Tue Apr 06, 2004 9:29 am     Reply with quote

Bad PIC? Try using a third PIC and if it works fine, use the bad one take up space in your garbage can.

Ronald
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