Intel® Stratix® 10 Hard Processor System Remote System Update User Guide

ID 683021
Date 2/23/2024
Public
Document Table of Contents

C.2. Error Codes

In case of success, the RSU APIs return the value 0; otherwise, the RSU APIs return the values shown below, as negative values:
#define EINTF           1
#define ECFG            2
#define ESLOTNUM        3
#define EFORMAT         4
#define EERASE          5
#define EPROGRAM        6
#define ECMP            7
#define ESIZE           8
#define ENAME           9
#define EFILEIO         10
#define ECALLBACK       11
#define ELOWLEVEL       12
#define EWRPROT         13
#define EARGS           14
#define ECORRUPTED_CPB  15
#define ECORRUPTED_SPT  16

These error codes are defined in arch/arm/mach-socfpga/include/mach/rsu.h.