DSPRelated.com
Forums

c5409 interrupt.

Started by rk_appan May 5, 2004
Hello All,

I am using c5409 on my target board.
I am not able to configure interrupts for MCBSP.
I used the vectors.asm and added the ISR name in RINT0, XINT0 labels.
In my command file I have mapped the vectors to 0x7f80. Emulators
gives memory map error when I try to load at 0xff80.( why it is
giving that error? )

I have enabled the the RINT0, XINT0 in the IMR register.

I am seeing the data change in the DRR[1,2] registers, but ISRs are
not invoked.

help is appreciated.

Thanks in Advance.

Kans.



1)about the error :
you should check your debugger memory map .(option tab -> memory map
)
if you have load problems it seems that your memory map is
incorrect.
"The memory map tells the debugger which areas of memory it can and cannot
access. Memory maps vary depending on the application. Typically, the memory
map matches the MEMORY definition in your linker command file. For
information about the MEMORY directive and setting up a linker command file,
select HelpCode Generation Tool Help. "

2)about the interrupt :
check the intsel value in the DMPREC register if it is correct.
> -----Original Message-----
> From: rk_appan [mailto:]
> Sent: Wednesday, May 05, 2004 8:18 AM
> To:
> Subject: [c54x] c5409 interrupt. > Hello All,
>
> I am using c5409 on my target board.
> I am not able to configure interrupts for MCBSP.
> I used the vectors.asm and added the ISR name in RINT0, XINT0 labels.
> In my command file I have mapped the vectors to 0x7f80. Emulators
> gives memory map error when I try to load at 0xff80.( why it is
> giving that error? )
>
> I have enabled the the RINT0, XINT0 in the IMR register.
>
> I am seeing the data change in the DRR[1,2] registers, but ISRs are
> not invoked.
>
> help is appreciated.
>
> Thanks in Advance.
>
> Kans. >
>
> _____________________________________
> Note: If you do a simple "reply" with your email client, only
> the author of this message will receive your answer. You
> need to do a "reply all" if you want your answer to be
> distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://www.yahoogroups.com/group/c54x
>
> Other Groups: http://www.dsprelated.com
>
> Yahoo! Groups Links