Some hints on working with interrupts under the XDS510 emulator

If you are debugging code that uses interrupts, you should be aware of the following emulator side-effect:

Interrupts are disabled during assembly single stepping

This feature is used to avoid receiving an interrupt after every single-step with real-time external interrupts. If you wish to take interrupts during single stepping, use the " run 1 " command that is totally equivalent to the single stepping key except in the fact that it doesn't disable interrupts.

"Interrupts are always enabled during C single-stepping" because the debugger implements C single-stepping by using an SWI (emulator interrupt function) and "running" the device until this trap is received


Device: TMS320C3x
Category: TI Tools Information
Detail: Debugger Tools
Detail2: Emulator
Title: Interrupts and the Emulator
Source: Case from TMS320 Hotline
Date: 4/28/98
GenId: a2

© Copyright 1998 Texas Instruments Incorporated. All rights reserved.
Trademarks, Important Notice!