Can't Display Text

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

Moderators: Henry, Mods

Post Reply
mbjorge
LCD?
Posts: 9
Joined: Fri Jun 20, 2014 9:13 am

Can't Display Text

Post by mbjorge » Fri Jun 27, 2014 11:47 am

I have a GLK19264-7T-1U, and I can no longer get text to display.

I was able to use all features successfully (graphing, drawing, text, LEDs, change fonts, on/off/clear, etc.).
Then I started playing around with baud rates and flow control settings, since my application was sending data too quickly.

Occasionally this would result in the module freezing up. So I would turn it off, hold in the bottom left button, and turn it back on again to do a manual reset. And the module would come back, and it would display the Matrix Orbital text/logo that it does at default.

But I must have changed some setting / deleted something / corrupted something, because now when I do a manual reset, the Matrix Orbital default no longer shows up. Also, I can no longer send / display text. I am still able to draw lines / pixels and turn the display on/off, clear the display, and change the LED colors.

I have tried wiping the filesystem and reloading fonts. However, I may have loaded fonts incorrectly. I cannot install/use mogd# for various reasons, so I tried to generate the necessary data from the font files available on the Matrix Orbital site.

For instance, this is the data I sent for the SmallFilled font:

Code: Select all

{0x06, 0x07, 0x1c, 0x7f, \
		0x01, 0x30, 0x06, \
		0x01, 0x36, 0x06, \
		0x01, 0x3c, 0x06, \
		0x01, 0x42, 0x06, \
		0x01, 0x48, 0x06, \
		0x01, 0x4e, 0x06, \
		0x01, 0x54, 0x06, \
		0x01, 0x5a, 0x06, \
		0x01, 0x60, 0x06, \
		0x01, 0x66, 0x06, \
		0x01, 0x6c, 0x06, \
		0x01, 0x72, 0x06, \
		0x01, 0x78, 0x06, \
		0x01, 0x7e, 0x06, \
		0x01, 0x84, 0x06, \
		0x01, 0x8a, 0x06, \
		0x01, 0x90, 0x06, \
		0x01, 0x96, 0x06, \
		0x01, 0x9c, 0x06, \
		0x01, 0xa2, 0x06, \
		0x01, 0xa8, 0x06, \
		0x01, 0xae, 0x06, \
		0x01, 0xb4, 0x06, \
		0x01, 0xba, 0x06, \
		0x01, 0xc0, 0x06, \
		0x01, 0xc6, 0x06, \
		0x01, 0xcc, 0x06, \
		0x01, 0xd2, 0x06, \
		0x01, 0xd8, 0x06, \
		0x01, 0xde, 0x06, \
		0x01, 0xe4, 0x06, \
		0x01, 0xea, 0x06, \
		0x01, 0xf0, 0x06, \
		0x01, 0xf6, 0x06, \
		0x01, 0xfc, 0x06, \
		0x02, 0x02, 0x06, \
		0x02, 0x08, 0x06, \
		0x02, 0x0e, 0x06, \
		0x02, 0x14, 0x06, \
		0x02, 0x1a, 0x06, \
		0x02, 0x20, 0x06, \
		0x02, 0x26, 0x06, \
		0x02, 0x2c, 0x06, \
		0x02, 0x32, 0x06, \
		0x02, 0x38, 0x06, \
		0x02, 0x3e, 0x06, \
		0x02, 0x44, 0x06, \
		0x02, 0x4a, 0x06, \
		0x02, 0x50, 0x06, \
		0x02, 0x56, 0x06, \
		0x02, 0x5c, 0x06, \
		0x02, 0x62, 0x06, \
		0x02, 0x68, 0x06, \
		0x02, 0x6e, 0x06, \
		0x02, 0x74, 0x06, \
		0x02, 0x7a, 0x06, \
		0x02, 0x80, 0x06, \
		0x02, 0x86, 0x06, \
		0x02, 0x8c, 0x06, \
		0x02, 0x92, 0x06, \
		0x02, 0x98, 0x06, \
		0x02, 0x9e, 0x06, \
		0x02, 0xa4, 0x06, \
		0x02, 0xaa, 0x06, \
		0x02, 0xb0, 0x06, \
		0x02, 0xb6, 0x06, \
		0x02, 0xbc, 0x06, \
		0x02, 0xc2, 0x06, \
		0x02, 0xc8, 0x06, \
		0x02, 0xce, 0x06, \
		0x02, 0xd4, 0x06, \
		0x02, 0xda, 0x06, \
		0x02, 0xe0, 0x06, \
		0x02, 0xe6, 0x06, \
		0x02, 0xec, 0x06, \
		0x02, 0xf2, 0x06, \
		0x02, 0xf8, 0x06, \
		0x02, 0xfe, 0x06, \
		0x03, 0x04, 0x06, \
		0x03, 0x0a, 0x06, \
		0x03, 0x10, 0x06, \
		0x03, 0x16, 0x06, \
		0x03, 0x1c, 0x06, \
		0x03, 0x22, 0x06, \
		0x03, 0x28, 0x06, \
		0x03, 0x2e, 0x06, \
		0x03, 0x34, 0x06, \
		0x03, 0x3a, 0x06, \
		0x03, 0x40, 0x06, \
		0x03, 0x46, 0x06, \
		0x03, 0x4c, 0x06, \
		0x03, 0x52, 0x06, \
		0x03, 0x58, 0x06, \
		0x03, 0x5e, 0x06, \
		0x03, 0x64, 0x06, \
		0x03, 0x6a, 0x06, \
		0x03, 0x70, 0x06, \
		0x03, 0x76, 0x06, \
		0x03, 0x7c, 0x06, \
		0x03, 0x82, 0x06, \
		0x9d,  0xb6,  0xe7,  0xff,  0xff,  0xc0,  0xbe,  0x78,  0xe1,  0x8e,  0x7b,  0xc0,  0xff,  0x78,  0xe3,  0x04,  \
		0x1f,  0xc0,  0xfc,  0x10,  0x63,  0x8f,  0x7f,  0xc0,  0x00,  0x00,  0x00,  0x00,  0x00,  0x00,  0xdf,  0x7d,  \
		0xf7,  0xff,  0xfd,  0xc0,  0xae,  0xba,  0xff,  0xff,  0xff,  0xc0,  0xae,  0xb0,  0x6b,  0x06,  0xba,  0xc0,  \
		0xde,  0x15,  0xe3,  0xd4,  0x3d,  0xc0,  0x3c,  0xde,  0xf7,  0xbd,  0x9e,  0x40,  0x9d,  0xb5,  0xef,  0x55,  \
		0xb9,  0x40,  0x9f,  0x7b,  0xff,  0xff,  0xff,  0xc0,  0xef,  0x7b,  0xef,  0xbf,  0x7e,  0xc0,  0xbf,  0x7e,  \
		0xfb,  0xef,  0x7b,  0xc0,  0xff,  0x75,  0x63,  0x57,  0x7f,  0xc0,  0xff,  0x7d,  0xc1,  0xdf,  0x7f,  0xc0,  \
		0xff,  0xff,  0xff,  0x9f,  0x7b,  0xc0,  0xff,  0xff,  0xc1,  0xff,  0xff,  0xc0,  0xff,  0xff,  0xff,  0xfe,  \
		0x79,  0xc0,  0xff,  0xde,  0xf7,  0xbd,  0xff,  0xc0,  0x8d,  0xd6,  0x55,  0x35,  0xd8,  0xc0,  0xde,  0x7d,  \
		0xf7,  0xdf,  0x78,  0xc0,  0x8d,  0xdf,  0x7b,  0xde,  0xf0,  0x40,  0x07,  0xbd,  0xfb,  0xf5,  0xd8,  0xc0,  \
		0xef,  0x3a,  0xdb,  0x07,  0xbe,  0xc0,  0x05,  0xf0,  0xfd,  0xf5,  0xd8,  0xc0,  0xce,  0xf7,  0xc3,  0x75,  \
		0xd8,  0xc0,  0x07,  0xde,  0xf7,  0xbe,  0xfb,  0xc0,  0x8d,  0xd7,  0x63,  0x75,  0xd8,  0xc0,  0x8d,  0xd7,  \
		0x61,  0xf7,  0xb9,  0xc0,  0xfe,  0x79,  0xff,  0x9e,  0x7f,  0xc0,  0xfe,  0x79,  0xff,  0x9f,  0x7b,  0xc0,  \
		0xef,  0x7b,  0xdf,  0xbf,  0x7e,  0xc0,  0xff,  0xf0,  0x7f,  0x07,  0xff,  0xc0,  0xbf,  0x7e,  0xfd,  0xef,  \
		0x7b,  0xc0,  0x8d,  0xdf,  0x7b,  0xdf,  0xfd,  0xc0,  0x8d,  0xdf,  0x65,  0x55,  0x58,  0xc0,  0x8d,  0xd7,  \
		0x5d,  0x05,  0xd7,  0x40,  0x0d,  0xd7,  0x43,  0x75,  0xd0,  0xc0,  0x8d,  0xd7,  0xdf,  0x7d,  0xd8,  0xc0,  \
		0x1d,  0xb7,  0x5d,  0x75,  0xb1,  0xc0,  0x05,  0xf7,  0xc3,  0x7d,  0xf0,  0x40,  0x05,  0xf7,  0xc3,  0x7d,  \
		0xf7,  0xc0,  0x8d,  0xd7,  0xd1,  0x75,  0xd8,  0x40,  0x75,  0xd7,  0x41,  0x75,  0xd7,  0x40,  0x8f,  0x7d,  \
		0xf7,  0xdf,  0x78,  0xc0,  0xc7,  0xbe,  0xfb,  0xed,  0xb9,  0xc0,  0x75,  0xb5,  0xcf,  0x5d,  0xb7,  0x40,  \
		0x7d,  0xf7,  0xdf,  0x7d,  0xf0,  0x40,  0x74,  0x95,  0x55,  0x75,  0xd7,  0x40,  0x75,  0xd3,  0x55,  0x65,  \
		0xd7,  0x40,  0x8d,  0xd7,  0x5d,  0x75,  0xd8,  0xc0,  0x0d,  0xd7,  0x43,  0x7d,  0xf7,  0xc0,  0x8d,  0xd7,  \
		0x5d,  0x55,  0xb9,  0x40,  0x0d,  0xd7,  0x43,  0x5d,  0xb7,  0x40,  0x85,  0xf7,  0xe3,  0xf7,  0xd0,  0xc0,  \
		0x07,  0x7d,  0xf7,  0xdf,  0x7d,  0xc0,  0x75,  0xd7,  0x5d,  0x75,  0xd8,  0xc0,  0x75,  0xd7,  0x5d,  0x76,  \
		0xbd,  0xc0,  0x75,  0xd7,  0x5d,  0x55,  0x5a,  0xc0,  0x75,  0xda,  0xf7,  0xad,  0xd7,  0x40,  0x75,  0xd7,  \
		0x6b,  0xdf,  0x7d,  0xc0,  0x07,  0xde,  0xf7,  0xbd,  0xf0,  0x40,  0x8e,  0xfb,  0xef,  0xbe,  0xf8,  0xc0,  \
		0xfd,  0xfb,  0xf7,  0xef,  0xdf,  0xc0,  0x8f,  0xbe,  0xfb,  0xef,  0xb8,  0xc0,  0xde,  0xb7,  0x7f,  0xff,  \
		0xff,  0xc0,  0xff,  0xff,  0xff,  0xff,  0xf0,  0x40,  0xbf,  0x7e,  0xff,  0xff,  0xff,  0xc0,  0xff,  0xf8,  \
		0xfd,  0x85,  0xd8,  0x40,  0x7d,  0xf4,  0xcd,  0x75,  0xd0,  0xc0,  0xff,  0xf8,  0xdd,  0x7d,  0xd8,  0xc0,  \
		0xf7,  0xd9,  0x59,  0x75,  0xd8,  0x40,  0xff,  0xf8,  0xdd,  0x05,  0xf8,  0xc0,  0xce,  0xdb,  0xc7,  0xbe,  \
		0xfb,  0xc0,  0xfe,  0x17,  0x5d,  0x87,  0xd8,  0xc0,  0x7d,  0xf4,  0xcd,  0x75,  0xd7,  0x40,  0xdf,  0xf9,  \
		0xf7,  0xdf,  0x78,  0xc0,  0xef,  0xfc,  0xfb,  0xed,  0xb9,  0xc0,  0x7d,  0xf6,  0xd7,  0x3d,  0x76,  0xc0,  \
		0x9f,  0x7d,  0xf7,  0xdf,  0x78,  0xc0,  0xff,  0xf2,  0xd5,  0x55,  0xd7,  0x40,  0xff,  0xf4,  0xcd,  0x75,  \
		0xd7,  0x40,  0xff,  0xf8,  0xdd,  0x75,  0xd8,  0xc0,  0xff,  0xf0,  0xdd,  0x0d,  0xf7,  0xc0,  0xff,  0xf9,  \
		0x59,  0x87,  0xdf,  0x40,  0xff,  0xf4,  0xcd,  0x7d,  0xf7,  0xc0,  0xff,  0xf8,  0xdf,  0x8f,  0xd8,  0xc0,  \
		0xbe,  0xf1,  0xef,  0xbe,  0xdc,  0xc0,  0xff,  0xf7,  0x5d,  0x75,  0x99,  0x40,  0xff,  0xf7,  0x5d,  0x76,  \
		0xbd,  0xc0,  0xff,  0xf7,  0x5d,  0x55,  0x5a,  0xc0,  0xff,  0xf7,  0x6b,  0xde,  0xb7,  0x40,  0xff,  0xf7,  \
		0x5d,  0x87,  0xd8,  0xc0,  0xff,  0xf0,  0x7b,  0xde,  0xf0,  0x40,  0xef,  0x7d,  0xef,  0xdf,  0x7e,  0xc0,  \
		0xdf,  0x7d,  0xf7,  0xdf,  0x7d,  0xc0,  0xbf,  0x7d,  0xfb,  0xdf,  0x7b,  0xc0,  0xff,  0x7e,  0xc1,  0xef,  \
		0x7f,  0xc0,  0xff,  0x7b,  0xc1,  0xbf,  0x7f,  0xc0,  } 
Does anyone have any suggestions or ideas as to why I can't display text? Can anyone confirm / deny the validity of the data that I'm sending as font data?

Thanks!

mbjorge
LCD?
Posts: 9
Joined: Fri Jun 20, 2014 9:13 am

Re: Can't Display Text

Post by mbjorge » Fri Jun 27, 2014 12:26 pm

Also, when I upload a font file, the display does not echo back each data byte that I send it.

I send the Command Prefix, Upload Font File, refID, LSB, MSB.

The display then sends a confirmation byte.

I send a confirmation byte.

Then I send data, but the display does not send anything back.

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

Re: Can't Display Text

Post by Tino » Fri Jun 27, 2014 1:51 pm

Hi,

What is the PCB Revision of your GLK19264-7T-1U?

The reason I ask is the upload protocol for fonts changed for Rev3.0.

Thank you
Martino
Martino DeLeon
Matrix Orbital
Technical Support Representative

mbjorge
LCD?
Posts: 9
Joined: Fri Jun 20, 2014 9:13 am

Re: Can't Display Text

Post by mbjorge » Fri Jun 27, 2014 2:50 pm

PCB R1.1

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

Re: Can't Display Text

Post by Tino » Fri Jun 27, 2014 3:17 pm

Hi,

When you send the data are you waiting for each byte to be echoed by the display?

After each byte you send within the data the display will echo and will wait for a confirmation byte until the file is done uploading.

Thank you
Martino
Martino DeLeon
Matrix Orbital
Technical Support Representative

mbjorge
LCD?
Posts: 9
Joined: Fri Jun 20, 2014 9:13 am

Re: Can't Display Text

Post by mbjorge » Mon Jun 30, 2014 6:39 am

I have tried waiting for the display to echo back data, but this is what I get:

Me: Command Prefix (0xFE)
Me: Upload Font File (0x24)
Me: refID
Me: Length LSB
Me: Length MSB
Display: Confirmation byte (0x01)
Me: Confirmation byte (0x01)
Me: First byte of font
Display: Confirmation byte (0x01) {note that this should be an echo of the first font byte, but I'm getting a confirmation byte instead...}
Me: Confirmation byte (0x01)
Me: Second byte of font
Display: Does not send anything back, so I have to abort the send

I've also tried not waiting for the display to echo and not sending confirmation bytes between font file bytes.

Neither technique seems to be successful.

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

Re: Can't Display Text

Post by Tino » Mon Jun 30, 2014 11:04 am

Hi,

You are following the proper procedure. However the manual does have an error in it.
The Confirmation byte you are sending back to the display before you send the Width of your font is not needed. for example:

User: 0xFE 0x24 refID LSB MSB
Display: Confirmation Byte (This byte is to confirm the font will fit, You can send the data after this byte)
User: font width
Display: echo of font width
User: Confirmation byte, font height
Display: Echo of font height
...

You do not have to send a confirmation byte back to the display after the display sends you one.

you do however have to send a confirmation byte after each byte is echoed back to you from the display.

If you remove the first confirmation byte you send this should correct the problem.

Thank you
Martino
Martino DeLeon
Matrix Orbital
Technical Support Representative

mbjorge
LCD?
Posts: 9
Joined: Fri Jun 20, 2014 9:13 am

Re: Can't Display Text

Post by mbjorge » Mon Jun 30, 2014 12:44 pm

Ah, thank you! This has definitely resulted in some progress.

I am now able to send the first 64 bytes of font file.

When I send the 65th byte, the display replies with 0xFE, which I think is what it sends back when its receive buffer is full/almost full. However, I have flow control disabled. I have also waited for several seconds for the 0xFF (buffer almost empty) signal, but the module does not send anything.

User: 0xFE 0x24 refID LSB MSB
Display: Confirmation Byte (This byte is to confirm the font will fit, You can send the data after this byte)
User: font width (byte #1)
Display: echo of font width
User: Confirmation byte, font height
Display: Echo of font height
....
User: byte #64
Display: echo of byte #64
User: Confirmation byte
User: Byte #65
Display: 0xFE

I have tried sending the data with flow control disabled. I have also tried sending it with flow control enabled in a couple configurations: [full=16, empty=64], [full=0, empty=128]

mbjorge
LCD?
Posts: 9
Joined: Fri Jun 20, 2014 9:13 am

Re: Can't Display Text

Post by mbjorge » Mon Jun 30, 2014 12:52 pm

I just tried uploading the sample font created in the documentation.

Code: Select all

{0x05, 0x07, 0x68, 0x6A, 0x00, 0x0D, 0x05, 0x00, 0x12, 0x03, 0x00, 0x15, 0x04, 0x84, 0x2D, 0x98, 0xC6, 0x20, 0x43, 0x24, 0x84, 0x2D, 0x98, 0x19, 0x60} 
Since this font is only 25 bytes long, I was able to successfully load the entire font and I am able to print out characters from this font.

So it looks like I'm using the correct protocol now, so that's good.

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

Re: Can't Display Text

Post by Tino » Mon Jun 30, 2014 3:39 pm

Hi,

What is your byte #65? Assuming that it is not 0xFE.

The Display has a watch dog timer set to 2.1 seconds in between transmissions.
When the timeout is reached the display sends a 0xFE 0xD4.

When you receive the 0xFE I believe your upload is timing out.
Please check your values for the size and the ASCII Start Value and the ASCII End Value. Make sure these are the correct values.

Also Check your character table.

Thank you
Martino
Martino DeLeon
Matrix Orbital
Technical Support Representative

mbjorge
LCD?
Posts: 9
Joined: Fri Jun 20, 2014 9:13 am

Re: Can't Display Text

Post by mbjorge » Tue Jul 01, 2014 8:39 am

The SmallFilled font file that I'm trying to upload has 904 bytes, so I send 0x88 (the LSB) followed by 0x03 (the MSB) for the size.

The font starts with ASCII character 28 and ends with ASCII character 127, so I send 0x1c and 0x7f respectively.

I have tried uploading the file in a couple of ways. First, I tried sending the next byte (or the confirmation byte, as appropriate) as soon as the display echoed back the received data. This process took <1 sec to get to byte #65.

I also tried waiting 1 sec in between sending each byte. So I would send a byte, wait a second, send a confirmation, wait a second, send the next byte, wait a second, etc.

In both cases, the display kept up just fine until byte 65, at which point it returns 0xFE. Also, I never receive the 0xD4 part of the timeout message.

I have also tried various baud rates: 19200 (default), 115200, and 28800, and they all give the same result.

Here is what a typical attempt to upload looks like (all values in decimal):

Code: Select all

Sent: 254 (Command prefix)
Sent: 36 (Upload font file)
Sent: 1 (font ref ID)
Sent: 136 (LSB)
Sent: 3 (MSB)
Recv: 1

Index: 0
Sent: 6 (Font width)
Recv: 6
Confirm: Sent: 1

Index: 1
Sent: 7 (Font height)
Recv: 7
Confirm: Sent: 1

Index: 2
Sent: 28 (ASCII start)
Recv: 28
Confirm: Sent: 1

Index: 3
Sent: 127 (Ascii end)
Recv: 127
Confirm: Sent: 1

Index: 4
Sent: 1
Recv: 1
Confirm: Sent: 1


...

Index: 60
Sent: 6
Recv: 6
Confirm: Sent: 1

Index: 61
Sent: 1
Recv: 1
Confirm: Sent: 1

Index: 62
Sent: 162
Recv: 162
Confirm: Sent: 1

Index: 63
Sent: 6
Recv: 6
Confirm: Sent: 1

Index: 64
Sent: 1
Recv: 254

In this case, byte #65 was 0x01.

And this is the SmallFilled font data I'm sending over, which contains the header, character table, and character data:

Code: Select all

uint8_t small_filled_font[] = {0x06, 0x07, 0x1c, 0x7f, \
		0x01, 0x30, 0x06, \
		0x01, 0x36, 0x06, \
		0x01, 0x3c, 0x06, \
		0x01, 0x42, 0x06, \
		0x01, 0x48, 0x06, \
		0x01, 0x4e, 0x06, \
		0x01, 0x54, 0x06, \
		0x01, 0x5a, 0x06, \
		0x01, 0x60, 0x06, \
		0x01, 0x66, 0x06, \
		0x01, 0x6c, 0x06, \
		0x01, 0x72, 0x06, \
		0x01, 0x78, 0x06, \
		0x01, 0x7e, 0x06, \
		0x01, 0x84, 0x06, \
		0x01, 0x8a, 0x06, \
		0x01, 0x90, 0x06, \
		0x01, 0x96, 0x06, \
		0x01, 0x9c, 0x06, \
		0x01, 0xa2, 0x06, \
		0x01, 0xa8, 0x06, \
		0x01, 0xae, 0x06, \
		0x01, 0xb4, 0x06, \
		0x01, 0xba, 0x06, \
		0x01, 0xc0, 0x06, \
		0x01, 0xc6, 0x06, \
		0x01, 0xcc, 0x06, \
		0x01, 0xd2, 0x06, \
		0x01, 0xd8, 0x06, \
		0x01, 0xde, 0x06, \
		0x01, 0xe4, 0x06, \
		0x01, 0xea, 0x06, \
		0x01, 0xf0, 0x06, \
		0x01, 0xf6, 0x06, \
		0x01, 0xfc, 0x06, \
		0x02, 0x02, 0x06, \
		0x02, 0x08, 0x06, \
		0x02, 0x0e, 0x06, \
		0x02, 0x14, 0x06, \
		0x02, 0x1a, 0x06, \
		0x02, 0x20, 0x06, \
		0x02, 0x26, 0x06, \
		0x02, 0x2c, 0x06, \
		0x02, 0x32, 0x06, \
		0x02, 0x38, 0x06, \
		0x02, 0x3e, 0x06, \
		0x02, 0x44, 0x06, \
		0x02, 0x4a, 0x06, \
		0x02, 0x50, 0x06, \
		0x02, 0x56, 0x06, \
		0x02, 0x5c, 0x06, \
		0x02, 0x62, 0x06, \
		0x02, 0x68, 0x06, \
		0x02, 0x6e, 0x06, \
		0x02, 0x74, 0x06, \
		0x02, 0x7a, 0x06, \
		0x02, 0x80, 0x06, \
		0x02, 0x86, 0x06, \
		0x02, 0x8c, 0x06, \
		0x02, 0x92, 0x06, \
		0x02, 0x98, 0x06, \
		0x02, 0x9e, 0x06, \
		0x02, 0xa4, 0x06, \
		0x02, 0xaa, 0x06, \
		0x02, 0xb0, 0x06, \
		0x02, 0xb6, 0x06, \
		0x02, 0xbc, 0x06, \
		0x02, 0xc2, 0x06, \
		0x02, 0xc8, 0x06, \
		0x02, 0xce, 0x06, \
		0x02, 0xd4, 0x06, \
		0x02, 0xda, 0x06, \
		0x02, 0xe0, 0x06, \
		0x02, 0xe6, 0x06, \
		0x02, 0xec, 0x06, \
		0x02, 0xf2, 0x06, \
		0x02, 0xf8, 0x06, \
		0x02, 0xfe, 0x06, \
		0x03, 0x04, 0x06, \
		0x03, 0x0a, 0x06, \
		0x03, 0x10, 0x06, \
		0x03, 0x16, 0x06, \
		0x03, 0x1c, 0x06, \
		0x03, 0x22, 0x06, \
		0x03, 0x28, 0x06, \
		0x03, 0x2e, 0x06, \
		0x03, 0x34, 0x06, \
		0x03, 0x3a, 0x06, \
		0x03, 0x40, 0x06, \
		0x03, 0x46, 0x06, \
		0x03, 0x4c, 0x06, \
		0x03, 0x52, 0x06, \
		0x03, 0x58, 0x06, \
		0x03, 0x5e, 0x06, \
		0x03, 0x64, 0x06, \
		0x03, 0x6a, 0x06, \
		0x03, 0x70, 0x06, \
		0x03, 0x76, 0x06, \
		0x03, 0x7c, 0x06, \
		0x03, 0x82, 0x06, \
		0x62,  0x49,  0x18,  0x00,  0x00,  0x00,  0xbe,  0x78,  0xe1,  0x8e,  0x7b,  0xc0,  0x00,  0x87,  0x1c,  0xfb,  \
		0xe0,  0x00,  0x03,  0xef,  0x9c,  0x70,  0x80,  0x00,  0x00,  0x00,  0x00,  0x00,  0x00,  0x00,  0xdf,  0x7d,  \
		0xf7,  0xff,  0xfd,  0xc0,  0x51,  0x45,  0x00,  0x00,  0x00,  0x00,  0xae,  0xb0,  0x6b,  0x06,  0xba,  0xc0,  \
		0xde,  0x15,  0xe3,  0xd4,  0x3d,  0xc0,  0x3c,  0xde,  0xf7,  0xbd,  0x9e,  0x40,  0x9d,  0xb5,  0xef,  0x55,  \
		0xb9,  0x40,  0x60,  0x84,  0x00,  0x00,  0x00,  0x00,  0xef,  0x7b,  0xef,  0xbf,  0x7e,  0xc0,  0xbf,  0x7e,  \
		0xfb,  0xef,  0x7b,  0xc0,  0x00,  0x8a,  0x9c,  0xa8,  0x80,  0x00,  0x00,  0x82,  0x3e,  0x20,  0x80,  0x00,  \
		0xff,  0xff,  0xff,  0x9f,  0x7b,  0xc0,  0x00,  0x00,  0x3e,  0x00,  0x00,  0x00,  0xff,  0xff,  0xff,  0xfe,  \
		0x79,  0xc0,  0x00,  0x21,  0x08,  0x42,  0x00,  0x00,  0x8d,  0xd6,  0x55,  0x35,  0xd8,  0xc0,  0xde,  0x7d,  \
		0xf7,  0xdf,  0x78,  0xc0,  0x8d,  0xdf,  0x7b,  0xde,  0xf0,  0x40,  0x07,  0xbd,  0xfb,  0xf5,  0xd8,  0xc0,  \
		0xef,  0x3a,  0xdb,  0x07,  0xbe,  0xc0,  0x05,  0xf0,  0xfd,  0xf5,  0xd8,  0xc0,  0xce,  0xf7,  0xc3,  0x75,  \
		0xd8,  0xc0,  0x07,  0xde,  0xf7,  0xbe,  0xfb,  0xc0,  0x8d,  0xd7,  0x63,  0x75,  0xd8,  0xc0,  0x8d,  0xd7,  \
		0x61,  0xf7,  0xb9,  0xc0,  0x01,  0x86,  0x00,  0x61,  0x80,  0x00,  0xfe,  0x79,  0xff,  0x9f,  0x7b,  0xc0,  \
		0xef,  0x7b,  0xdf,  0xbf,  0x7e,  0xc0,  0x00,  0x0f,  0x80,  0xf8,  0x00,  0x00,  0xbf,  0x7e,  0xfd,  0xef,  \
		0x7b,  0xc0,  0x8d,  0xdf,  0x7b,  0xdf,  0xfd,  0xc0,  0x8d,  0xdf,  0x65,  0x55,  0x58,  0xc0,  0x8d,  0xd7,  \
		0x5d,  0x05,  0xd7,  0x40,  0x0d,  0xd7,  0x43,  0x75,  0xd0,  0xc0,  0x8d,  0xd7,  0xdf,  0x7d,  0xd8,  0xc0,  \
		0x1d,  0xb7,  0x5d,  0x75,  0xb1,  0xc0,  0x05,  0xf7,  0xc3,  0x7d,  0xf0,  0x40,  0x05,  0xf7,  0xc3,  0x7d,  \
		0xf7,  0xc0,  0x8d,  0xd7,  0xd1,  0x75,  0xd8,  0x40,  0x75,  0xd7,  0x41,  0x75,  0xd7,  0x40,  0x8f,  0x7d,  \
		0xf7,  0xdf,  0x78,  0xc0,  0xc7,  0xbe,  0xfb,  0xed,  0xb9,  0xc0,  0x75,  0xb5,  0xcf,  0x5d,  0xb7,  0x40,  \
		0x7d,  0xf7,  0xdf,  0x7d,  0xf0,  0x40,  0x74,  0x95,  0x55,  0x75,  0xd7,  0x40,  0x75,  0xd3,  0x55,  0x65,  \
		0xd7,  0x40,  0x8d,  0xd7,  0x5d,  0x75,  0xd8,  0xc0,  0x0d,  0xd7,  0x43,  0x7d,  0xf7,  0xc0,  0x8d,  0xd7,  \
		0x5d,  0x55,  0xb9,  0x40,  0x0d,  0xd7,  0x43,  0x5d,  0xb7,  0x40,  0x85,  0xf7,  0xe3,  0xf7,  0xd0,  0xc0,  \
		0x07,  0x7d,  0xf7,  0xdf,  0x7d,  0xc0,  0x75,  0xd7,  0x5d,  0x75,  0xd8,  0xc0,  0x75,  0xd7,  0x5d,  0x76,  \
		0xbd,  0xc0,  0x75,  0xd7,  0x5d,  0x55,  0x5a,  0xc0,  0x75,  0xda,  0xf7,  0xad,  0xd7,  0x40,  0x75,  0xd7,  \
		0x6b,  0xdf,  0x7d,  0xc0,  0x07,  0xde,  0xf7,  0xbd,  0xf0,  0x40,  0x8e,  0xfb,  0xef,  0xbe,  0xf8,  0xc0,  \
		0x02,  0x04,  0x08,  0x10,  0x20,  0x00,  0x8f,  0xbe,  0xfb,  0xef,  0xb8,  0xc0,  0x21,  0x48,  0x80,  0x00,  \
		0x00,  0x00,  0xff,  0xff,  0xff,  0xff,  0xf0,  0x40,  0x40,  0x81,  0x00,  0x00,  0x00,  0x00,  0xff,  0xf8,  \
		0xfd,  0x85,  0xd8,  0x40,  0x7d,  0xf4,  0xcd,  0x75,  0xd0,  0xc0,  0xff,  0xf8,  0xdd,  0x7d,  0xd8,  0xc0,  \
		0xf7,  0xd9,  0x59,  0x75,  0xd8,  0x40,  0xff,  0xf8,  0xdd,  0x05,  0xf8,  0xc0,  0xce,  0xdb,  0xc7,  0xbe,  \
		0xfb,  0xc0,  0xfe,  0x17,  0x5d,  0x87,  0xd8,  0xc0,  0x7d,  0xf4,  0xcd,  0x75,  0xd7,  0x40,  0xdf,  0xf9,  \
		0xf7,  0xdf,  0x78,  0xc0,  0xef,  0xfc,  0xfb,  0xed,  0xb9,  0xc0,  0x7d,  0xf6,  0xd7,  0x3d,  0x76,  0xc0,  \
		0x9f,  0x7d,  0xf7,  0xdf,  0x78,  0xc0,  0xff,  0xf2,  0xd5,  0x55,  0xd7,  0x40,  0xff,  0xf4,  0xcd,  0x75,  \
		0xd7,  0x40,  0xff,  0xf8,  0xdd,  0x75,  0xd8,  0xc0,  0xff,  0xf0,  0xdd,  0x0d,  0xf7,  0xc0,  0xff,  0xf9,  \
		0x59,  0x87,  0xdf,  0x40,  0xff,  0xf4,  0xcd,  0x7d,  0xf7,  0xc0,  0xff,  0xf8,  0xdf,  0x8f,  0xd8,  0xc0,  \
		0xbe,  0xf1,  0xef,  0xbe,  0xdc,  0xc0,  0xff,  0xf7,  0x5d,  0x75,  0x99,  0x40,  0xff,  0xf7,  0x5d,  0x76,  \
		0xbd,  0xc0,  0xff,  0xf7,  0x5d,  0x55,  0x5a,  0xc0,  0xff,  0xf7,  0x6b,  0xde,  0xb7,  0x40,  0xff,  0xf7,  \
		0x5d,  0x87,  0xd8,  0xc0,  0xff,  0xf0,  0x7b,  0xde,  0xf0,  0x40,  0xef,  0x7d,  0xef,  0xdf,  0x7e,  0xc0,  \
		0xdf,  0x7d,  0xf7,  0xdf,  0x7d,  0xc0,  0xbf,  0x7d,  0xfb,  0xdf,  0x7b,  0xc0,  0x00,  0x81,  0x3e,  0x10,  \
		0x80,  0x00,  0x00,  0x84,  0x3e,  0x40,  0x80,  0x00,  };
I have looked over the offsets and checked the first few characters, and they seem reasonable. For instance, since the font starts at 28 and ends at 127, there are 100 total characters in the font. Since each line in the character table is 3 bytes and the header is 4 bytes, the first offset should be 304 (in decimal), which corresponds to 0x0130, as seen in the first row of the character table. Since its a fixed width font (6wide, 7height), each character needs 6 bytes, and the offsets increase by 6 each time.

I have also tried sending over a different font (Clean font). That also does fine until it sends the 65th byte.

mbjorge
LCD?
Posts: 9
Joined: Fri Jun 20, 2014 9:13 am

Re: Can't Display Text

Post by mbjorge » Wed Jul 02, 2014 11:07 am

I have just been able to install MOGD#.

I tried uploading a font via the MOGD# interface, but the upload failed.

I wiped the module file system with MODG# and then tried to upload the font. This time it was a success.

My issue has been resolved.

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

Re: Can't Display Text

Post by Tino » Wed Jul 02, 2014 11:11 am

Hi mbjorge,

Try the following:
-delete the font file you are trying to overwrite
-power cycle the display,
-upload the font

Let me know if this works for you.
Thank you
Martino
Martino DeLeon
Matrix Orbital
Technical Support Representative

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 12 guests