LCD 2041 Garbage

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
sidexter
LCD?
Posts: 5
Joined: Mon Oct 28, 2013 12:49 am

LCD 2041 Garbage

Post by sidexter »

Hi,

I' trying to display characters on LCD 2041 Rev.2 board using u project software., but I'm continuously getting garbage characters on LCD.

I tired the following:

1. Manual override by placing the jumper at J0, then set the baud rate at 19200 but still the problem continues.
2. I tired with Hyper terminal at the same baud rate but the problem continues.
3. so i thought may be the cable might be fault so tired echo with the cable by shorting pin 2 and pin3 , its working fine.

how do I proceed, with the uproject software as i m trying autodetect option I'm not able to find the LCD.

please suggest.

Thanks,
Sid

Tino
Matrix Orbital
Matrix Orbital
Posts: 158
Joined: Wed May 22, 2013 9:04 am
Location: Matrix Orbital

Re: LCD 2041 Garbage

Post by Tino »

Hi Sid,

When using uProject the auto detect will not detect newer displays. Namely it will not detect your LCD2041.

You will have to manually select the port and baud rate.

When you set the display to manual override and have powered the display on:
remove the jumper
with uProject open, go into the "Uploader" menu.
In the left menu of the Uploader select "Raw Data" which will be in the "Other" drop down.
Send the "Changing the Baud Rate" command.(Ive attached a image of what the "Raw Data" window should look like with the command entered)
After you have entered the command select ok and execute.

Note: The Baudrate I have set in the command is 19200.

Please try this and let me know if it works.
If you have any other questions or concerns please feel free to ask.
Thank you
Martino
Attachments
changebaudrate.png
changebaudrate.png (13.91 KiB) Viewed 6734 times
Martino DeLeon
Matrix Orbital
Technical Support Representative

sidexter
LCD?
Posts: 5
Joined: Mon Oct 28, 2013 12:49 am

Re: LCD 2041 Garbage

Post by sidexter »

Hi Tino,

Thanks for your reply, I tired with what you had suggested, the message is also showing upload done.

But then when I go into main menu and select the "Load startup screen" and press ok., its again showing all the garbage values.

I'm not sure where exactly I'm missing the trick.

please suggest.,
Sid
Attachments
img1.JPG
img1.JPG (116.07 KiB) Viewed 6729 times

sidexter
LCD?
Posts: 5
Joined: Mon Oct 28, 2013 12:49 am

Re: LCD 2041 Garbage

Post by sidexter »

Well., I'm in a fix now.,

What I tried next was to print some text which did work.
but now there was some program which was running after the initialization (i.e. after 15secs) which has vanished, its all garbage now.

I guess since I changed the baud rate that might be the issue., but now I don't know how to restore it back to its original settings.

Am I doomed??

Awaiting your earliest reply.
Please help.

Sid.
Attachments
img2.JPG
img2.JPG (135.82 KiB) Viewed 6728 times

Tino
Matrix Orbital
Matrix Orbital
Posts: 158
Joined: Wed May 22, 2013 9:04 am
Location: Matrix Orbital

Re: LCD 2041 Garbage

Post by Tino »

Hi Sid,

You are not doomed.

Are you looking to reset the Start Screen back to the default?
After the start up screen on the LCD2041 is changed you can't necessarily change it back to the original. We have a program that you can use to set the unit back to the start screen though. It is called BootEdit and another is called BootLogo. Personally I use BootEdit. They can be found here:
http://www.matrixorbital.ca/software/software_alpha/

To reset the settings (ex baud rate) set the display into manual override.
Then send the change baud rate command found in the manual - this will save the baud rate to what you want.
After the settings are saved then try sending text to the display.

After you change the baud rate be sure to change the settings in Hyperterminal and uProject so you are sending the data at the right baud rate.
Martino DeLeon
Matrix Orbital
Technical Support Representative

sidexter
LCD?
Posts: 5
Joined: Mon Oct 28, 2013 12:49 am

Re: LCD 2041 Garbage

Post by sidexter »

Thanks Tino,

My problem right now is.,
previous programmer has given only the hex file, don't have the entire program.
while fiddling with the start up screen using uproject, i guess, i messed up with the actual baudrate with which the LCD was communicating with the microcontroller, because after the startup the display is showing garbage values.

I havent done anything to the microcontroller as I don't have much of a scope to work on that end.

what should I do??

Sid

Tino
Matrix Orbital
Matrix Orbital
Posts: 158
Joined: Wed May 22, 2013 9:04 am
Location: Matrix Orbital

Re: LCD 2041 Garbage

Post by Tino »

Hi Sid,

By only the hex file, what do you mean?

Is the hex file a .mem or .usf? What is the extension of the file if any.

If it is a .usf file you can open it within uProject's Uploader.

Thank you
Martino
Martino DeLeon
Matrix Orbital
Technical Support Representative

sidexter
LCD?
Posts: 5
Joined: Mon Oct 28, 2013 12:49 am

Re: LCD 2041 Garbage

Post by sidexter »

Hi tino,

I tried following procedure but haven't succeeded yet.

1. switch off the device, put Jumper across J0 for override mode.,
2. Switch on the LCD, with uproject open along with com port open and then remove the jumper.
3. upload the raw data, as showing in the picture attached by you.
4. Go into main,load start up screen or screen text., write"ABCD"
5. Nothing is displayed or still at times garbage value is seen.

Next I tired,
1. upload raw data, clear screen, wait and print "ABCD"
2. this gives me something "FABCD" on display but that to very rarely.
3. when i switch it off and switch on the same problem persist.

I'm completely clueless as in if LCD is not communicating or not sure what is happening!

Please suggest what can be done.

Regards,
Sid

Tino
Matrix Orbital
Matrix Orbital
Posts: 158
Joined: Wed May 22, 2013 9:04 am
Location: Matrix Orbital

Re: LCD 2041 Garbage

Post by Tino »

Hey Sid,

Let's try this:

Send the "Set and Save Data Lock" command setting the level to '0',
Then set "Remember" to 'On',
Send the "Set Baud Rate Command" setting the baud rate to the rate you would like.
Then set "Remember" to 'Off"

You can find the descriptions and parameters of these commands in the manual here:
http://www.matrixorbital.ca/manuals/LCD ... CD2041.pdf

Please let me know if this helps.
Thank you
Maritno
Martino DeLeon
Matrix Orbital
Technical Support Representative

Post Reply