Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
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.