21488 Crash Issue

Discussion created by Ares on Dec 15, 2013
Latest reply on Jan 7, 2014 by Harshit.Gaharwar

Dear all,


I have a problem that 21488DSP crashs after it runs sometime. Please see attached picture - crash.jpg which shows a illegal PC value in PC stack.

In the picture, AEC_DSP3/4/5/6 runs the same code, AEC_DSP3 has crashed, and AEC_DSP4/5/6 keep running.


Introduction of AEC_DSP3/4/5/6 code:


1) Mixture programming, control part using C, AEC algorithm using Assembly.

2) VISA mode.

3) First half of DSP memory BLOCK0 is used for Code, second half is used for data access, and the data access don't use DMA. LDF description as following:  

  // following seg_rth section: start from 0x124000+0x300 = 0x124300.

  // 0xFD00 * 16bits

  seg_int_code { TYPE(SW RAM) START(0x00124300) END(0x0012BFFF) WIDTH(16) }

  dataRe_dmda  { TYPE(DM RAM) START(0x00096000) END(0x00099FFF) WIDTH(32) } // 16K


AVB_AEC3_Handler.c includes all the interrupts used in my code.


Any suggestions for checking and fixing this issue? Thanks in advanced!