Hi, Some things to try: Maybe try an reset RC network on MCLR -- perhaps the power supply ramp rate is not fast enough to properly reset the PIC. Can you try another LCD? Another PIC? I know you said you are using the EXACT routines in the CHEAPIC examples for 4 MHz operation, but are you using a 4 MHz crystal, resonator, or clock oscillator? I know it sounds obvious, just trying to help here. Good luck. Regards, Ken Pergola -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of rrc124+@PITT.EDU Sent: Sunday, August 10, 2003 6:12 PM To: PICLIST@MITVMA.MIT.EDU Subject: [PIC:] LCD, CHEAPIC routine, Top line bars 2/3 of time Okay guys, there's one last thing that stands between me and my finished project. The LCD readout. 1/3 of the time it works PERFECTLY.. i print out my welcoming screen, print messages, clear the display, place cursors, etc. But 2/3 of the time when i start up my PIC (and the LCD, tied to the same power source), I get my top line as all black blocks (it's a 20x2) and the bottom line black. Not welcome message, nothing. It is rather confusing.. I thought that perhaps it was a timing issue, maybe me not letting instructions settle enough during the init stage, but i doubled the time delays and got nothing. I'm using the EXACT routines in the CHEAPIC examples for 4Mhz operation ( http://www.piclist.com/techref/piclist/cheapic/wktim4m.asm ). Has anyone experienced anything like this before? I mean, because everything else works perfect 1/3 of the time, I can't stop thinking it has to be something right on the edge..like the timing. I dunno. Thanks everyone :-) -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads