Document number
204911
Version
Rev. K
Issue date
2016-10-11
Sirius Breadboard User Manual
www.aacmicrotec.com
Page
46
of
106
Return value
Description
0
Always
5.7.2.6.7. Erase block
Return value
Description
0
Always
5.7.2.6.8. Read spare area
Reads the spare area with given data.
Return value
Description
0
Read operation was successful.
-1
Read operation failed.
5.7.2.6.9. Program spare area
Programs the spare area from the given data
Return value
Description
0
Program operation was
successful.
-1
Program operation failed.
Command
Type
Direction Description
MASSMEM_IO_ERASE_BLOCK
uint32_t
in
Block number
Command
Type
Direction Description
MASSMEM_IO_READ_SPARE_AREA
uint8_t*
in/out
Of type
massmem_ioctl_spare_area_args_t
.
Command
Type
Direction Description
MASSMEM_IO_PROGRAM_SPARE_AREA
uint8_t*
in/out
Of type
massmem_ioctl_spare_area_args_t