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?
Problem with EB005 LCD Display
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Problem with EB005 LCD Display
Hello Jim,
I have changed your config settings slightly and hopefully now the chip will run.
Let me know how you get on.
I have changed your config settings slightly and hopefully now the chip will run.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- E*2Engineer
- Posts: 35
- Joined: Wed Dec 25, 2013 6:54 pm
- Has thanked: 12 times
- Been thanked: 6 times
Re: Problem with EB005 LCD Display
Hi,jim_g wrote:Just in case anyone else needs to know, the offending configuration item was the extended instruction set, which I had enabled in error.
Regards
Jim
I am having problems with any new code I write not working with the LCD display, how are you enabling/ disabling the extended instruction set?
Thanks,
E*2 engineer.
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
Re: Problem with EB005 LCD Display
HIhow are you enabling/ disabling the extended instruction set?
Go to Build >> Project Options >> Configure and you will find it in the configuration window
- Attachments
-
- 21.01.jpg (178.99 KiB) Viewed 5681 times
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
- E*2Engineer
- Posts: 35
- Joined: Wed Dec 25, 2013 6:54 pm
- Has thanked: 12 times
- Been thanked: 6 times
Re: Problem with EB005 LCD Display
QMESAR ,
Thanks for your your fast reply.
I am currently using FC 4.5 and so am trying to find the equivalent in my version.
I will be upgrading to to Version 6 in two months, but until then, I will have to work my way though it.
It's weird, as there are no changes to my configuration I know of. But old programs are running the display fine, and new programs are not.........
Thanks,
E*2Engineer
Thanks for your your fast reply.
I am currently using FC 4.5 and so am trying to find the equivalent in my version.
I will be upgrading to to Version 6 in two months, but until then, I will have to work my way though it.
It's weird, as there are no changes to my configuration I know of. But old programs are running the display fine, and new programs are not.........
Thanks,
E*2Engineer
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
Re: Problem with EB005 LCD Display
Hello
I never use V4
Sorry I can not be of more help too you ,Ben or one of the experienced user will certainly help you
Good luck
I never use V4

Sorry I can not be of more help too you ,Ben or one of the experienced user will certainly help you
Good luck
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Problem with EB005 LCD Display
Hi E*2Engineer,
It may help if you can post a flowchart so we can see if we help you further.
But just in case the issues is the extended instruction set option:
With Flowcode V4, you will need to go to 'Chip', 'Configure'
There are two configuration screens.
Simple and expert.
You must have the expert configuration enabled.
If you can only see simple configuration menu: Then to save keep pressing 'Switch to Expert Config Screen'
You can enable Expert Config Screen by selecting 'Options', then unselect 'Use Simple Config Screen', select OK
When in expert config screen by 'Chip', 'Configure' menu you can then select Disabled for Extended instruction set: Note: What is called Expert configuration with V4, is the standard configuration screen for Flowcode V5 and above
Martin
It may help if you can post a flowchart so we can see if we help you further.
But just in case the issues is the extended instruction set option:
With Flowcode V4, you will need to go to 'Chip', 'Configure'
There are two configuration screens.
Simple and expert.
You must have the expert configuration enabled.
If you can only see simple configuration menu: Then to save keep pressing 'Switch to Expert Config Screen'
You can enable Expert Config Screen by selecting 'Options', then unselect 'Use Simple Config Screen', select OK
When in expert config screen by 'Chip', 'Configure' menu you can then select Disabled for Extended instruction set: Note: What is called Expert configuration with V4, is the standard configuration screen for Flowcode V5 and above
Martin
Martin