| |||||
Technical Support Support Resources
Product Information | ULINK: DEBUGGING INTERRUPTS FAILS FROM INTERNAL FLASHInformation in this article applies to:
QUESTIONI use interrupt functions in my code and debug my project with the ULINK. The program is loaded to on-chip Flash of the XC16x device. The debugger behaves strangely after interrupts are enabled. What can be the reason for that? ANSWERThere is a potential problem with the Startup Configuration from external circuitry. You should use the Peripherals - Interrupt dialog and check the setting of the VECSEG value. For on-chip Flash the value should be 0xC0. If this is not the case, you should take care that ALE, EA and RD configure the Standard start internal mode. Detailed information can be found in the XC16x System User Manual in the chapter "Default Configuration in Single Chip Mode". Last Reviewed: Sunday, January 28, 2007 | ||||
| |||||