Erco & Gener genloc 31e Command List

L’esprit Modem
Command List
An application example for the
Reference : EG_GenLoc31e_988_CL_002_UK Revision : 002
: 27/06/2006
Date
S.A. ERCO & GENER – ZI de St. Lambert-des-Levées – BP 30163 – F-49412 SAUMUR Cedex
Tél. : +33 (0)2 41 83 13 00 – Fax : +33 (0)2 41 67 19 20 – www.gener.fr – infos@gener.fr
SA CAPITAL 183244 – R.C. SAUMUR B 332 174 820 – SIRET 332 174 820 00032 – NAF 322A – TVA Intra : FR 16 332 174 820
EG_GenLoc31e_988_CL_002_UK Page 2 / 22
Document History
Revision Modifications Author Date
000 CREATION MRE 18/05/2006 001 Added descriptions for all commands used in the application MRE 20/06/2006
002 Corrected chapter numbering MRE 27/06/2006
The main modifications in this document compared to its previous version, are easily identifiable on a monitor by means of the blue text.
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
EG_GenLoc31e_988_CL_002_UK Page 3 / 22
CONTENTS
1 INTRODUCTION ...................................................................................................................................... 5
1.1 References .............................................................................................................................................. 5
2 COMMANDS ............................................................................................................................................ 6
2.1 General commands ................................................................................................................................ 6
2.1.1 ATI8 – Display application version and build information............................................................ 6
2.1.2 AT+HELP – Display list of available general commands............................................................. 6
2.1.3 AT+WGPSNMEA – GPS NMEA unsolicited................................................................................ 7
2.1.4 AT+WGPSRAW – Send raw data to the GPS module................................................................ 7
2.1.5 AT+WGPSPOS – Get position information ................................................................................. 8
2.1.6 AT+WGPSM – GPS module management.................................................................................. 9
2.1.7 AT+WIOR – Read GPIO value.................................................................................................. 10
2.1.8 AT+WIOW – Write GPIO value.................................................................................................. 10
2.1.9 AT+WGPSANT – GPS antenna configuration........................................................................... 11
2.1.10 AT+SHOWPOS – Automatic display of GPS coordinates......................................................... 12
2.1.11 AT+ERRORSTAT – Display NMEA and UBX frame status...................................................... 13
2.1.12 AT+WGPSCONF – GPS configuration...................................................................................... 13
2.2 UBX commands.................................................................................................................................... 14
2.2.1 AT+HELPUBX – Display list of UBX commands....................................................................... 14
2.2.2 AT+UBXMONVER – Display HW / SW version of the GPS module......................................... 14
2.2.3 AT+UBXMONHW – Display GPS module hardware status...................................................... 14
2.2.4 AT+UBXCFGDAT – Display / Set GPS DATUM....................................................................... 15
2.2.5 AT+UBXCFGDPM – Display / Set GPS module Dynamic Platform Model............................... 15
2.2.6 AT+UBXSHOW – Display UBX frames ..................................................................................... 15
2.3 Serial Flash commands ....................................................................................................................... 18
2.3.1 AT+SFHELP – Display serial flash commands ......................................................................... 18
2.3.2 AT+SFTYPE – Display serial flash type .................................................................................... 18
2.3.3 AT+SFSR – Display status register contents ............................................................................ 19
2.3.4 AT+SFWEL – Display / modify Write Enable Latch bit.............................................................. 19
2.3.5 AT+SFBP – Display / modify Block Protection bits.................................................................... 20
2.3.6 AT+SFWRTEXT – Write ascii text string to memory................................................................. 20
2.3.7 AT+SFRD – Display the contents of the memory...................................................................... 21
2.3.8 AT+SFEB – Erase block............................................................................................................ 22
2.3.9 AT+SFECHIP – Erase chip........................................................................................................ 22
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
EG_GenLoc31e_988_CL_002_UK Page 4 / 22
DISCLAIMER OF WARRANTY
This Software is provided free of charge on an 'as is' basis. No warranty is given by ERCO&GENER in relation to the Software concerning the uses to which it may be put by you, the user, or its merchantability, fitness or suitability for any particular purpose or conditions; and/or that the use of the Software and all documentation relating thereto by the Licensee will not infringe any third party copyright or other intellectual property rights.
LIMIT OF LIABILITY
In no event shall ERCO&GENER be liable for any loss or damages whatsoever or howsoever caused arising directly or indirectly in connection with this license, the Software, its use or otherwise except to the extent that such liability may not be lawfully excluded. Notwithstanding the generality of the foregoing, ERCO&GENER expressly excludes liability for indirect, special, incidental or consequential loss or damage which may arise in respect of the Software or its use, or in respect of other equipment or property, or for loss of profit, business, revenue, goodwill or anticipated savings.
In its continuing research into improving its products, ERCO&GENER reserves the right to modify its products and documentation at any time.
TRADEMARKS
WAVECOM®, WISMO®, MUSE Platform® are filed or registered trademarks of Wavecom S.A. in France or in other countries. All other company and/or product names mentioned may be filed or registered trademarks of their respective owners.
This document is the sole and exclusive property of ERCO&GENER. Not to be distributed or divulged
without prior written agreement. Ce document est la propriété exclusive de ERCO&GENER. Il ne peut être
communiqué ou divulgué à des tiers sans son autorisation préalable.
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
EG_GenLoc31e_988_CL_002_UK Page 5 / 22

1 INTRODUCTION

This document describes AT commands specific to the GenLoc31e. For a complete list of available Wavecom commands and their descriptions, please refer to [R1].
For a complete technical description of the GenLoc31e, please refer to [R3].

1.1 References

[R1] – AT Command Interface Guide For X51 Software (ref: WM_ASW_OAT_UGD_00016 revision 6) [R2] – Open AT ADL User Guide for Open AT 3.03 (ref: WM_ASW_OAT_UGD_00053 revision 1) [R3] – GenLoc31e Technical Document (EG_GenLoc31e_988_UG_xxx_UK revision 0).
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
EG_GenLoc31e_988_CL_002_UK Page 6 / 22

2 COMMANDS

2.1 General commands

2.1.1 ATI8 – Display application version and build information

This command will display the version and build information of the application.
Syntax: ATI8
Example :
Command Possible Responses Notes ATI8

2.1.2 AT+HELP – Display list of available general commands

This command will display a list of the available general commands. The list includes certain Wavecom commands which have been recreated by the application in order to be compatible with the GenLoc31e hardware and the original Wavecom commands (example: AT+WGPSPOS).
Syntax: AT+HELP
Example :
Command Possible Responses AT+HELP
GenLoc31e V0.73 Jun 19 2006 14:32:38
Display application version and build information
OK
ATI8......................Display product software version and build information
AT+WGPSNMEA=(0-1),(0-5),..Activate display of unsolicited GPS NMEA frames
AT+WGPSPOS................Display current GPS coordinate information
AT+SHOWPOS=(0-240)........Display GPS information every n seconds. (0=disable)
AT+ERRORSTAT=(0-1)........Display frame errors and total frames received (0=NMEA,
1=UBX)
AT+WIOR=(0-3).............Display logic level at input 0-2 or motion detector (3)
AT+WIOW=0,(0-1)...........Set logic level on open-collecter output. 0=low, 1=high
AT+WIOW=1,(0-1)...........RS232 interface: 0=enabled, 1=disabled
AT+WIOW=n,(0-1)...........UART2 mode: n=7/8. 0=normal(DSR/DTR), 1=RxD/TxD diverted
to DSR/DTR
AT+WGPSM=0,(0-1)..........GPS module power: 0=off, 1=on
AT+WGPSM=1,(0-1)..........GPS module reset: 0=reset, 1=normal
AT+WGPSM=3................GPS module Software and Hardware versions
AT+WGPSRAW................Send a raw UBX data stream to the GPS module
AT+WGPSANT=(0-2)(,[mode][mon])..GPS antenna configuration
AT+HELPUBX................Display list of UBX commands
OK
Note: Display general command list
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.

2.1.3 AT+WGPSNMEA – GPS NMEA unsolicited

This command allows the host to activate the GPS NMEA frames provided as unsolicited messages on GSM main serial link as follows :
$GPGGA,092003.00,4716.80272,N,00003.51569,W,1,08,1.01,28.7,M,47.9,M,,*7F $GPGSA,A,3,20,11,23,17,24,01,04,13,,,,,2.05,1.01,1.79*0E $GPGSV,3,1,09,20,75,044,48,11,39,138,47,23,61,168,49,17,47,261,50*7C $GPGSV,3,2,09,24,54,302,45,01,25,045,47,33,34,201,44,04,22,303,43*75 $GPGSV,3,3,09,13,31,196,51*4A $GPGLL,4716.80272,N,00003.51569,W,092003.00,A,A*75 $GPRMC,092004.00,A,4716.80273,N,00003.51572,W,0.004,,080606,,,A*6C $GPVTG,,T,,M,0.004,N,0.008,K,A*2F
Syntax: AT+WGPSNMEA=<mode >[, <NMEA1>,<NMEA2>…]
EG_GenLoc31e_988_CL_002_UK Page 7 / 22
<mode>
0 Deactivate NMEA unsolicited mode (default). 1 Activate NMEA unsolicited mode
<NMEAx>: selected NMEA frame list chosen from the following list :
0 GGA GPS fix data (default) 1 GSA GPS DOP and Active satellites 2 GSV GPS satellites in view 3 RMC Recommended minimum data 4 VTG Course over ground and ground speed 5 GLL Latitude and longitude, with time of position fix and status.
Note:
If the <NMEAx> parameters are omitted, the last configuration remains active. This configuration is stored in EEPROM.
Examples :
Command Possible Responses Notes AT+ WGPSNMEA
AT+WGPSNMEA=1,0,2,3
AT+ WGPSNMEA?
AT+ WGPSNMEA=0
AT+ WGPSNMEA=1
AT+WGPSNMEA=(0-1),(0-5),... OK
OK +WGPSNMEA: 1,0,2,3
OK
OK
OK
Display syntax
These three frames will be provided as unsolicited messages Display current frame selection (GGA, GSV, RMC)
Turn off the unsolicited mode
Turn on the unsolicited mode (previous selection is used)

2.1.4 AT+WGPSRAW – Send raw data to the GPS module

This command will write a raw data stream to the GPS module. The data is not interpreted inside the GSM module.
Syntax: AT+WGPSRAW=<pdu>
Examples :
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
Command Possible Responses Notes AT+WGPSRAW
AT+WGPSRAW=”B5 6206010600F005000 10001043200010000 0331”
EG_GenLoc31e_988_CL_002_UK Page 8 / 22
AT+WGPSRAW="raw UBX data string" OK
OK
Display syntax
Successful transmission of data to the GPS controller (this example enables VTG frames to be output from the GPS module)
<pdu> data is entered as a binary string (in hexadecimal format) enclosed by quotes. Only the following hexadecimal characters are allowed: ‘0’ to ’9’, and ’A’ to ’F’. Each pair of characters is converted to a byte. For example, 41 is converted to hexadecimal value.
Notes:
The contents of <pdu> is the responsibility of the host user. The length of <pdu> is limited to 512 characters corresponding to a frame of 256 hexadecimal bytes.

2.1.5 AT+WGPSPOS – Get position information

This command will to get the last position information received.
Syntax: AT+WGPSPOS
Response syntax: +WGPSPOS:<fix>,<time>,<date>,<latitude>,<longitude>,<altitude>,<hdop>,<speed>,<course>,<nbsat>
Examples :
Command Possible Responses Notes AT+WGPSPOS
<fix>
0 Invalid Fix 1 2D fix 2 3D fix
-1 It is not possible to define a position
<time> : hhmmss time of fix
ranges of values: hh (hour) 00 to 23 mm (minute) 00 to 59 ss (second) 00 to 59 Example: 130556 means 13:05:56 UTC
<date> : ddmmyy date of fix
ranges of values: dd (day) 01 to 31 mm (month) 01 to 12 yy (year) 2000 to 2099 Example: 191105 means 19
<latitude> : ddmm.mmmmm(N/S)
ranges of values: dd (degrees) 00 to 90 mm.mmmmm (minutes) 00,00000 to 59.99999 (N/S) North or South Example: latitude of the fix 4716.80053N means 47° 16.80053’ North
<longitude> : dddmm.mmmm(E/W)
+WGPSPOS:2,100556.00,080606,4716.80053N,000
03.51560W,83.4,1.45,0.013,,07 OK
th
November 2005
See defined values below
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
EG_GenLoc31e_988_CL_002_UK Page 9 / 22
ranges of values: dd (degrees) 00 to 180 mm.mmmm (minutes) 00,0000 to 59.9999 (E/W) East or West Example: longitude of the fix 12303.51560W means 123° 3.51560’ West
<altitude> : mmmm.m altitude of fix in meters <hdop> : mmm.mm horizontal dilution of position in meters <speed> : ssss.s speed over ground, in kilometres per hour <course> : dddmm.mmmm course in degrees, minutes
ranges of values: ddd (degrees) 000 to 360 mm.mmmm (minutes) 00.0000 to 59.9999
<nbsat> : nn number of satellites in view Note:
Some fields may be empty depending on the availability of the information.

2.1.6 AT+WGPSM – GPS module management

This command will :
power-up or down the GPS module, perform specific GPS module reset, provide the current GPS module software and hardware version.
Syntax: AT+WGPSM=<type>[,<mo de>][,<reset>]
<type>
0 GPS module power management (see <mode> below) 1 GPS module reset (see <reset> below) 3 Get GPS module software and hardware version
<mode>
0 GPS module is powered down 1 GPS module is powered up (default) If <mode> is omitted, the current status is returned
<reset>
0 GPS module is held in reset 1 GPS module is not held in reset (default) If <reset> is omitted, the current status is returned
Examples :
Command Possible Responses Notes AT+WGPSM
AT+WGPSM=(0-1)(3),(0-1) OK
AT+WGPSM=0,1
OK
AT+WGPSM=0
+WGPSM: 0,1 OK
AT+WGPSM=1,0
OK
AT+WGPSM=1,1
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
Display syntax
Power up GPS module
GPS module is currently powered up
GPS module is held in reset
GPS module not reset
OK
AT+WGPSM=1
AT+WGPSM=3
+WGPSM: 1,1 OK
+WGPSM: SW VERSION 5.00 Jan 09 2006 12:00:00 - HW VERSION 00040001 + Extension: M4H1.1 Jan 09 2006 15:3 9:54
OK
EG_GenLoc31e_988_CL_002_UK Page 10 / 22
GPS module is currently not reset
Get GPS module software and hardware version
Note : The AT command AT+WGPSM will not provide a GPS reset with boot mode.

2.1.7 AT+WIOR – Read GPIO value

This command will read the requested SPI GPIO pin value.
Syntax: AT+WIOR=<index>
<index>
0 Opto-coupled input 0 1 Opto-coupled input 1 2 Opto-coupled input 2
3 Motion detector (
Examples :
Command Possible Responses Notes AT+WIOR
AT+WIOR=0
AT+WIOR=1
AT+WIOR=2
AT+WIOR=3

2.1.8 AT+WIOW – Write GPIO value

AT+WIOR=(0-3) OK
+WIOR: 0 OK
+WIOR: 1 OK
+WIOR: 0 OK
+WIOR: 0 OK
optional)
Display syntax
Opto-coupled input 0 is low
Opto-coupled input 1 is high
Opto-coupled input 2 is low
Motion detector level is low
This command will write a value to the requested SPI GPIO pin.
Syntax: AT+WIOW=<index>,<value>
<index>
0 Open-collector output (see <value> below) 1 UART1 RS232 interface (see <state> below) 7 UART2 redirection (see <mode> below) 8 UART2 redirection (see <mode> below)
<value>
0 Output pin is reset low 1 Output pin is set high
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
EG_GenLoc31e_988_CL_002_UK Page 11 / 22
<state>
0 UART1 RS232 interface is enabled (default) 1 UART1 RS232 interface is disabled (the RxD remains active allowing the unit to
continue to receive commands)
<mode>
0 Normal (default) 1 UART 2 RxD and TxD redirected to UART1 DSR and DTR (does not require reset and
external mode)
Examples :
Command Possible Responses Notes AT+WIOW
AT+WIOW=(0,1,7,8),(0-1) OK
AT+WIOW=0,1
OK
AT+WIOW=1,0
OK
AT+WIOW=7,1
OK

2.1.9 AT+WGPSANT – GPS antenna configuration

Display syntax
Open-collector output is set high
UART1 RS232 interface is enabled
UART2 RxD/TxD redirected to UART1 DSR/DTR
This command manages the GPS antenna configuration.
Syntax: AT+WGPSANT=<type>[,<mode>][,<mon>]
Response syntax: +WGPSANT: <type>,<mode>
: <type>,<mon> : <type>,<status>,<presence>,<voltage>
Unsolicited response syntax: +WGPSANT: <type>,<status>,<presence>,<voltage>
<type>
0 Antenna configuration (see <mode> below) 1 Antenna monitoring management (see <mon> below) 2 Antenna status (see <status> below)
<mode>
0 0v (antenna not powered) 1 3v internal (default) (antenna powered)
<mon>
0 Monitoring is deactivated (default) 1 Monitoring is activated
<status>
0 Antenna is not powered 1 Antenna is powered Note : In the case of a short circuit, the hardware protection disconnects the antenna, causing an open circuit. After a 10-second delay the antenna is re-powered.
<presence>
0 No antenna connected 1 Antenna connected
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
EG_GenLoc31e_988_CL_002_UK Page 12 / 22
2 Antenna loading detection not activated
<voltage>
The antenna voltage in mV.
Examples :
Command Possible Responses Notes AT+WGPSANT
+WGPSANT=type(,[mode][mon])
Display syntax
OK
AT+WGPSANT=0
Antenna is currently powered
OK
AT+WGPSANT=1,1
Activate antenna monitoring
OK
Unsolicited message
+WGPSANT: 2,1,0,3282
An open circuit has been detected. Antenna deconnected
Unsolicited message
+WGPSANT: 2,1,1,3116
Antenna reconnected and present
AT+WGPSANT=2
+WGPSANT: 2,1,1,3116 OK
No open circuit detected and antenna is connected with voltage 3.116V
Notes : It is not necessary to perform a reset for this command to be taken into account.
The AT command AT+WGPSANT will not manage the modes EXT or Single Coax Options for the GPS antenna configuration.

2.1.10 AT+SHOWPOS – Automatic display of GPS coordinates

This command will automatically display the GPS coordinates. The output will be as if the command AT+WGPSPOS had been entered every n seconds, i.e.:
+WGPSPOS:2,074657.00,170506,4716.80554N,00003.51461W,78.0,0.92,0.007,,08 +WGPSPOS:2,074707.00,170506,4716.80550N,00003.51490W,77.8,0.92,0.006,,08 +WGPSPOS:2,074717.00,170506,4716.80535N,00003.51490W,77.9,0.92,0.005,,08
etc.
Syntax: AT+SHOWPOS=<n>
<n>
0 Stop automatic display of GPS information 1 to 240 (seconds) : Display GPS information every n seconds
The parameter of this command will be saved immediately to the internal flash memory.
Examples :
Command Possible Responses Notes AT+SHOWPOS
AT+SHOWPOS=10
AT+SHOWPOS?
AT+SHOWPOS=(0-240) OK
OK +SHOWPOS: 10
Display syntax
Display GPS information every 10 seconds
Display current value of SHOWPOS
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
AT+SHOWPOS=0
EG_GenLoc31e_988_CL_002_UK Page 13 / 22
OK
OK
Stops automatic display of GPS information

2.1.11 AT+ERRORSTAT – Display NMEA and UBX frame status

This command will display the number of received NMEA and UBX frames and the number of checksum frame errors received by UART2 from the GPS module.
Syntax: AT+ERRORSTAT=<n>
<n>
0 NMEA frames 1 UBX frames
Examples :
Command Possible Responses Notes AT+ERRORSTAT
AT+ERRORSTAT=0
AT+ERRORSTAT=1
AT+ERRORSTAT=(0-1) (0=NMEA, 1=UBX) OK
NMEA error status: checksum errors = 0 / 17877 (frames received)
OK UBX error status: checksum errors
= 0 / 10 (frames received) OK
Display syntax
Display status for NMEA frames. In this case zero errors for 17877 frames received Display status for UBX frames. In this case zero errors for 10 frames received

2.1.12 AT+WGPSCONF – GPS configuration

The AT command AT+WGPSCONF cannot be used to modify GPS settings.
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
.
EG_GenLoc31e_988_CL_002_UK Page 14 / 22

2.2 UBX commands

2.2.1 AT+HELPUBX – Display list of UBX commands

This command will display a list of the available UBX commands that use the UBX protocol between the Wismo and the GPS module.
Syntax: AT+HELPUBX
Example :
Command Possible Responses AT+HELPUBX
AT+UBXMONVER..............Display hardware and software
version of the GPS module
AT+UBXMONHW...............Display status of the hardware of
the GPS module
AT+UBXCFGDAT..............Display (?) or set datum (=0-215)
AT+UBXCFGDPM............
Model (=1-7)
OK
Note: Display UBX command list
.Display (?) or set Dynamic Platform

2.2.2 AT+UBXMONVER – Display HW / SW version of the GPS module

This command will display the current hardware and firmware version of the GPS module including any extensions.
Syntax: AT+UBXMONVER
Example :
Command Possible Responses AT+UBXMONVER
GPS module - SW version: "5.00 Jan 09 2006 12:00:00" GPS module - HW version: "00040001" GPS module - Extension : "M4H1.1 Jan 09 2006 15:39:54"
OK
Note: Display current hardware and firmware version of the GPS module

2.2.3 AT+UBXMONHW – Display GPS module hardware status

This command will display the status of different aspects of the hardware the GPS module, such as Antenna, Noise Level, Automatic Gain Control (AGC) and Real-Time-Clock.
Syntax: AT+UBXMONHW
Example :
Command Possible Responses Notes AT+UBXMONHW
Noise Level measured by GPS Core : 159 AGC Monitor : 6123 Antenna Supervisor Status : OK
Antenna PowerStatus : ON Real-Time Clock : Calibrated
OK
Noise level. AGC monitor level. Antenna supervisor state machine status. Antenna power status. Internal RTC set to received GPS time.
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.

2.2.4 AT+UBXCFGDAT – Display / Set GPS DATUM

This command will display or set the GPS Datum.
Syntax: AT+UBXCFGDAT=<n>
EG_GenLoc31e_988_CL_002_UK Page 15 / 22
<n>
0 to 215 Datum identifier (Default value is 0, corresponding to WGS84)
Examples :
Command Possible Responses AT+UBXCFGDAT
AT+UBXCFGDAT=0
AT+UBXCFGDAT?
AT+UBXCFGDAT=(0-215) OK
OK Current Datum: 0 - WGS84
OK
Display syntax
Set Datum to 0 (WGS84)
Display current Datum setting. In this case 0 (WGS84)

2.2.5 AT+UBXCFGDPM – Display / Set GPS module Dynamic Platform Model

This command will display or set the Dynamic Platform Model used by the GPS module thus adjusting the navigation engine to the expected environment. This can result in a better interpretation of the measurements and hence more accurate position output.
Syntax: AT+UBXCFGPM=<n>
<n>
1 Stationary – Velocity is constrained to 0 m/s 2 Pedestrian – Assuming low accelerations, portable devices moved by manpower 3 Automotive – Assuming low vertical acceleration, passenger car dynamics 4 Sea – Zero vertical velocity, applications at sea 5 Airborne <1g – Dynamic range greater than car and greater vertical acceleration 6 Airborne <2g – Typical airplane environment 7 Airborne <4g – Extreme dynamic environment
Examples :
Command Possible Responses AT+UBXCFGDPM
AT+UBXCFGDPM=3
AT+UBXCFGDPM?
AT+UBXCFGDPM=(1-7) OK
OK +UBXCFGDPM: 3
OK
Display syntax
Select Automotive Dynamic Platform Model
Display current Dynamic Platform Model setting. In this case 3 (Automotive)

2.2.6 AT+UBXSHOW – Display UBX frames

This command will display the UBX frames exchanged between the UART2 and the GPS module.
Syntax: AT+UBXSHOW=<n>
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
EG_GenLoc31e_988_CL_002_UK Page 16 / 22
<n>
0 Turns off display of UBX frames 1 Display RX frames only 2 (Display TX frames only 3 Display RX and TX frames n+80 Display with ascii interpretation
Examples :
Command Possible Responses AT+UBXSHOW
AT+UBXSHOW=(0-3) + (80 for ASCII)
Display syntax
OK
AT+ UBXSHOW=1
Enable display of RX frames only
OK
AT+ UBXSHOW=2
Enable display of TX frames only
OK
AT+ UBXSHOW=3
Enable display of both RX and TX frames
OK
AT+ UBXSHOW=83
AT+ UBXSHOW?
OK +UBXSHOW=83
OK
Enable display of both RX and TX frames and ascii interpretation Display current setting for UBXSHOW. In this case RX, TX frames and ascii interpretation
AT+ UBXSHOW=0
Turns off display of UBX frames
OK
Example a) - Display of RX frames only :
AT+UBXSHOW=1
OK AT+UBXCFGDAT?
- <UBX RX> CFG_DAT:
B5 62 06 06 34 00 00 00 57 47 53 38 34 00 00 00 00 40 A6 54 58 41 88 6D 74 96 1D A4 72 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E2 A5
Current Datum: 0 - WGS84
OK
- <UBX RX> ACK_ACK:
B5 62 05 01 02 00 06 06 14 3D
Example b) - Display of RX and TX frames with ascii interpretation :
AT+UBXSHOW=83
OK AT+UBXCFGDAT?
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
EG_GenLoc31e_988_CL_002_UK Page 17 / 22
- <UBX TX> CFG_DAT:
B5 62 06 06 00 00 0C 2A µb.....*
- <UBX RX> CFG_DAT:
B5 62 06 06 34 00 00 00 57 47 53 38 34 00 00 00 µb..4...WGS84... 00 40 A6 54 58 41 88 6D 74 96 1D A4 72 40 00 00 .@¦TXAˆmt–.¤r@..
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 E2 A5 ..........â¥
Current Datum: 0 - WGS84
OK
- <UBX RX> ACK_ACK:
B5 62 05 01 02 00 06 06 14 3D µb.......=
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
EG_GenLoc31e_988_CL_002_UK Page 18 / 22

2.3 Serial Flash commands

These commands provide a means of accessing the optional serial flash memory. Refer to the data sheet for the type of flash used for detailed information.

2.3.1 AT+SFHELP – Display serial flash commands

This command will display a list of the available commands to access and manage the serial flash.
Syntax: AT+SFHELP
Example :
Command Possible Responses AT+SFHELP
------------------------- SERIAL FLASH -------------------------
AT+SFHELP.................Display list of commands
AT+SFTYPE.................Display manufacturer, memory size and erase
block size(s)
AT+SFSR...................Display Status Register
AT+SFWRTEXT=addr,"text"...Write an ascii text to the address addr AT+SFRD=start,length(,a)..Read length bytes from start address, (a=1: ascii dump)
AT+SFWEL=x................Display or modify Write Enable Latch bit:
0=Disabled, 1=Enabled
AT+SFBP=x.................Display or modify Block Protection bits:
1=Protected, 0=Unprotected
AT+SFEB=x(,s).............Erase block, size (default 64Kbytes)
AT+SFECHIP................Erase entire memory
OK
Note: Display Serial Flash command list

2.3.2 AT+SFTYPE – Display serial flash type

This command will display the manufacturer, type, memory size and erase block size in bytes of the serial flash (if present).
Syntax: AT+SFTYPE
Examples :
Command Possible Responses AT+SFTYPE
------------- SERIAL FLASH ------------­Manufacturer: SST (0xBF), Type: SST25VF016B (0x2541) Size: 2097152 Bytes Erase Blocks: 64KB 32KB 4KB
Display information about detected serial flash
OK
AT+SFTYPE
No Serial Flash detected OK
No serial flash is present
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.

2.3.3 AT+SFSR – Display status register contents

This command will display the contents of the status register in the serial flash. Displayed value is in hexadecimal format.
Syntax: AT+SFSR
Example :
Command Possible Responses Notes AT+SFSR

2.3.4 AT+SFWEL – Display / modify Write Enable Latch bit

This command will display or modify the Write Latch Enable (WEL) bit in the status register. Note that the WEL bit must be set (enabled) and the appropriate BP bit(s) must be cleared (unprote cted) before attempting to modify the memory. The WEL bit will be cleared to 0 (disabled) after a write to the status register, the block protection bits or the memory.
Syntax: AT+SFWEL=<n>
+SFSR: 0x1C OK
EG_GenLoc31e_988_CL_002_UK Page 19 / 22
Status register contains 0x1C
<n>
0 Disabled 1 Enabled
Examples :
Command Possible Responses Notes AT+SFWEL
AT+SFWEL=0
AT+SFWEL=1
AT+SFWEL?
AT+SFWEL=x (0=Disabled, 1=Enabled) OK
OK
OK +SFWEL: 1
OK
Display syntax
Set WEL bit to 0
Set WEL bit to 1
Display current value of WEL bit. In this case 1
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.

2.3.5 AT+SFBP – Display / modify Block Protection bits

This command will display or modify the block protection bits in the status register. Note that the WEL bit must be set (enabled) before attempting to modify the BP bit(s). Also, the WEL bit must be set (enabled) and the appropriate BP bit(s) must be cleared (unprotected) before attempting to modify the memory.
Syntax: AT+SFBP=<n>
EG_GenLoc31e_988_CL_002_UK Page 20 / 22
<n>
0 Unprotected 1 Protected
Examples :
Command Possible Responses Notes AT+ SFBP
AT+SFBP=1
AT+SFBP=0
AT+SFBP?
AT+SFBP=x (0=Unprotected, 1=Protected) OK
OK
OK +SFBP: 0
OK
Display syntax
Set all BP bits to 1
Set all BP bits to 0
Display current value of BP bits. In this case 0

2.3.6 AT+SFWRTEXT – Write ascii text string to memory

This command will write an ascii text string to the serial flash memory. Note that the WEL bit must be set (enabled) and the appropriate BP bit(s) must be cleared (unprotected) before attempting to modify the memory.
Syntax: AT+SFWRTEXT=<n>,“ascii text”
<n> Start address (0 to maximum memory size (decimal value) “ascii text” ascii text string
Example :
Command Possible Responses AT+SFWRTEXT=50,”An ascii text string”
20 bytes written to address 0x00000032
OK
Note: The ascii text string is written to the flash starting at address 50 (0x00000032)
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
EG_GenLoc31e_988_CL_002_UK Page 21 / 22

2.3.7 AT+SFRD – Display the contents of the memory

This command will read the contents of specified address range of the serial flash memory and dump it to the terminal.
Syntax: AT+SFRD=<s>, <n>, <a>
<s> Start address (0 to maximum memory size, decimal value) <n> length (1 to 512, decimal value) <a> ascii dump (default 0: none, 1: ascii dump)
Examples :
Command Possible Responses AT+SFRD=8,100
AT+SFRD=start,length(,a) (a=1: ascii dump)
OK
Note: Display syntax
AT+SFRD=8,100
100 bytes read starting at address 0x00000008...
-- ADDR -- 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 0x00000000 FF FF FF FF FF FF FF FF 0x00000010 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 0x00000020 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 0x00000030 FF FF 41 6E 20 61 73 63 69 69 20 74 65 78 74 20 0x00000040 73 74 72 69 6E 67 FF FF FF FF FF FF FF FF FF FF 0x00000050 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 0x00000060 FF FF FF FF FF FF FF FF FF FF FF FF
OK
Note: Dump the contents of address range 8 (0x08) to 100 (0x64) with no ascii dump
AT+SFRD=8,100,1
100 bytes read starting at address 0x00000008...
-- ADDR -- 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F ---- ASCII ----­0x00000000 FF FF FF FF FF FF FF FF яяяяяяяя 0x00000010 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF яяяяяяяяяяяяяяяя 0x00000020 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF яяяяяяяяяяяяяяяя 0x00000030 FF FF 41 6E 20 61 73 63 69 69 20 74 65 78 74 20 яяAn ascii text 0x00000040 73 74 72 69 6E 67 FF FF FF FF FF FF FF FF FF FF stringяяяяяяяяяя 0x00000050 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF яяяяяяяяяяяяяяяя 0x00000060 FF FF FF FF FF FF FF FF FF FF FF FF яяяяяяяяяяяя
OK
Note: Dump the contents of address range 8 (0x08) to 100 (0x64) with ascii dump
AT+SFRD=10000000 ,100
Flash - Address is out of Range
ERROR
Note: The specified start address is greater than that supported by the flash
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.

2.3.8 AT+SFEB – Erase block

This command will erase the specified block. Note that the WEL bit must be set (enabled) and the appropriate BP bit(s) must be cleared (unprotected) before attempting to modify the memory.
Syntax: AT+SFEB=<n>,<s>
EG_GenLoc31e_988_CL_002_UK Page 22 / 22
<n> Block number (0 to maximum number of blocks - 1, decimal value) <s> Block size (default 64K. Select either 1,2,4,8,16,32,64,128 kilobyte block size, decimal value)
Examples :
Command Possible Responses Notes AT+SFEB
AT+SFEB=0
AT+SFEB=0,4
AT+SFEB=0
AT+SFEB=0
AT+SFEB=0,16 AT+SFEB=185
AT+SFEB=x(,s) (s default = 64 (KBytes))
OK Erasing block 0 (0x10000 bytes). Please wait... Block 0 erased
OK Erasing block 0 (0x1000 bytes). Please wait... Block 0 erased
OK Flash - Write Latch Disabled
ERROR Flash - Blocks protected
ERROR ERROR
Flash - Block Number is out of Range ERROR
Display Syntax
Block 0 of size 64Kbytes has been successfully erased
Block 0 of size 4Kbytes has been successfully erased
The WEL bit has not been set. Unable to erase block
The appropriate BP bit has not been cleared. Unable to erase block The specified block size is not supported by the flash The specified block number is greater than that supported by the flash

2.3.9 AT+SFECHIP – Erase chip

This command will erase the entire contents of the serial flash memory. Note that the WEL bit must be set (enabled) and all the BP bits must be cleared (unprotected) before attempting to modify the memory.
Syntax: AT+SFECHIP
Examples :
Command Possible Responses Notes AT+SFECHIP
AT+SFECHIP
AT+SFECHIP
Erasing device memory. Please wait... Memory erased
OK Flash - Write Latch Disabled
ERROR Flash - Blocks protected
ERROR
The entire flash memory has been successfully erased
The WEL bit has not been set. Unable to erase chip
The BP bits have not been cleared. Unable to erase chip
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
Loading...