No response with CFA-635 on Linux amb64

donniet

New member
Hello,
When I plug in my new CFA-635 into a USB port I see the following messages in dmesg:

usb 5-2: new full speed USB device using uhci_hcd and address 9
usb 5-2: configuration #1 chosen from 1 choice
ftdi_sio 5-2:1.0: FTDI USB Serial Device converter detected
drivers/usb/serial/ftdi_sio.c: Detected SIO
usb 5-2: FTDI USB Serial Device converter now attached to ttyUSB0

But if I try to use the 635_linux test635 app whose source is downloadable from the the CFA-635 product screen I get the following output:

# ./test635 /dev/ttyUSB0 19200
Ultra-simple CFA-635 command-line communications example.
Crystalfontz America, Inc. http://www.crystalfontz.com

Usage:
./test635 PORT BAUD
PORT is something like "/dev/ttyS0" or "/dev/usb/ttyUSB0"
BAUD is 19200 or 115200
To clear the display, enter "clear" as an optional third parameter

Serial_Init:: success
"/dev/ttyUSB0" opened at "19200" baud.

Timed out waiting for a response.
Timed out waiting for a response.
Timed out waiting for a response.
Timed out waiting for a response.

Ctrl-C to exit.
Updated display, now waiting for packets

There's a similar message if I try 115200. I've also tried LCDProc but I get messages like this:

Nov 27 19:40:51 back LCDd: sock_send: socket write error

And when I try LCD4Linux I get messages like this:

Nov 29 23:37:03 back LCD4Linux[31399]: Crystalfontz: timeout waiting for response to cmd 0x22
Nov 29 23:37:03 back LCD4Linux[31399]: Crystalfontz: timeout waiting for response to cmd 0x22
Nov 29 23:37:04 back LCD4Linux[31399]: Crystalfontz: timeout waiting for response to cmd 0x22
Nov 29 23:37:04 back LCD4Linux[31399]: Crystalfontz: timeout waiting for response to cmd 0x22
Nov 29 23:37:04 back LCD4Linux[31399]: Crystalfontz: timeout waiting for response to cmd 0x22
Nov 29 23:37:04 back LCD4Linux[31399]: Crystalfontz: timeout waiting for response to cmd 0x22
Nov 29 23:37:05 back LCD4Linux[31399]: Crystalfontz: timeout waiting for response to cmd 0x22
Nov 29 23:37:05 back LCD4Linux[31399]: Crystalfontz: timeout waiting for response to cmd 0x06
Nov 29 23:37:05 back LCD4Linux[31399]: Crystalfontz: timeout waiting for response to cmd 0x1f
Nov 29 23:37:05 back LCD4Linux[31399]: Crystalfontz: timeout waiting for response to cmd 0x1f
Nov 29 23:37:06 back LCD4Linux[31399]: Crystalfontz: timeout waiting for response to cmd 0x1f

No matter what I do the CFA-635 stays on the same screen (the factory default screen), same contrast, same brightness, with the text:

Crystalfontz CFA-635
CC 20x4 + keypad &
CC LEDs in 5 1/4" bay
www.crystalfontz.com

What am I missing?

Thanks,
Donnie
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
 

donniet

New member
Any help is appreciated

If anybody has any suggestions related to this post, I am still having the same problem.
 

CF Tech

Administrator
Thank you for your message.

I think the best approach would be to first verify the CFA-635 on a Windows box (sorry about that), using 635_WinTest. That way you can be confident that the hardware is working, and you can be sure of the baud rate (which should be 115200 on a CFA-635 by default).

The next step would be to use the simple command line program under Linux to verify the USB device. At that point (since you know the baud and have verified the USB driver and USB device) I would think LCD4Linux would work fine.
 
USB LCD Displays - Graphic and Character LCDs with a Keypad

donniet

New member
Thanks for your response.

It's been a while, but I'm finally getting back to this and tried what you suggested. Windows seems to recognize the device, but the WinTest application does not change anything on the screen. The LCD seems stuck on the introduction screen.

I also tried the simple C program on the website in Linux with no success. Could the device be faulty?

Thanks,
Donnie
 
Top