PB with flowcode v3 and LCD on matrix card

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
itti
Posts: 3
Joined: Wed Oct 08, 2008 5:35 pm

PB with flowcode v3 and LCD on matrix card

Post by itti »

hello,
I have some problems with Flowcode V3 and the LCD.
The simulation is OK but when i send the program in the matrixcard, the LCD do'nt work.
It's OK with LED or LED7seg1 and the card is OK with flowcode V2.
I try with PIC 16F84 and 16F877.
I try with the example, and my own program.
I try to with severall cards.

Is there a problem with the routine (with V2, we used macro)?

Thank you for your help, sorry for my english (i'm french).
Γ©ric

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: PB with flowcode v3 and LCD on matrix card

Post by Steve »

It could be one of the following reasons:
  1. You have not initialised the LCD with the "Start" macro
  2. The connections to the LCD are not specified correctly
  3. The clock speed set in Flowcode is not set the the actual processor speed
  4. The configuration word settings are inappropriate (e.g. wrong clock type, watchdog is on, LVP is on)

itti
Posts: 3
Joined: Wed Oct 08, 2008 5:35 pm

Re: PB with flowcode v3 and LCD on matrix card

Post by itti »

thank you for the answer, I have seen that the problem is only with Vista.
I try with a PC with windows XP and flowcode V3 and it's OK.

But some program are OK too under vista like program with led or led7seg!!!
The PB is only with lcd; I have found this error message in code C:

void FCD_LCDDisplay0_Start()
{
//Error Reading Code For Afficheur LCD::Macro_Init

}

Γ©ric
Attachments
Flowcode2.fcf
(3.5 KiB) Downloaded 317 times

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: PB with flowcode v3 and LCD on matrix card

Post by Steve »

It looks like the C code file for the LCD has been altered and cannot be read correctly. Please try copying the LCDDisplay_Code.c file from the XP PC to the Vista one and then re-launch Flowcode.

itti
Posts: 3
Joined: Wed Oct 08, 2008 5:35 pm

Re: PB with flowcode v3 and LCD on matrix card

Post by itti »

Yes! thank you, that's OK!
Nevertheless, I'm surprise because I used the same Cd for the installation on my new computer.
The own diffΓ©rence:On the old computer, I had the two version V2 and V3.

thanks again
Γ©ric

Post Reply