Technical data
7 Embedded Applications
The Wireless CPU® has the capability to store and run customer written code in the
form of a script during the processor’s idle time, through the use of an on board
interpreter.
7.1 Features
Main features of embedded applications are as follows:
• C-based scripting language (Wavecom specific)
• Over the air upgrade of scripts (scripts only, NOT GSM software)
• Library of intrinsic functions
• 2 scripts can be stored in the memory at any time (but only 1 can be
active/running)
7.2 Implementation
The Wireless CPU® has 2x124KB of non volatile memory space available for storage of
two scripts in the scripting language. The maximum size of a single script is 124K,
regardless of the size/presence of the other script. 224KB of RAM is set aside for the
script usage. Since the script is loaded from non volatile memory into this RAM
portion, the RAM available for the script to use for variables is 224KB – size of the
script.
Structures included in this language are:
• If - else statements
• While loops
• For loops
All hardware interfaces that are normally available to the Wireless CPU® through the
AT commands, are also available to the embedded application.
Further drivers have been written such as M bus, keypad, SPI and I2C for use by the
embedded application (EA) through the use of the I/O pins.
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
GR64 Integrators’ Manual
Page: 92/106