LCDproc development and user support list

Text archives Help

[lcdproc] HD44780 Display corruption Problems

Chronological Thread 
  • From: benjamin_tse AT (TSE,BENJAMIN (A-Australia,ex1))
  • Subject: [lcdproc] HD44780 Display corruption Problems
  • Date: Thu, 28 Jun 2001 16:23:56 +0900

Hi Tracy,

There are a few things that you can try:

1 - Change the delay mechanism. In hd44780.c modify the following snippet of
code as per the comment:

// Uncomment one of the lines below to select your desired delay
// mechanism. If both defines are commented, the original I/O read
// loop is used. Using DELAY_NANOSLEEP seems to provide the best

2 - If this doesn't work, try adding some delays to the
lcdwinamp_HD44780_senddata function in hd44780-winamp.c. i.e. add calls such


between the calls to port_out.

3 - If that doesn't work, increase the number you've tweaked even more :-).

Ideally, most of this functionality should be accessible from the command
line .... :-)

The problem you see arises because each display has slightly different
characteristics. The default delay timing appears to work for most people's
displays but there are bound to be some that work with different timings. It
also doesn't help that some of the code relys on ISA bus timings!

Hope it helps,

> After about 5 minutes or so, the display will start to
> corrupt, lines 1 and
> three will be out of alignment by 1 or 2 spaces with lines 2
> and 4. after
> about 2 more minutes, the display will just begin displaying garbage
> characters. I can correct the problem just by running the LCDd command
> again. This display works fine on a windows pc using the
> winamp plugin.
> I have tried adjusting the upause(40) value to about 66 (info from a
> previous post to the lcdproc mailing list), to no avail. The
> display still
> corrupts, but later then it did before/
> Any suggestions?

To unsubscribe from this list send a blank message to
lcdproc-unsubscribe AT

Archive powered by MHonArc 2.6.18.

Top of page