Error Messages
This section lists the fatal errors, errors, and warnings you may encounter when using the Cx51 C Compiler. Errors and warnings are listed in numerical order and are divided into several sections:
| Summary | Briefly describes the error or warning. |
| Description | Provides a detailed description of message and why it was generated. |
| Cause | Describes the cause of the error. |
| Resolution | Provides hints and suggestions for correcting the problem. |
| Example | Provides an example, where possible, of the error condition. |
| See Also | Provides useful references to additional material. |
Some errors include an exception that provides more information about the exact nature of the error. These exceptions are generated by the operating system and indicate a failure at that level.
| Exception | Description |
|---|
| 0021h | Path or File Not Found The specified path or filename is missing. |
| 0026h | Illegal File Access An attempt was made to delete or write to a write-protected file. |
| 0029h | Access to File Denied The specified file is a directory. |
| 002Ah | I/O Error The drive is either full or the drive was not ready. |
| 0101h | Illegal Context An attempt was made to access a file in an illegal context. This happens if you try to read from LPT1 or delete COM1. |
Related Knowledgebase Articles