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.

DSP hang-up

I have a problem
DSP will hang up.

Run the video analysis process to capture the camera image, it has an analog video output the results.
Video analysis, it has been executed in the DSP, but the processing of the DSP will hang up.


Development environment,

DEVICE DM8148
EZSDK v5.05.02.00
QT v4.7.4 embedded

Processing flow

CONTROL DSP-CONTROL DSP

THREAD

DSP-CONTROL

THREAD

         DSP

raw image capture

=>

get raw image data

DSP-Function call

=>

C6ACCEL I/F

DSP side

<Hang-up Here !!>

DSP-Function1

DSP-Function2

DSP-Function3

CE_DEBUG=2 log

Left: OK 

Right: Hang-up

Always it seems to be stopped before entering the DSP-function1.
If it seems there is a problem with the DSP-function1, I thought to hang up in a function. 

I think there is a problem with the ARM and DSP I / F?
Or if there is a problem with the DSP-Function, you think that may occur?

  • Hi Hideki,

    The Codec Engine trace you have shown is saying that it successfully handled the previous algorithm 'Process' call and there is no other new call into any algorithm (i.e. DSP-Function). It is possible something broke in the ARM-to-DSP interface in C6Accel so the next DSP-Function call is not initiated, or maybe the ARM-side application never initiated the call into C6Accel. You may want to lean on the forum for DM8148 if you have questions regarding C6Accel and the EZSDK.

    As a sanity check, if you have the ability to connect to the DSP using CCS and JTAG, you can also try to use the RTOS Object View (ROV) tool in CCS to check the stack sizes of the system stack and the various tasks running on the DSP. Stack overflow is a common issue in embedded programming that could show up in various ways. Here is a little video on Youtube that shows how to launch ROV (www.youtube.com/watch

    Best regards,
    Vincent