User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 183
R
R
S
S
9
9
1
1
1
1
0
0
-
-
N
N
-
-
1
1
1
1
-
-
2
2
2
2
/
/
2
2
4
4
/
/
2
2
8
8
S
S
o
o
f
f
t
t
w
w
a
a
r
r
e
e
P
P
r
r
o
o
g
g
r
r
a
a
m
m
m
m
i
i
n
n
g
g
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e
M
M
a
a
n
n
u
u
a
a
l
l
V
V
e
e
r
r
s
s
i
i
o
o
n
n
4
4
.
.
1
1
5
5
5 Firmware Upgrade and Bootload
The firmware of the RS9110-N-11-2X module resides in a Flash memory on the
module. The host has to load a compact software bootloader that in turn loads
the functional firmware from the Flash to the on-chip memory.
NOTE: Writing code from a scratch to execute these sequences may be time
consuming. The user is strongly advised to use the API set, the source code
of which is provided with the software package. Reference files are at
RS.CN.xx.GENR.SP.x.x.x/Driver/Driver_TCP<or nonTCP>/API_Lib/.
Documentation for the API set is available at
RS.CN.xx.GENR.SP.x.x.x/Driver/Driver_TCP<or nonTCP>/Documentation/
5.1 Firmware Upgrade Process
Firmware upgrade of the image (functional firmware) on the Flash requires an
understanding of the functionalities of the three images that are to be loaded on
to the RS9110-N-11-2X module.
The firmware images are classified as follows:
Functional firmware: This is the actual firmware, that has to be either loaded
from the module‟s flash memory or has to be upgraded.
Software Bootloader: This image, when loaded onto the module from the
Host, loads the existing functional firmware from the Flash on to the on-chip
memory and executes it.
Image upgrader: This image, when loaded onto the module from the Host, is
used to load the new Functional firmware image to the Flash.
NOTE: Functional firmware is represented by ffinst1, ffinst2, and ffdata.
Software bootloader is represented by sbinst1, sbinst2, sbdata1 and sbdata2
Image upgrader is represented by iuinst1, iuinst2, and iudata.
In the firmware upgrade process based on a new release, the user
should take the complete set of above mentioned files from the
same release package. The firmware and image files are written into
the module while the bootloader files are updated into the host
system and used during the regular booting up subsequently.
Please also note that these files are hex representation of files so do not
take the size shown on PC.The file size can be calculated using sizeof()
function or by counting the actual bytes in the file.
The general outline for upgrading firmware is shown below. These points will be
referred to in the following sections where more details on firmware upgrade are
presented.
1. Write 0x00000001 to the address 0x22000004 using Memory Write.