DSPRelated.com
Forums

an unusual prob with 64x board.. please help

Started by Ganesh Vijayan September 19, 2002
Dear all,
I am presently working on TMS320C6416 board for some video encoding purpose. I
am encountering a peculiar problem. Whenever I run a video of bigger resolution,
after encoding say a few hundred frames, the CCS leaves a message "Trouble
running Target CPU: Unrecoverable Emulation Error" and halts execution of the
program. This problem is not recurring and happens only occasionally. I have
tested the same code with simulator and it is not yielding any problem. I have
checked for possible memory leaks in the code and there aren't any. Is there any
memory leak due to CCS ? Have anyone else encountered the same problem.If so
kindly help. What are the reasons for this error and any remedies ?
Thanks in advance.
Ganesh
***********************************
Ganesh Vijayan
DSP Desgin Engineer - Video
Emuzed India (P) Ltd.
Bangalore
ph: +91 - 80 - 5252223 / 24 (O)
+91 - 80 - 3498857 (R)
+91 - 98452 27619 (M)
www.emuzed.com
*************************************



Some of the several reasons for your problem.

1. Cache incoherrency because of which you might be using invalid data.
2. Not properly restoring CSR value in one of your assembly kernels.
3. Stack overflow leading you into an invalid section of memory.
4. In case you are performing DMAs, make sure you wait for their completion
and also make sure that cache coherency is ensured for source and
destination buffer before and after completion of transfer.

You will not see any of this problems if you replace your DMAs with memcpy
and run the code on fast simulator Hope this helps.

Regards,
Anurag.

Anurag Jain,
Video & Imaging Products,
Emerging End Equipments,
Texas Instruments India,
Bangalore, INDIA.
Tel : +91 80 5099321, Fax : 5298519 http://www.ti.com

-----Original Message-----
From: Ganesh Vijayan [mailto:]
Sent: Thursday, September 19, 2002 10:38 AM
To:
Subject: [c6x] an unusual prob with 64x board.. please help Dear all,
I am presently working on TMS320C6416 board for some video encoding purpose.
I am encountering a peculiar problem. Whenever I run a video of bigger
resolution, after encoding say a few hundred frames, the CCS leaves a
message "Trouble running Target CPU: Unrecoverable Emulation Error" and
halts execution of the program. This problem is not recurring and happens
only occasionally. I have tested the same code with simulator and it is not
yielding any problem. I have checked for possible memory leaks in the code
and there aren't any. Is there any memory leak due to CCS ? Have anyone else
encountered the same problem.If so kindly help. What are the reasons for
this error and any remedies ?
Thanks in advance.
Ganesh
***********************************
Ganesh Vijayan
DSP Desgin Engineer - Video
Emuzed India (P) Ltd.
Bangalore
ph: +91 - 80 - 5252223 / 24 (O)
+91 - 80 - 3498857 (R)
+91 - 98452 27619 (M)
www.emuzed.com
*************************************
_____________________________________
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/c6x

Other Groups: http://www.dsprelated.com ">http://docs.yahoo.com/info/terms/