Linux: Timed out waiting for a response.

Status
Not open for further replies.

stone

New member
On a NSLU2 with Debian 5.0

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

Usage:
./example-635 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/ttyS0" opened at "115200" 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
Works with windos testing tool, any ideas?
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
 
Last edited:

CF Tech

Administrator
Is this a USB display or serial display?

If it is USB, did the OS load the driver, that is does something like "/dev/usb/ttyUSB0" exist?
 

stone

New member
Its a USB-Device.

It works now, thanks alot for the tip. Fixed:

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

Usage:
./example-635 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 "115200" baud.

C=95(31 = Send Data to LCD (row,col)),L=0,D="",CRC=0x5F78
C=95(31 = Send Data to LCD (row,col)),L=0,D="",CRC=0x5F78
C=95(31 = Send Data to LCD (row,col)),L=0,D="",CRC=0x5F78
C=95(31 = Send Data to LCD (row,col)),L=0,D="",CRC=0x5F78

Ctrl-C to exit.
Updated display, now waiting for packets
 
Status
Not open for further replies.
Top