Problem with EB005 LCD Display
Posted: Tue Jan 13, 2015 1:41 pm
Hi.
I have just started to program using Flowcode 6 and I am making sure I can program each of my blocks successfully before I connect them together as a project.
I want to use the display block EB005 with PIC 18F45K22 (the device I have 'standardised' on) but my Flowcode 6 program does not work.
Suspecting the display, I used the EB005 factory test code, with a PIC 16F877A to test it, and the display works just fine.
I then changed the target device to PIC 18F45K22, same crystal at 19660800 Hz and using the same programmer (Olimex PIC-KIT3). The EB006 board is powered from a 12 volt supply and the programmer disconnected before testing. For the PIC 18F45K22, I disabled the clock multiplier and changed the P3A/CCP3 Mux bit from RB5 to RE0. Otherwise I have not changed the EB005 factory test program other than to select a new device. The LCD display does not work with this CPU.
If I place an EB004 board 'in series with' the EB005, I can see LED flashes during the LCD commands on Port B. I have also tried putting 200ms delays before and after the LCD initialisation macro, with no improvement. I can only think that this is either a timing issue, or a CPU configuration error on my part. Can anyone help please?
I have just started to program using Flowcode 6 and I am making sure I can program each of my blocks successfully before I connect them together as a project.
I want to use the display block EB005 with PIC 18F45K22 (the device I have 'standardised' on) but my Flowcode 6 program does not work.
Suspecting the display, I used the EB005 factory test code, with a PIC 16F877A to test it, and the display works just fine.
I then changed the target device to PIC 18F45K22, same crystal at 19660800 Hz and using the same programmer (Olimex PIC-KIT3). The EB006 board is powered from a 12 volt supply and the programmer disconnected before testing. For the PIC 18F45K22, I disabled the clock multiplier and changed the P3A/CCP3 Mux bit from RB5 to RE0. Otherwise I have not changed the EB005 factory test program other than to select a new device. The LCD display does not work with this CPU.
If I place an EB004 board 'in series with' the EB005, I can see LED flashes during the LCD commands on Port B. I have also tried putting 200ms delays before and after the LCD initialisation macro, with no improvement. I can only think that this is either a timing issue, or a CPU configuration error on my part. Can anyone help please?