@@ -121,21 +121,49 @@ The ROM loader sends the following error values
121121+----------+---------------------------------------------------------------------------+
122122| Value | Meaning |
123123+==========+===========================================================================+
124- | ``0x05 `` | "Received message is invalid" (parameters or length field is invalid) |
124+ | ``0x00 `` | "Undefined errors" |
125125+----------+---------------------------------------------------------------------------+
126- | ``0x06 `` | "Failed to act on received message" |
126+ | ``0x01 `` | "The input parameter is invalid" |
127127+----------+---------------------------------------------------------------------------+
128- | ``0x07 `` | "Invalid CRC in message" |
128+ | ``0x02 `` | "Failed to malloc memory from system" |
129+ +----------+---------------------------------------------------------------------------+
130+ | ``0x03 `` | "Failed to send out message" |
131+ +----------+---------------------------------------------------------------------------+
132+ | ``0x04 `` | "Failed to receive message" |
133+ +----------+---------------------------------------------------------------------------+
134+ | ``0x05 `` | "The format of the received message is invalid" |
135+ +----------+---------------------------------------------------------------------------+
136+ | ``0x06 `` | "Message is ok, but the running result is wrong" |
137+ +----------+---------------------------------------------------------------------------+
138+ | ``0x07 `` | "Checksum error" |
129139+----------+---------------------------------------------------------------------------+
130140| ``0x08 `` | "Flash write error" - after writing a block of data to flash, |
131141| | the ROM loader reads the value back and the 8-bit CRC is compared |
132142| | to the data read from flash. If they don't match, this error is returned. |
133143+----------+---------------------------------------------------------------------------+
134144| ``0x09 `` | "Flash read error" - SPI read failed |
135145+----------+---------------------------------------------------------------------------+
136- | ``0x0a `` | "Flash read length error" - SPI read request length is too long |
146+ | ``0x0a `` | "Flash read length error" - SPI read request length is wrong |
147+ +----------+---------------------------------------------------------------------------+
148+ | ``0x0b `` | "Deflate failed error" (compressed uploads only) |
149+ +----------+---------------------------------------------------------------------------+
150+ | ``0x0c `` | "Deflate Adler32 error" |
151+ +----------+---------------------------------------------------------------------------+
152+ | ``0x0d `` | "Deflate parameter error" |
153+ +----------+---------------------------------------------------------------------------+
154+ | ``0x0e `` | "Invalid RAM binary size" |
155+ +----------+---------------------------------------------------------------------------+
156+ | ``0x0f `` | "Invalid RAM binary address" |
157+ +----------+---------------------------------------------------------------------------+
158+ | ``0x64 `` | "Invalid parameter" |
159+ +----------+---------------------------------------------------------------------------+
160+ | ``0x65 `` | "Invalid format" |
161+ +----------+---------------------------------------------------------------------------+
162+ | ``0x66 `` | "Description too long" |
163+ +----------+---------------------------------------------------------------------------+
164+ | ``0x67 `` | "Bad encoding description" |
137165+----------+---------------------------------------------------------------------------+
138- | ``0x0b `` | "Deflate error" (compressed uploads only) |
166+ | ``0x69 `` | "Insufficient storage" |
139167+----------+---------------------------------------------------------------------------+
140168
141169Stub Loader Status & Error
0 commit comments