This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Illegal_isr() trap problem

Other Parts Discussed in Thread: TMS320F2812

hi everyone,
             we are developing an application using TMS320F2812 dsp custom board. our main task is to read parallel data from  4 ch ADC(AD7865) we are using three of them and send the parallel data to 2 ch DAC.
when i read first channel of first ADC dsp is working fine, when i read three channels of first ADC then also it working fine but when i read the fourth channel of the first ADC then ILLEGAL_ISR TRAP interrupt is raised and the program comes to halt.when i execute the DAC code alone its running fine but when i integrate DAC code with ADC code again the same problem is occured. all these codes were tested in RAM mode with rude real time mode enabled.

when i dumped this code into flash and tested again the same result, the dsp is running for few seconds and coming to halt.

i took the TI sample code of GPIO toggle and made changes to that code for ADC reading and writing to DAC.

Why is the ILLEGAL ISR TRAP interrupt raised? what may be the problem?

when i have gone through the problem in this community i have understood the problem may be due to stack. but what changes i have to make to my code to over come this serious issue?

Can anyone help me out with this issue? its very critical issue and it has stopped the whole project?