DSPRelated.com
Forums

Use Apex-ICE emulator for target on-board emulation

Started by Yipeng Tang January 26, 2006
Hi everyone,

I am using Apex-ICE emulator for on board emulation. I am using Visual DSP ++ SHARC IDE.

My program is supposed to response IRQ0, and do the interrupt service correspondingly.

I am wondering how can I set the breakpoint for the IRQ0 during the emulation. I know how to set breakpoint for simulation, but emulation is based on the hardware interrupt. The document that I have is not very helpful. Basically I need to know how to set breakpoint or testing point for Interrupt and SPORT.

Thank you for your help.
Yipeng _____________________________________________________________________________
Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit http://www.ers.ibm.com
_____________________________________________________________________________


On Thu, 26 Jan 2006, Yipeng Tang wrote:

> Hi everyone,
>
> I am using Apex-ICE emulator for on board emulation. I am using Visual DSP ++ SHARC IDE.
>
> My program is supposed to response IRQ0, and do the interrupt service correspondingly.
>
> I am wondering how can I set the breakpoint for the IRQ0 during the emulation. I know how to set breakpoint for simulation, but emulation is based on the hardware interrupt. The document that I have is not very helpful. Basically I need to know how to set breakpoint or testing point for Interrupt and SPORT.

Set the break point inside the IRQ. Once you know
the IRQ works, you can clear the break. If you need to
test something so it sets up for an IRQ, you can mask
the interrupt off using IMASK, set a break after the
code that creates what you want, then turn the interrupt
back on when you hit that break.

Sounds confusing, but once you get the hang of it, you'll
be fixing bugs rapidly.

Patience, persistence, truth,
Dr. mike