beautypg.com

Copy active flash: $y2=x, S59 softload – Northern UTA220/UTA220k User Manual

Page 116

background image

13-6

UTA220/UTA220k

Softload

Copy Active Flash: $Y2=x

The $Y2 command initiates a softload into the alternate
software set. The source of the softload is the active software
instead of a downloaded file. This command requires the
softload password previously set by the %P1 command. If the
password does not match the unit’s stored password, the TA
will return an ERROR message.

After verifying the password, the TA begins erasing the Flash
memory devices for the alternate software set. If the erasure is
successful, the TA begins programming the alternate Flash
PROM.

After the data has been transferred, the TA verifies that the
flash has been programmed correctly. The TA then sends a
response code (OK or ERROR) to the DTE indicating the
success or failure of the entire copy.

S59 SOFTLOAD

To help determine the cause of any problems encountered
during a softload, the TA can return a result code via the S59
command to indicate the status of the latest softload. The error
codes (Tables 13-5 and 13-6) indicate the success or reason for
failure of softload operations. They are not retained after power
off, reset, or successful swap. S59 is a read-only command,
and is not stored in nonvolatile memory.

Table 13-5:

General Softload Error Codes

Code

Hex

Description

0

00H

Softload not initiated or incomplete

16

10H

Done, OK

128

80H

Bad softload password

193

C1H

YModem-G initial time-out error

194

C2H

YModem-G inter frame time-out error

195

C3H

YModem-G between frame time-out error

196

C4H

YModem-G invalid frame number

197

C5H

YModem-G CRC error

198

C6H

YModem-G invalid file size error

199

C7H

YModem-G premature end of file

200

C8H

YModem-G cancel received (abort)