Xmodem Block Structure; Script Header Block - Wavecom GR64 Application Note

Embedded application remote download
Hide thumbs Also See for GR64:
Table of Contents

Advertisement

Set Script to run from start:
Issue AT*E2APC=1,1 to set the active script to run from startup.
Restart Module:
If the script running in the module is set to automatically restart then just close the
connection. Alternatively, issue AT*E2RESET to restart the module.

Xmodem Block Structure

1 byte SOH character (1)
1 byte block count mod 256
1 byte 255 - block count mod 256
128 bytes block data
2 byte integer (Little Endian) CRC-16/CITT CRC of block data
133 bytes total

Script Header Block

The script to be downloaded should be split into blocks of 128 bytes each. Unused
bytes in a block should be padded with 0xFF characters. The first block sent is the
script header block with the following structure:
4 byte integer (Little Endian) number of script lines
4 byte integer (Little Endian) number of script constants
4 byte integer (Little Endian) number of script tokens
4 byte integer (Little Endian) number of script keywords
4 byte integer (Little Endian) number of script identifiers
The
DLL_SI_GetScriptParameters function available from the slp.dll that accompanies the
IDE.
Gx64 APPLICATION NOTE
EA Remote Download
Page: 15/22
above
script
information
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement.
Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable
can
be
obtained
by
calling
the

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GR64 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Gs64

Table of Contents