I'm asserting the INT0 line to the DSP, but am not having any luck getting my interrupt service routine to execute. How do I set up vectors.asm to point to the interrupt routine in my code? Please note that our code is written in assembly. Thanks David Weatherwax Worcester Polytechnic Institute |
|
Servicing INT0 in assembly
Started by ●November 5, 2001
Reply by ●November 6, 20012001-11-06
The value of the IPTR (interrupt pointer) register, which is at boot-up
set as 0xFF80 is configurable to where you have chosen to place your interrupt vector table. The IPTR register lies within the PMST (Processor Mode Status Register). From TI help: "The 9-bit IPTR field points to the 128-word program page where the interrupt vectors reside. You can remap the interrupt vectors to RAM for boot-loaded operations.At reset, these bits are all set to 1; the reset vector always resides at address FF80h in program-memory space.The RESET instruction does not affect this field." Also, make sure the interrupt mask register (IMR) is set correctly, and ensure that the vector table is correctly spaced. Hope this helps, Tim Tim Shearer Digital Design Engineer BBM Electronics Group, Trantec Systems E-Mail: , Web: www.trantec.co.uk Phone: +44 (0)20 8330 3111, Fax: +44 (0)20 8330 3222 ----- Original Message ----- From: <> To: <> Sent: 05 November 2001 21:13 Subject: [c54x] Servicing INT0 in assembly > I'm asserting the INT0 line to the DSP, but am not having any luck > getting my interrupt service routine to execute. How do I set up > vectors.asm to point to the interrupt routine in my code? Please > note that our code is written in assembly. > Thanks > > David Weatherwax > Worcester Polytechnic Institute > > _____________________________________ > 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 > ">http://docs.yahoo.com/info/terms/ |
Reply by ●November 6, 20012001-11-06
hi, your question is not totally clear to me. are you working under DSPBIOS? if so, you can set the vectors in your cdb manager. if not, it has to do with the following things: cmd file, pmst, vectors.asm. i can describe the whole stuff, but that's long. pleas let me know where your question is about. derk -----Original Message----- From: [mailto:] Sent: maandag 5 november 2001 22:14 To: Subject: [c54x] Servicing INT0 in assembly I'm asserting the INT0 line to the DSP, but am not having any luck getting my interrupt service routine to execute. How do I set up vectors.asm to point to the interrupt routine in my code? Please note that our code is written in assembly. Thanks David Weatherwax Worcester Polytechnic Institute _____________________________________ 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 ">http://docs.yahoo.com/info/terms/ |