Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).
|
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 Help®Code 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. > > > _____________________________________ > Yahoo! Groups Links |