Hi Jose, Here is what our support team said. Jose, This section of code is looking to define a series of ISR's. This particular code snippet uses the pmemwrite() function in this case because the ISR's belong in the lower part of P memory and C pointers cannot be used (a fairly typical way this could be done in C code) as they only provide access to X memory on the DSP568xx family through CodeWarrior. However, you can also do this by defining the ISR's in a separate .c or .asm file and locating them using the linker command file. To see more description about ISR's on the DSP56824 you will need to look at the DSP56824 User's Manual which you can find in the "Help and Documentation" portion of the SDK. Chapter 16 which is the Programmer's sheets shows the Interrupt Vectors listed in order of address, specifically look at 16.2. To find out more about the pmemwrite() function used in this snippet of code, I suggest you take a look at page DSP-152 in the Targeting_DSP56800.pdf which comes in the CodeWarrior installation. There is an explanation there......... Hope this info helps! Regards, > Hi Everyone. > I'm running a code on my DSP56824EVM, and I found the "Interrupt > Service Routines" or IRS, specifically: > pmemwrite((WORD)0xE9C8,(WORD)0x0010); // Write JSR > instruction > pmemwrite((WORD)Irqa_ISR,(WORD)0x0011); // IRQA's ISR address > pmemwrite((WORD)0xE9C8,(WORD)0x0012); // Write JSR > pmemwrite((WORD)Irqb_ISR,(WORD)0x0013); // IRQB's ISR address > pmemwrite((WORD)0xE9C8,(WORD)0x0020); // Write JSR > instruction > pmemwrite((WORD)SSI_rx_isr,(WORD)0x0021); // SSI Rx ISR address > pmemwrite((WORD)0xE9C8,(WORD)0x0022); // Write JSR > pmemwrite((WORD)SSI_rx_isr,(WORD)0x0023); // SSI Rx w/error > address > Can anybody tell me what they are, and where can I find a *.pfd file > ( on the Codewarrior or the SDK CD) that explains this???? > > Thanx a lot > JosAntonio S. |