eiphan
Member level 3
- Joined
- Oct 16, 2010
- Messages
- 59
- Helped
- 9
- Reputation
- 18
- Reaction score
- 9
- Trophy points
- 1,288
- Location
- Singapore
- Activity points
- 1,579
Hi
I have problem in PIC18F4520 lcd DISPLAY.
(1) The physical set up with PCI18F4520 and LCD is using PORTDbits.RD4 and RD5 as RS and Enable. RW pin is connected to ground.
(2) I use MPLAB V8.9 and C18 compiler. 4-bit mode LCD data using PORTD.
(3) The problem is I use PICkit2 to program and use Vdd from kit2. It works fine. But after I remove PICkit2 and put back again or use external power supply, the lcd display disappeared. But when I reflash program with PICkit2 and if it is still connected,it works fine.
(4) That means the coding is ok.
(5) Then I use MikroC IDE and pro compiler. It works fine whether PICkit2 connected or not.
To conclude this, can I say MPLAB IDE has problem? Or PORTD for LCD has problem? Any idea? Thank you so much.
I have problem in PIC18F4520 lcd DISPLAY.
(1) The physical set up with PCI18F4520 and LCD is using PORTDbits.RD4 and RD5 as RS and Enable. RW pin is connected to ground.
(2) I use MPLAB V8.9 and C18 compiler. 4-bit mode LCD data using PORTD.
(3) The problem is I use PICkit2 to program and use Vdd from kit2. It works fine. But after I remove PICkit2 and put back again or use external power supply, the lcd display disappeared. But when I reflash program with PICkit2 and if it is still connected,it works fine.
(4) That means the coding is ok.
(5) Then I use MikroC IDE and pro compiler. It works fine whether PICkit2 connected or not.
To conclude this, can I say MPLAB IDE has problem? Or PORTD for LCD has problem? Any idea? Thank you so much.