Reply by anser mehboob September 8, 20082008-09-08
Dear christophe

Thanks for your help. I tried this but it doesn't work. Actually, I am using tcf tool and DSP/BIOS to set the interrupt and ISR. Have you got any idea to do it using Config tool.
Kind Regards

Anser Mehboob
--- On Mon, 9/8/08, christophe blouet wrote:

> From: christophe blouet
> Subject: RE: [c6x] How to Use Vector Table?
> To: a...@yahoo.com, "c6x group"
> Date: Monday, September 8, 2008, 6:23 AM
> Try that
> first reset it vectors
> IRQ_resetAll();
> then set the address of it vectors table
> IRQ_setVecs(vectors); /* point to the IRQ vector
> table */then map the EDMA event to an IT event
> IRQ_map(IRQ_EVT_EDMAINT, 13);then you can set up your
> DMA and allow interrupt generation of the channel you
> selected
> then allow this IT
> IRQ_enable( IRQ_EVT_EDMAINT );then allow the NMI
> IRQ_nmiEnable();This should be better
>
> > To: c...> From:
> a...@yahoo.com> Date: Sun, 7 Sep 2008 09:59:00
> -0700> Subject: [c6x] How to Use Vector Table?> >
> Hi everybody> > I have a little problem. I am trying
> to write an EDMA program to copy data from one location to
> other. After copying; EDMA should generate an interrupt to
> the CPU and then CPU should run an ISR.> > > The
> EDMA sucessfully copies data and also generates an
> interrupt. I used following code to check that whether EDMA
> generates an interrupt or not> >
> while(EDMA_intTest(8)!=1){} //works ok> > > But
> this interrupt doesnt reach CPU i.e. the CPU never calls
> ISR. I am also scaning IFR register using> >
> while(IRQ_test(IRQ_EVT_EDMAINT)!=1){}> > > I am
> using "HWI dispatcher" to set the interrupt. I
> think it is something related to "Vector Table". I
> never used "Vector Table" before. Anyone has any
> knowledge how to do it. Any help is very much
> appreciated.> > > Kind Regards> > > >