IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

"MONITOR ERROR 22" during compilation

Not applicable

"MONITOR ERROR 22" during compilation

Question: What does the error message "MONITOR ERROR 22" means that show up during compiling the code using the latest microvision tools.  How can I fix this?



Error 22 tells you that there is no writable memory at the address the diagnostic gave you. To make a monitor work on an 8051 you need to overlay XDATA and CODE space so you can "write" to CODE space. This hasn't been done at the address specified with your application. The error message you are receiving is caused by the EZ-USB chip writing to the autovector address located at 0x0045.

This error message can be safely ignored.

Version history
Revision #:
1 of 1
Last update:
‎Dec 19, 2008 12:00 AM
Updated by: