|
|||||||||||
Technical Support Support Resources
Product Information |
MON51: Error 22 (No Code at Address 0045h) Using EZ-USBInformation in this article applies to:
QUESTIONHelp. I'm using the Cypress EZ-USB development system and I receive the following error message from the debugger.
Why do I receive this error? ANSWERThis error message is caused by the EZ-USB chip writing to the autovector address located at 0x0045. This code memory location is automatically modified by the EZ-USB hardware and is therefore not writeable. When you create an interrupt service routine in your C program and the monitor downloads the interrupt vector, error 22 is generated. The solution to this problem is to change the definition for the autovector interrupt in the Cypress firmware. This can be done in the USBJMPTB.A51 file provided by Cypress. Modify the USB_AutoVector jmp as shown below. Note that this modification will work for debugging (with the monitor) and for production.
MORE INFORMATION
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.