Error/Event Codes

Error code quick reference

Socket Error Codes:

Hex Error Code Description
0x01 SO_TRANSMIT_ERROR Transmit error
0x02 SO_NO_ARP_ADDRESS Unresolved destination MAC
0x03 SO_TIMED_OUT transfer function timed out
0x04 SO_IN_USE TCP only: not ready
0x05 SO_NOT_ESTABLISHED TCP only: not connected
0x06 SO_CONNECTION_RESET TCP only: connection reset by remote host
0x07 SO_WRONG_CHECKSUM net_recv(): data checksum failed
0x08 SO_BUFFER_TOO_SMALL net_recv(): data > maxdatalen received
0x09 SO_NO_INPUT_BUFFER net_recv(): NULL pointer given as data buffer
0x0a SO_NOT_OPEN Socket is not open
0x0c SO_CONNECTION_CLOSED TCP only: connection closed
0x0d SO_WINDOW_ERR TCP only: window size zero received
0x0e SO_CONNECTION_ESTABLISHED TCP only: connected
0x0f SO_MMU_ERROR SMCS91c111: MMU error
0x10 SO_SEND_PENDING Send pending
0x11 SO_NO_LINK No valid link
0x12 SO_DNS_ERR Name resolution missing or pending
0x13 SO_NO_TCP_MEM TCP out of memory



EFS Error Codes:

Val Error Code Description
-1 FSYS_BIOS_PROTECT_ERROR BIOS protection error (D.Module only)
-2 FSYS_CHECKSUM_ERROR Checksum error
-3 FSYS_INTEL_HEX_ERROR Intel Hex Format error
-4 FSYS_SECTOR_ERASE_ERROR FLASH sector erase error
-5 FSYS_FLASH_PROGRAM_ERROR FLASH program error
-6 FSYS_BUFFER_UNDERRUN_ERROR Buffer under-run error
-7 FSYS_OUT_OF_MEMORY_ERROR Out of memory error
-8 FSYS_OUT_OF_RANGE_ERROR Out of range error