Below are listed possible errors that may return from sending a GPM command:

Return Code Description

0x00

Success

General command failures

0x01

General failure

0x02

Bad payload length

0x03

Tried to access memory block beyond the max available

0x04

Attempted to read/write across a block boundary

0x05

Attempted to read/write with a valid file system mounted

0x06

Unrecognized GPM command

0x07

GPM is currently busy executing another GPM command

Erase command failures

0x10

Flash erase operation failed

Write command failures

0x20

Flash write operation failed

0x21

Flash write would have created a valid FS header. Writing a file system into GPM is disallowed due to security concerns.

Read command failures

0x30

Flash read operation failed

0x31

Tried to read more than can be transmitted in a single packet

0x32

Couldn’t get a buffer to send read updates

Verify and install failures

0x40

Firmware verify operation failed

0x41

The given image is not compatible with this device

0x42

The given image appears corrupted or invalid

0x50

Firmware install operation failed