Page 1 of 2

LK204-7T-1U-TCI Serial shows only garble characters

Posted: Sat Oct 08, 2011 4:38 am
by JonL
Hi,

after a few tests with the LK204-7T-1U-TCI Serial version, the display shows only garbled characters and even the manual reset process doesn't solve it.

Posted: Sat Oct 08, 2011 1:23 pm
by JonL
Well, this is strange now.

I manage to comunicate wuth the display through uProject if holding down the lower dot button.

If then I save the baud rate as 19200, further attempts won't be able to communicate with the display. So, it seems that I'm stuck here.

I was using Lcdproc successfully before, but now I can't. For instance, all keypresses receive garbled characters, which wasn't happening before.

Is there any other way to revert to factory settings, besides the dot button procedure, which I'm not able to make work? I'm kiinda stuck here.

Posted: Sat Oct 08, 2011 1:54 pm
by JonL
It seems that I can only communicate with the screen when power cycling with the dot button procedure.

Subsequent power cycles won't let me communicate with the display.

Posted: Sat Oct 08, 2011 2:42 pm
by JonL
Well, going through uProject (sometimes I don't know what it's doing), I found a Initialize Memory option. Could you give me the memory file to see if I can solve the problem?

Posted: Tue Oct 11, 2011 10:26 am
by Clark
Hi Jon,

My apologies for the delay, Monday was our Thanksgiving holiday. I see you've become quite familiar with uProject, but unfortunately, since it was created we changed one major command: the change baud rate functionality.

There are two ways to remedy this issue, both require the unit to be in override mode. First, you can use the uploader tab in uProject, select Raw Data from the Other command branch, locate the baud rate command in your manual, and enter the command byte by byte. Alternatively, you could use the change baud rate button in the newer MOGD# program.

Thanks,
~Troy

Posted: Tue Oct 11, 2011 10:30 am
by JonL
Hi Troy,

Thanks for getting back on this.

Well, I've tried both the raw data and the MOGD# program, but to no avail.
That is, I can only communicate if doing the dot button procedure that forces the 19200 baud rate.

Any subsequent power cycles will not allow me to connect to the lcd screen, as if the 19200 setting done either with raw data or MOGD# would have been erased.

Posted: Tue Oct 11, 2011 1:27 pm
by Clark
Hi Jon,

First, make sure communication to the display is successful before issuing the baud rate change command.

Should the baud rate still fail to save correctly, you may want to check out the set and save data lock command to ensure the unit is unlocked and accepting settings changes.

Thanks,
~Troy

Posted: Wed Oct 12, 2011 2:25 pm
by JonL
Hi Troy,

yes, that was it. Did a Set Data Lock 0, and now I communicate with the display without need of the dot button procedure.

Anyway, I've got two problems.
1 - the keypad is sending weird characters. Can I set them properly to A, B, C, etc. in uProject?

2- I'm mainly using Linux (lcdproc) for this project. When I start my application now I still can't get anything to display. How can I troubleshoot this?

Posted: Wed Oct 12, 2011 2:57 pm
by JonL
One more thing that could help troubleshooting: the block bar graphs demos in uProject don't show the character blocks all filled, some cells are not highlighted.

Posted: Thu Oct 13, 2011 10:04 am
by Clark
Hi Jon,

Glad to hear you are able to communicate with the display, at least in MOGD#.

To change the keypad values check out the assign keypad codes command in your manual, it will also list the default configuration.

You should be able to communicate to the display from a command window in Linux using the example posted in our Linux appnote. You should not need to install drivers unless you have a USB component so you can skip to the bottom of that document. Use the command window to confirm all settings and make sure LCDProc is set up correctly.

Finally, when printing bargraphs, you may see what appears to be an inverted 'P'. That character would result from a font difference where the value 255 prints a block character using a Japanese font and an inverted 'P' when a European font is used.

Thanks,
~Troy

Posted: Thu Oct 13, 2011 3:28 pm
by JonL
Hi,

I managed to set the keypad codes with uProject, but still can't get it working on Linux, which was working fine previously,

If I start the lcdproc application, text doesn't show up, but sometimes the screen's backlight turns on and off.

I'm afraid some setting could be off, so I ask again how can I set the whole display to factory settings.

Posted: Thu Oct 13, 2011 4:06 pm
by Clark
Hi Jon,

Try the manual override procedure in your manual, it will temporarily return all settings to their defaults.

Thanks,
~Troy

Posted: Thu Oct 13, 2011 4:07 pm
by JonL
Hi Troy,
you're referring to the dot button procedure?

But as soon as I power cycle the display, won't the settings return to the non-default values?

Posted: Fri Oct 14, 2011 11:48 am
by Clark
Hi Jon,

Exactly, you can check out the commands to save your settings through a power cycle in the manual.

Thanks,
~Troy

Posted: Mon Oct 17, 2011 2:52 pm
by JonL
Hi Clark,

well, I've made a set display, set brightness, I2c Slave Address and AutoTransmit keypresses in uProject and still can't display anything under Linux like before.