AnsweredAssumed Answered

VDK Bug (for Sharc 21489)

Question asked by SmartIC on Jan 14, 2014
Latest reply on Jan 15, 2014 by SmartIC

Dev Tool: VisualDSP++ 5.0 & update 10.1

DSP: Sharc 21489 v0.2

RTOS: VDK

 

Questinon:

Step1: New interrupt P3I.c

Step2: Build system,then check P3I_Entry disassembly as below

P3I Entry 1.PNG

and the system work.

 

Step 3: call my function from P3I_Entry,source code:

 

extern void int_sport0_rx(void);

 

void P3I_Entry(void) {

          int_sport0_rx();  /* call my function*/

}

check P3I_Entry disassembly as below:

P3I Entry 2.PNG

 

run the system ,after enter P3I_Entry the kernel enter __KernelPanic.

Read the P3I_Entry no push sts and other interrupt code.

 

Why? How to slove it?

 

Thanks!

Outcomes