Whenever a command returns unsuccessfully an error code can be retrieved by issuing the Get Last Error Code right after the command that returned a [NACK].
Note
Hex Value | Decimal Value | INTERNAL | Description |
---|---|---|---|
[00][C9] | 201 | E_FF_NOT_READY | SD-Card not ready or card missing |
[00][CA] | 202 | E_FF_NO_FILE | Could not find the file |
[00][CB] | 203 | E_FF_NO_PATH | Could not find the path |
[00][CC] | 204 | E_FF_INVALID_NAME | Invalid name in pathname or filename |
[00][CD] | 205 | E_FF_INVALID_DRIVE | Invalid drive – should not occur |
[00][CE] | 206 | E_FF_DENIED | Action denied Writing to file which is open for read mode File cannot created due to same name directory File cannot created due to directory table or disk full |
[00][CF] | 207 | E_FF_EXIST | The file is already existing |
[00][D0] | 208 | E_FF_RW_ERROR | The function failed due to a disk RW error or internal error |
[00][D1] | 209 | E_FF_WRITE_PROTECTED | Open for write and disk is write protected |
[00][D2] | 210 | E_FF_NOT_ENABLED | The drive has no working area – should not occur |
[00][D3] | 211 | E_FF_NO_FILESYSTEM | There is no valid FAT filesystem on the disk |
[00][D4] | 212 | E_FF_INVALID_OBJECT | The file object is invalid – should not occur |
[00][D5] | 213 | E_FF_MKFS_ABORTED | Make directory aborted due to Disk size is too small Invalid parameter Wrong cluster size. This can occur when the number of clusters becomes around 0xFF7 or 0xFFF7 |
[00][D6] | 214 | E_FF_DISKFULL | Disk is full |
[00][E6] | 230 | E_SDC_PARAM | Illegal parameter in command |
[00][E7] | 231 | E_SDC_OPEN | The file is already open, when issuing an open command |
[00][E8] | 232 | E_SDC_NOPEN | The file is not open |
[00][E9] | 233 | E_SDC_NODISK | No card inserted |
[00][EA] | 234 | E_SDC_EOF | End of file already reached when starting read command |
[00][EB] | 235 | E_SDC_DIREND | End of directory reached when reading first or next directory entry |
[00][EC] | 236 | E_SDC_READ_FAIL | An error occured during read access |
[03][E9] | 1001 | E_COMMAND | Illegal command |
[03][EA] | 1002 | E_X_OUT_OF_RANGE | X coordinate out of range |
[03][EB] | 1003 | E_Y_OUT_OF_RANGE | Y coordinate out of range |
[03][EC] | 1004 | E_NOT_BOOLEAN | Parameter not boolean |
[03][ED] | 1005 | E_VAL_OUT_OF_RANGE | Value out of range |
[03][EE] | 1006 | E_PARNOT_ZERO | Parameter must not be zero |
[03][EF] | 1007 | E_W_OUT_OF_RANGE | Width out of range |
[03][F0] | 1008 | E_H_OUT_OF_RANGE | Height out of range |
[03][F1] | 1009 | E_LCD_NOFONT | Font not found |
[03][F2] | 1010 | E_FIXEDTEXT | Text message does not exist |
[03][F3] | 1011 | E_GR_NOTFOUND | Local graphic not found |
[03][F4] | 1012 | E_GR_INVTYPE | Invalid graphic type specified |
[03][F5] | 1013 | E_GR_FRAMEIDX | Invalid frame index specified |
[03][F6] | 1014 | E_GR_ANIMIDX | Invalid animation control index specified |
[03][F7] | 1015 | E_GR_ANIMASS | Animation control index not assigned |
[03][F8] | 1016 | E_IO_BAUDRATE | Invalid baudrate specified |
[03][F9] | 1017 | E_IO_COMPORT | Invalid com port specified |
[03][FA] | 1018 | E_IO_OUTPAR | Output number out of range |
[03][FB] | 1019 | E_IO_OUTDEFINED | Output output not defined |
[03][FC] | 1020 | E_IO_OUTMODE | Invalid output mode |
[03][FD] | 1021 | E_IO_ADCCHANNEL | Adc channel out of range |
[03][FE] | 1022 | E_IO_ADCENABLE | Adc channel not enabled |
[03][FF] | 1023 | E_IO_FREQU | Frequency out of range |
[04][00] | 1024 | E_IO_DUTY | Duty cycle out of range |
[04][01] | 1025 | E_IO_REL_NUMBER | Relay number out of range |
[04][02] | 1026 | E_IO_REL_MODE | Invalid relay mode specified |
[04][03] | 1027 | E_IO_RTC_READ | RTC read error |
[04][04] | 1028 | E_IO_RTC_WRITE | RTC write error |
[04][05] | 1029 | E_IO_TM_HOUR | Invalid hour specified |
[04][06] | 1030 | E_IO_TM_MINUTE | Invalid minute specified |
[04][07] | 1031 | E_IO_TM_SECOND | Invalid second specified |
[04][08] | 1032 | E_IO_DT_MONTH | Invalid month specified |
[04][09] | 1033 | E_IO_DT_DAY | Invalid day specified |
[04][0A] | 1034 | E_IO_DT_DAYOFWEEK | Invalid day of week specified |
[04][0B] | 1035 | E_TCH_OUT_OF_RANGE | Touch field index out of range |
[04][0C] | 1036 | E_TCH_NOTCALIB | Touch screen not calibrated |
[04][0D] | 1037 | E_TCH_ACTIVE | Touch field is not active |
[04][0E] | 1038 | E_TCH_MAXFIELD | Touch field index out of range |
[04][0F] | 1039 | E_TCH_TEXT_NF | Text message does not exist |
[04][10] | 1040 | E_MEM_OUT_OF_RANGE | Memory position out of range |
[04][11] | 1041 | E_MEM_POS_EMPTY | Memory position is empty |
[04][12] | 1042 | E_MEM_MAXCURSOR | Cursor index out of range |
[04][13] | 1043 | E_MEM_CURSORNF | Cursor memory index not assigned |
[04][14] | 1044 | E_MAC_DEPTH | Macro depth nesting exceeded |
[04][15] | 1045 | E_MAC_NOT_FOUND | Macro not found |
[04][16] | 1046 | E_FLSH_SETSECTOR | Sector not found |
[04][17] | 1047 | E_FLSH_BLOCK | NAND block out of range |
[04][18] | 1048 | E_FLSH_APPLADDR | Illegal flash address specified |
[04][19] | 1049 | E_EEP_ERASE | EEPROM erase error |
[04][1A] | 1050 | E_EEP_MAXSIZE | EEPROM address out of range |
[04][1B] | 1051 | E_VIEWP_INVALID | Invalid viewport specified |
[04][20] | 1056 | E_MEM_BLOCKED | Screen buffer is blocked for drawing or displaying |
[04][21] | 1057 | E_MEM_USED | Screen buffer is not available for displaying |
[04][22] | 1058 | E_VIEWPORT | Command not allowed in a viewport |
[04][23] | 1059 | E_SCALEERR | Command not allowed when scaling != 1 |
[04][24] | 1060 | E_RII_MD5 | Graphics header in flash does not match graphic data on SDC |
[04][25] | 1061 | E_STR_TOO_LONG | Input string exceeds maximum length |
[04][B0] | 1200 | E_PF_TOOBIG | File is too big to fit NAND flash |
[04][B1] | 1201 | E_PF_INVALID_DATA | Found invalid data in raw flash file |
[04][B2] | 1202 | E_PF_INVALID_CNTRL | Data in raw flash file not applicable for current iLCD Controller |
[04][B3] | 1203 | E_PF_N_INDEX_ERASE | Failed to erase NAND flash index |
[04][B4] | 1204 | E_PF_N_BLOCK_ERASE | Failed to erase NAND flash block |
[04][B5] | 1205 | E_PF_N_WRITE | Failed to write data to NAND flash |
[04][B6] | 1206 | E_PF_N_INDEX_WRITE | Failed to write index data to NAND flash |
[04][B7] | 1207 | E_PF_VALIDATE | Failed to validate written flash |
[04][BA] | 1210 | E_IO_TIMESET | Invalid date or time specified |
[04][BB] | 1211 | E_GR_ORIENTATION | Command not allowed when text/graphic rotated |
[04][BC] | 1212 | E_GR_NO_CROP | Cropping of animated graphics not allowed |
See also:
Copyright © demmel products gmbh. All rights reserved.