Hard Processor System Remote System Update User Guide: Agilex™ 5 SoCs

ID 852610
Date 4/18/2025
Public
Document Table of Contents

D.2. Error Codes

In case of success, the LIBRSU APIs return the value 0; otherwise, the LIBRSU APIs return the values shown below (from include/libRSU.h in librsu repository), as negative values:
#define ELIB             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