MAXnet SERIAL MODE FIRMWARE UPGRADE
FIRMWARE UPGRADE
MAXnet User’s Manual
8-5
8.2.
MAXnet SERIAL MODE FIRMWARE
UPGRADE
Files Required:
MAXnSupg.EXE
Host executable that does the firmware upgrade via
RS232
MAXn.BIN
The default new controller firmware file
maxn_uldr.hex
Controller firmware for assisting MAXnSupg. This file is
only required if no firmware is running on controller when
maxnsupg is executed. This can occur when an attempt
to do a firmware upgrade has failed or has been
interrupted before completion.
MAXnSupg command line parameters:
/b=n
n specifies the RS232 baud rate.
(default is 115200) (valid is 9600, 19200, 38400, 57600 or 115200)
/p=n
n specifies the number of the RS232 Comm port the controller is
connected to.
(default is 1) (valid is 1-32)
/f=n
n specifies controller firmware filename (default is maxn.bin)
/h
for help - display a usage line (no default)
Description of operation:
-
MAXnSupg will verify the existence and the validity of the firmware upgrade file prior to
sending any commands to the controller to erase or program flash.
-
MAXnSupg determines whether there is firmware currently executing on the MAXnet
controller.
If firmware is currently executing then MAXnSupg proceeds to the next step of the upgrade
process. Otherwise, MAXnSupg will upload the maxn_uldr.hex file to the controller ram and
attempt to execute the uploaded code. If a valid response is returned from the maxn_uldr
application then MAXnSupg proceeds to the next step, otherwise MAXnSupg exits.
-
The flash code blocks are erased. If a failure occurs erasing flash, the program is aborted.
-
The firmware file is sent to the controller and the controller programs the flash to the flash
code blocks. Firmware is sent in packets. If any single packet has a transmission error, it
will be resent until the transmission is successful or the user aborts the upgrade program.
-
The first code block is re-written with a valid MAXnet signature so that the boot block will
recognize that valid firmware is loaded in the flash.
-
A restart command is sent to the controller, causing the controller to re-boot with the new
firmware.
Содержание MAXnet
Страница 4: ...TABLE OF CONTENTS MAXnet User s Manual ii This page is intentionally left blank ...
Страница 26: ...GETTING STARTED POWER SUPPLY REQUIREMENTS 2 20 MAXnet User s Manual This page is intentionally left blank ...
Страница 46: ...STAND ALONE COMMANDS MAXnet User s Manual 6 2 This page intentionally left blank ...
Страница 48: ...SERVICE MAXnet User s Manual 7 2 This page intentionally left blank ...
Страница 58: ...LIMITED WARRANTY APPENDIX A MAXnet User s Manual This page intentionally left blank ...
Страница 60: ...RETURN FOR REPAIRS APPENDIX B MAXnet User s Manual This page intentionally left blank ...