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

PIC18F23K20 not starting up normally

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



Joined: 31 Dec 2010
Posts: 39

View user's profile Send private message

PIC18F23K20 not starting up normally
PostPosted: Fri Sep 16, 2011 1:01 am     Reply with quote

Hello,

I have a PIC18F23K20 hooked up to an LCD on Port A and running off the internal clock.

I can use the debugger to start the program, but when I program the chip directly, the program refuses to start on reset.

I have noticed that if I disconnect PIN_A2 ( RA2/AN2/VREF-/CVREF/C2IN+ ) AND PIN_A3 ( RA3/AN3/VREF+/C1IN+ ) from the LCD, the program starts correctly. But if either is hooked up, it won't work.

I have tried output_a(0x00); as the first line of my main, but that didn't work.

Any ideas / suggestions?

Thank you,
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