Document number
205065
Version
Rev. N
Issue date
2019-02-04
Sirius OBC and TCM User Manual
Page
154
of
174
Table 9.8 Write image command argument
Checksum
UINT32
A telecommand execution complete report (if requested in the PUS header) will return the
values listed in
in case of a failure
.
Table 9.9 Write image telecommand execution failure codes
Error code
Data type
Error description
EINVAL
UINT8
Checksum argument doesn’t match
image checksum
ENOSPC
UINT8
Out of non-bad blocks in flash
(critical)
ENOENT
UINT8
No upload in progress
9.3.5. Subtype 5
–
Calculate CRC in flash
This command allows the CRC calculation of an image copy stored in flash. This can be
used for extra verification after update of an image or whenever the flight image copies
needs a verification. The telecommand takes the image copy number as argument (max
value 6), seeTable 9.10. Image copy number 1 - 3 is for the (non-updateable) safe image
and 4 - 6 covers the updated image copies.
Table 9.10 Calculate CRC in flash command argument
Image copy number
UINT8
A telecommand execution complete report (if requested in the PUS header) will return the
values listed in
in case of a failure
.
Table 9.11 Calculate flash CRC telecommand execution failure codes
Error code
Data type
Error description
EINVAL
UINT8
Image number too high (maximum
6)
EBUSY
UINT8
Unable to open System Flash
device
Furthermore, upon execution completed, a report will be generated using the same type and
subtype as for the telecommand. This report will contain the calculated checksum, see Table
9.12