AN93

2.6.6.2. AT Command Macro Example

This example creates the AT command macro ATN<CR> to configure the ISOmodem for operation in Norway. The AT commands required to do this manually are:

AT:U2C,00B0,0080<CR>

AT:U67,000C,0010,0004<CR>

AT:U4D,001<CR>

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

N<CR>

AT:U2C,00B0,0080<CR>

AT:U67,000C,0010,0004<CR>

AT:U4D,001<CR>

<CR><CR>

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<CR> 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<CR>

AT:PF800.08D5

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

BOOT<CR>

AT*Y254:W0050,0000<CR>

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.

Rev. 1.3

35

Page 35
Image 35
Silicon Laboratories SI2494/39, SI2493/57/34/15/04 manual AT Command Macro Example, Autoloading Firmware Upgrade Example