pebbert9
Joined: 31 Dec 2010 Posts: 39
|
PIC18F23K20 not starting up normally |
Posted: Fri Sep 16, 2011 1:01 am |
|
|
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, |
|