XModem and GLT240128
Posted: Fri Nov 16, 2012 6:04 am
Currently I am using the simple protocol for uploading fonts to the device. That works fine.
I decided to start using XModem to upload Fonts to the device and have run into some problems.
First, I am actively using XModem for file transfers to other devices.
I am using the some same routines to upload to the GLT240128 but have run into some problems.
I get the first block uploaded but get a NAK.
I am trying to figure out why and I believe it has to do with the Block Count or CRC.
Questions:
Block Count
On page 47 of the manual the Block Count starts at 128.
The implementations of XModem I have used have started at 1 and increment up.
What does the device expect for the first block count? 128 or 1?
CRC16
I use CRC16 for other XModem transfers to other devices but want to verify for the Matrix Orbital device.
What is the starting seed value for the CRC16? 0xFFFF 0x0000 something else?
Reference Implementation
Do you have a reference implementation for XModem uploads? In C/C++ or C#?
Thanks for the assistance.
I decided to start using XModem to upload Fonts to the device and have run into some problems.
First, I am actively using XModem for file transfers to other devices.
I am using the some same routines to upload to the GLT240128 but have run into some problems.
I get the first block uploaded but get a NAK.
I am trying to figure out why and I believe it has to do with the Block Count or CRC.
Questions:
Block Count
On page 47 of the manual the Block Count starts at 128.
The implementations of XModem I have used have started at 1 and increment up.
What does the device expect for the first block count? 128 or 1?
CRC16
I use CRC16 for other XModem transfers to other devices but want to verify for the Matrix Orbital device.
What is the starting seed value for the CRC16? 0xFFFF 0x0000 something else?
Reference Implementation
Do you have a reference implementation for XModem uploads? In C/C++ or C#?
Thanks for the assistance.