Intelligent OTA | Device Error Codes

If an error occurs when issuing the commands that are used to exchange messages between the Ayla module and the host MCU during the OTA update process, the error code is provided along with the device information. You can view the error codes as follows:

  1. On the Host MCU OTAs tab, click the Host MCU OTA job.

  1. On the left side of the page, click DEVICES to view the information on the devices for this OTA job.
  1. Click DEVICES (also on left side) to view information on the devices for the OTA job.
  2. Click the Devices With Errors tab. This is where you can view the error codes (see the example below).

The following table provides a description of the error codes:

Type of Error Error Codes
OTA status code (integer)

0 – no error, or completely patched block

1 – block would have CRC error after patch

3 – resource problem (not re-tried)

Problems with the download

7– failed to notify Host application

8 – failed to connect to image server

9 – service gave error during download

10 – invalid URL protocol or path for OTA

11 – invalid patch type

12 – invalid patch type

13 – request did not provide size

14 – other errors with OTA command

Codes indicating an invalid patch

16 – patch file decompression error

17 – segment length extends past end-of-file

18 – unspecified fatal error in applying patch

19 – segment has invalid opcode

20 – patch program in invalid state

21 – block has CRCCyclic Redundancy Check error before the patch

22 – more than one block is in copied state

23 – patch head version or length error

24 – patch file has CRC error

Possible hardware issues

32 – block erase failed

33 – block write-back failed

34 – scratch block length too short

35 – old and new code are in diff blocks

36 – old code of patch spans two blocks

37 – new code of patch spans two blocks

38 – scratch block erase error

39 – scratch block write error

40 – error reading/writing progress byte

41 – block to be patched is not state PB_START

Module/patcher software problems

48 – patch file not found

49 – patch file read of head failed

51 – patch file not followed by progress area

52 – invalid progress area

53 – patch file read error

54 – patch file decompression init error

55 – previous patch attempt failed

57 – error opening flash device

58 – patcher did not boot, bb may be down level

 

 

How to get here on the dashboard: Click Intelligent OTA in the Navigation Panel.

See also: Ayla Intelligent OTA, Access the Ayla Customer Dashboard, Default User Roles, Intelligent OTA: Best Practices.

 

Please click here to let us know how we're doing. Thank you.