Hi there,
1. I have flowcode 6 demo. I run the example "Hello world" downloaded from MATRIX web site.
LCB connected to PORTB
It works with 16F88, but it doesn't with 16F747; the simulation works in both cases.
2. if I move the LCD from PORTB to PORTA dosn't work with the PIC16F88
3. if I move the LCD from PORTB to PORTC doesn't work with the PIC16F747
Could you help me, please?
Thanks
Giovanni
LCD is not doing what I want
Moderator: Benj
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: LCD is not doing what I want
Hi Giovanni,
Sounds like your configuration settings (build, project options).
Is watchdog timer and Low voltage programming disabled?
What about osc clock speed. if greater than 4MHz is osc set for HS and is clock speed settings matching crystal speed?
I believe you did not have an issue with 16F88 because in flowcode it's preconfigured.
With 16F747 it's not, so you will have to go through all the configuration options and make sure they are similar to 16F88 .
Martin
Sounds like your configuration settings (build, project options).
Is watchdog timer and Low voltage programming disabled?
What about osc clock speed. if greater than 4MHz is osc set for HS and is clock speed settings matching crystal speed?
I believe you did not have an issue with 16F88 because in flowcode it's preconfigured.
With 16F747 it's not, so you will have to go through all the configuration options and make sure they are similar to 16F88 .
Martin
Martin
- 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: LCD is not doing what I want
Hello,
If your in doubt please attach your Flowcode project .fcfx file to the forums so we can try and provide better help rather than guessing what might be wrong.
The LCD won't work with a 16F88 device on PortA as pin A5 on the 16F88 is the reset MCLR pin and cannot be used as an output.2. if I move the LCD from PORTB to PORTA dosn't work with the PIC16F88
As Martin has said this could be down to incorrect config settings.3. if I move the LCD from PORTB to PORTC doesn't work with the PIC16F747
If your in doubt please attach your Flowcode project .fcfx file to the forums so we can try and provide better help rather than guessing what might be wrong.
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
-
- Posts: 96
- Joined: Mon Mar 02, 2015 12:32 pm
- Has thanked: 5 times
- Been thanked: 11 times
- Contact:
Re: LCD is not doing what I want
Hi,
yes, I will as soon as I get to the office, but
I don't understand how the simulation works....I hoped that the simulator can mirror the "real hardware" connections of the device!!!!!! Therefore should warm me with an error or something saying "LCD won't work because pin xy is in use for bla bla".... am I missing something here? or the simulator has a bug? or is not capable to simulate the real hardware?
Thanks
Giovanni
yes, I will as soon as I get to the office, but
I don't understand how the simulation works....I hoped that the simulator can mirror the "real hardware" connections of the device!!!!!! Therefore should warm me with an error or something saying "LCD won't work because pin xy is in use for bla bla".... am I missing something here? or the simulator has a bug? or is not capable to simulate the real hardware?
Thanks
Giovanni
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: LCD is not doing what I want
Hi Giovanni,
The only thing that I can spot is clock is set for 19.66MHz yet osc type is not sent on the recommended HS.
Also LCD pin Data0 is connected to D0 when all the other pins are connected to portB.
Could that be your issue?
Martin
The only thing that I can spot is clock is set for 19.66MHz yet osc type is not sent on the recommended HS.
Also LCD pin Data0 is connected to D0 when all the other pins are connected to portB.
Could that be your issue?
Martin
Martin