Bitmap uploading to a GLK-12232-SM
Posted: Thu Oct 09, 2003 9:39 am
I'm having serious trouble uploading bitmaps to a GLK-12232-SM. It's hooked up to a Linux system, so I've not been able to test it with mogd.exe, and the Linux system being a headless server doesn't have the stuff required to run the Java software available from the site, so I can't test it with that either unfortunately.
I've tried using the Perl scripts available from http://mo-bitmaps.sourceforge.net which another forum user wrote. From what I can tell, the upload script is perfect, and does exactly the same thing as a sample of C++ code posted by Henry which I found while searching. However, the panel doesn't seem to be responding as expected. If uploading to position 1 (the intent is to replace the power-on splash image), things get as far as sending the low byte of the size before they go wrong - the panel sends back 0x01 instead of echoing the size as it apparently should.
If uploading to position 2, it doesn't do anything once the low byte's been sent, and just sits there (although once I was patient and patient and very, very patient and it eventually sent back 0x01 again).
Does anyone have any ideas what might be going on here? It's talking through a serial port, and I've had the same problem with three panels so far.
In theory it would be possible to hook the thing up to a Windows box and test it that way, but since I can see what's going in and out of the panel and it's not conforming to the docs, I can't see how that would work unless the docs are wrong.
And yes, the baud rate settings are correct. Displaying text and graphics, receiving keypresses etc. all work perfectly.
I've tried using the Perl scripts available from http://mo-bitmaps.sourceforge.net which another forum user wrote. From what I can tell, the upload script is perfect, and does exactly the same thing as a sample of C++ code posted by Henry which I found while searching. However, the panel doesn't seem to be responding as expected. If uploading to position 1 (the intent is to replace the power-on splash image), things get as far as sending the low byte of the size before they go wrong - the panel sends back 0x01 instead of echoing the size as it apparently should.
If uploading to position 2, it doesn't do anything once the low byte's been sent, and just sits there (although once I was patient and patient and very, very patient and it eventually sent back 0x01 again).
Does anyone have any ideas what might be going on here? It's talking through a serial port, and I've had the same problem with three panels so far.
In theory it would be possible to hook the thing up to a Windows box and test it that way, but since I can see what's going in and out of the panel and it's not conforming to the docs, I can't see how that would work unless the docs are wrong.
And yes, the baud rate settings are correct. Displaying text and graphics, receiving keypresses etc. all work perfectly.