Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

"MONITOR ERROR 22" during compilation

"MONITOR ERROR 22" during compilation

Anonymous
Not applicable
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?

 

Answer:

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.

0 Likes
190 Views
Contributors