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

system hang

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







system hang
PostPosted: Fri Jul 01, 2005 4:08 am     Reply with quote

Hi,
I am using PICDEM 2 PLUG demo board with ICD2.

after I compile and run a program in PICDEM 2 board with 20MHz crystal isolator, everything is OK. Reading of encoder from LCD is OK.

I copy another set of demo board using breadboard with one 20MHz crystal isolator 4 pin: 1 to ground, 1 to 5v, 1 NC and 1 to pic pin13 OSC1/CLKI. MCLR is connected as per PICDEM 2 board

I didnot connect any thing to OSC2 also nothing connected to RC0 and RC1. But PICDEM 2 connected to a 32.768KHz osilator to RC0 and RC1.

Program run for a while in breadboard and 'hang'.

What is missing out?
RC0 and RC1 need to be connected?

Thanks
valemike
Guest







PostPosted: Fri Jul 01, 2005 5:04 am     Reply with quote

What program are you running? The factory-supplied program on the PICDEM-2+?

Let's assume your hardware is okay with your new crystal and all. However, since you are missing your 32khz clock, then it can just be that the program hangs waiting for that input. Who knows.
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