Ive looked at a lot of threads about Black boxes on the top line of a 16x2 LCD display however I could not find any where the system had been previously working.
I have a PIC16F916 hooked up to a DISPLAYTECH162F 16x2 LCD display using 4-bit mode. Im using a PICKIT2 to program the chip. I have had the system running and displaying perfectly for the past week however I was checking my PCB's connections with the power on and the top line of the LCD just turned to black boxes. I have another board which i know also works correctly so i swapped the PIC and LCD over to the Board and i got the same problem. I then went on to try a new PIC with no success and a new LCD screen with no success. I tried swapping out the 3.2768MHz crystal oscillator for a new one and im still getting black boxes. Its almost as if the LCD wont initialise Ive tested the pins on the PIC and its still performing all tasks including sending information to the display.
Also ive tried just running some basic code to initialise the LCD and display a few characters which did not work either.
Typically i have my final hand in on tuesday as its for my final year project, any help in diagnosing this problem would be awesome.
I have a PIC16F916 hooked up to a DISPLAYTECH162F 16x2 LCD display using 4-bit mode. Im using a PICKIT2 to program the chip. I have had the system running and displaying perfectly for the past week however I was checking my PCB's connections with the power on and the top line of the LCD just turned to black boxes. I have another board which i know also works correctly so i swapped the PIC and LCD over to the Board and i got the same problem. I then went on to try a new PIC with no success and a new LCD screen with no success. I tried swapping out the 3.2768MHz crystal oscillator for a new one and im still getting black boxes. Its almost as if the LCD wont initialise Ive tested the pins on the PIC and its still performing all tasks including sending information to the display.
Also ive tried just running some basic code to initialise the LCD and display a few characters which did not work either.
Typically i have my final hand in on tuesday as its for my final year project, any help in diagnosing this problem would be awesome.