ARM Technical Support Knowledge Articles

DEBUGGING INTERRUPTS FAILS FROM INTERNAL FLASH

Applies to: ULINK USB-JTAG Debugger

Answer


Information in this article applies to:


QUESTION

I 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?

ANSWER

There 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".

Article last edited on: 2007-01-28 19:10:14

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential