Guys,
I am having trouble displaying to the LCD. I have done this many times before without issue but it now does not work. I have upgraded to another version of Flowcode.
The program has two blocks. START macro and PrintASCII macro. Everything is configured ok, power applied, contrast ok, connected to correct port etc. The simulation works fine but nothing on download to the board.
However, I sent the program to a friend and it works fine, without any changes, on his hardware.
My Flowcode versions is v3.2.2.40 with a LCD version of 1.5. His Flowcode version si v3.2.1.38 with LCD version 1.4.
Any ideas?
Thanks,
Jack
LCD display issue
-
- Valued Contributor
- Posts: 548
- Joined: Tue Jun 26, 2007 11:23 am
- Has thanked: 6 times
- Been thanked: 44 times
- Contact:
Re: LCD display issue
Just to confirm that all the hardware and software configuration settings are correct, could you cause the program to perform some additional operations to confirm that it is running (i.e. flash an LED at a measurable frequency).
If you want other people to test an exact copy of your program, independent of individual Flowcode versions, you can send them the .hex file generated by Flowcode. This can be used to program other devices by using the Flowcode PPP programing utility directly, avoiding the possibility of changes during re-compilation.
If you want other people to test an exact copy of your program, independent of individual Flowcode versions, you can send them the .hex file generated by Flowcode. This can be used to program other devices by using the Flowcode PPP programing utility directly, avoiding the possibility of changes during re-compilation.
- Steve
- Matrix Staff
- Posts: 3426
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Re: LCD display issue
Another thing to try is to post your Flowcode program (FCF file) and the generated C file here. A quick way for us to test problems like these is to compile the Flowcode program here and to do a file-compare with your C file to highlight any differences.
Re: LCD display issue
Thnaks guys,
But, why does the SAME program work on one set of Eblocks but not another?
But, why does the SAME program work on one set of Eblocks but not another?
- goldwingers
- Posts: 118
- Joined: Wed Sep 06, 2006 1:22 pm
- Location: London
- Been thanked: 1 time
- Contact:
Re: LCD display issue
How strange this is, I have recently upgraded to the latest version of flowcode and on a program of my own with the LCD display on port B of an 16F877 it died to nothing. I then tried the same program on a 16F88 and it did the same thing, I thought i was blowing ports up. I have since tried it on an 16F873 and it works fine?.
Ian
Ian
- Steve
- Matrix Staff
- Posts: 3426
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Re: LCD display issue
Ian / Jack,
Please post some example FCF and C files that don't work and we'll have a look at them. Or contact me directly if you don't want to make your files public.
Please post some example FCF and C files that don't work and we'll have a look at them. Or contact me directly if you don't want to make your files public.