[Lcdproc] CF631 and LCDproc 0.5

Peter Marschall peter@adpm.de
Sun May 7 16:16:01 2006


Hi David,

On Sunday, 7. May 2006 12:28, David GLAUDE wrote:
> Did anybody try that combo?

I did.
Although I have to admit I did a bit spoppily since I did most tests with my 
635.

> I did a few days ago and found a few problem.

> It use CFontzPacket driver (the same that should drive the CF633.
> The geometry is more 2x20 than the 2x16 found in the default config file.

The error is only in the comment in the config file.
The code (CFontzPacket.[ch]) is correct.

Ill correct the comment in LCDd.conf.

> Even when fixing the config file, the result was not that good...

> I will investigate since I have a sample running Fw1.0 and Hw1.0.

Interesting: My CFA-631 has both 2.0

The CFontzPacket driver is not doing any cross checks.
So you might succeed if you set
	Model=633
	Speed=115200
	Size=20x2

> If anybody succeded with the CF631 and the latest 0.5 release of
> LCDproc, please tell me. Otherwise I will fix the code (but I want to
> avoid breaking the 633 part of the code).

I had issues with my USB CFA-63[135] too.
I solved them by calling ./configure with the following command line
	CPPFLAGS="-DSEAMLESS_HBARS -DCFONTZ633_WRITE_DELAY=250" \
	./configure ....

The 1st one of these two flags makes the full hbar element 6 pixel wide
so that a hbar does not contain any gaps
The 2nd flag changes the functions in CFontz633io.c so that select() is when 
waiting for a command, that was sent to the LCD, to complete.
This makes sure the LCD is ready before the next command is sent.
(You might want to look at the code to see the exact details)
I chose to make it optional to not disturb the serial CFA-63x

With these options my 635 works flawlessly for months now.

> PS: I also test CwLnx and it work much better, even if I was very
> confuse with the menu... I need to check the mapping I had in my config
> file.

-- 
Peter Marschall
peter@adpm.de