beautypg.com

An93 – Silicon Laboratories SI2493/57/34/15/04 User Manual

Page 35

background image

AN93

Rev. 1.3

35

2.6.6.2. AT Command Macro Example

This example creates the AT command macro ATN to configure the ISOmodem for operation in Norway.

The AT commands required to do this manually are:

AT:U2C,00B0,0080

AT:U67,000C,0010,0004

AT:U4D,001

To implement this as an AT command macro, the EEPROM contents should be:

N

AT:U2C,00B0,0080

AT:U67,000C,0010,0004

AT:U4D,001

This must be written to the EEPROM as ASCII hexadecimal in eight address blocks. The actual AT commands to
store this boot command in the EEPROM starting at address 0 are:

AT:M0000,4E,0D,41,54,3A,55,32,43

AT:M0008,2C,30,30,42,30,0D,0D,30

AT:M0010,38,30,0D,41,54,3A,55,36

AT:M0018,37,2C,30,30,30,43,2C,30

AT:M0020,30,31,30,2C,30,30,30,34

AT:M0028,0D,41,54,3A,55,34,44,2C

AT:M0030,30,30,31,0D,0D,0D

With this macro installed in the EEPROM, the command ATN configures the modem for operation in Norway.

2.6.6.3. Autoloading Firmware Upgrade Example

This example stores a firmware upgrade in EEPROM that is automatically loaded into the modem after power-up or
hardware/software reset if the EEPROM option is selected.

The AT commands required to load the firmware upgrade manually are:

AT*Y254:W0050,0000

AT:PF800.08D5

To implement this as a boot command macro, the commands are:

BOOT

AT*Y254:W0050,0000

AT:PF800.08D5

This must be written to the EEPROM as ASCII hexadecimal in eight address blocks. The actual AT commands to
store this boot command in the EEPROM starting at address 0 are:

AT:M0000,42,4F,4F,54,0D,41,54,2A

AT:M0008,59,32,35,34,3A,57,30,30

AT:M0010,35,30,2C,30,30,30,30,0D

AT:M0018,41,54,3A,50,46,34,30,30

AT:M0020,2C,30,38,44,35,0D,0D,0D

This firmware upgrade (patch) is only an example meant to illustrate the procedure for loading a patch into the
EEPROM. Loading this code into a ISOmodem causes undesirable behavior.

This manual is related to the following products: