Close

System Self-Test Registers Instruction (error code list)

94754sakura94754sakura wrote 05/31/2021 at 05:30 • 1 min read • Like

24 09 2020 337

 

The system self-test start method:

       Mode 1: Read the registers 0xf3-0xf6, the system will automatically start to verify all the files once.

       Mode 2: The system will check the files used in real-time when executing the program.

Structure output of the system self-check:

   When the file error message is verified, the error code is written to registers 0xf3-0xf6 and output in the following two ways.

       Way 1: Sending the error code in registers 0xf3-0xf6 by serial port via 0x81 instruction.

      For example, A5 5A 07 81 F3 04 00 51 00 0E

       Way 2: Display the error code in the upper left corner of the screen.

        You can use "miscelaneous.4" in "screen cue configuration" to set whether to display the error code or not. Details on 7-2-1 and 7-2-2.

        Checking "miscelaneous.4" enables the display of error code information on the screen.

        If you do not want the error code message to be displayed on the final product, you can uncheck the "miscellaneous.4 bit" option.

Appendix 2-1 System Self-Test Error Codes

(0xf3 0xf4)

Error code  (0xf5 0xf6)

Describe

0000

0x0001

SPI initialization exception

0000

0x0002

System parameters sysinitial exception

0000

0x0003

Read the Config exception

BIN_ID

0x0004

User data file exception

WAV_ID

0x0005

Wav file exception

Mp3_ID

0x0006

MP3 file exception

AVI_ID

0x0007

AVI file exception

FT0_ID

0x0008

The zero word exception

V22_ID

0X0009

Variable initialization file exception

UNICODE_ID

0x000a

The UNICODE word exception

FT_ASC_ID

0x000b

User ASCII font exception

FT_GB_ID

0x000c

User full-angle font exception

ICON_ID[7:0],

ICON_NUM[7:0]

ICON_ID[11:8],

ICON_NUM[11:8],

0x0d

Icon file exception

PIC_ID

0x000e

Image file exception

0000

0x0010

Engineering verification error, read F3 register to start and return engineering self-test results

0000

0x0011

The serial port receives an abnormal command

Like

Discussions