C
C
ONFIGURATION
OMMAND
Syntax
<cmd_id>
<datalength>
<data>
<pos>
<data_to_write>
<cksum>
Functionality
−
leave empty
This confidential document is a property of FALCOM and may not be copied or circulated without previous permission.
S
- F
R
ET
IRMWARE
Exit
Data
Select Sector
Mode
0x00
0x01
0x00
0x01
Number of sector or
-
99
to
configuration sector.
-
-
-
-
-
-
- Selects one of the
sectors (0 ... number
returned
RUpdate.Init
command).
- If 'CFG' is selected,
only a half sector can
be
accessed.
new
configuration can be
stored
there
Switches back
desired.
to
normal
- This selected sector
Command
is used for all further
mode
(PFAL
commands.
commands)
- Data can be written
only to the currently
selected sector.
- The
command works only
for
the
selected sector.
- Erasing
can
be
only on the currently
selected one.
2.4.0_
-
EVISION
BETA
Write
Data
Sector
0x02
4 + number of bytes
to be written.
select
-
2 Bytes
(position
inside sector 0x00-
0xFFFF)
data for this position
2
Byte
(16
checksum of <pos>
and
<data_to_write>)
from
The
device
if
Writes data to the
specified
position
inside
a
currently
selected sector
checksum
currently
a
sector
performed
V
ERSION
to
Read
Sector
Checksum
0x03
2
-
2 Bytes
(position
inside sector 0x00-
0xFFFF)
-
bit
-
Computes a 16 Bit
Cksum of the currently
selected sector from
the
first
byte
until
<pos> (the byte at the
specified position is
included). This Cksum
has to match with the
expected value (i.e. of
the
new
firmware
sector)
-
If
this
Cksum
differs from expected
results
data
is
corrupted, which can
result
in
an
unreachable device.
-
In case a wrong
cksum was reported,
the whole sector has
to be erased
(see
next command)
-
Note: If just a part
of a sector needs to
be
written,
the
specified
position
should be the last byte
written.
If
the
maximum
value
(0xFFFF) is specified,
trailing 0xFF's inside
this sector would be
also
used
for
calculation.
-
Do
not
specify
0xFFFF for the very
last sector containing
a configuration
- the maximum value
for
this
sector
is
0x7FFF.
Page 36 of 271
1.0.0
Clear
Sector
0x04
0
-
-
-
-
Erases
a
currently
selected
sector. (i.e. if
corrupted
data
was
inside)
Need help?
Do you have a question about the MAMBOII and is the answer not in the manual?
Questions and answers