TI folks,
We have developed a product based on the DM814x, using:
- DM814x PG 3.0
- EZSDK 5.05.02.00
- EZSDK OMX/HDVPSS Overlay 5.05.02.00
- PSP 04.04.00.02
- Most of the Arago updates for both linux and u-boot in ti81xx-master after the v2.6.37_TI81XXPSP_04.04.00.02.patch1 tag
It uses OMX to implement a media decoder application. It playes both video and audio, so the DSP is used as well.
We have a requirement to be able to enter a low-power mode (without hanging), and to return to normal full power mode (without hanging). To shut down the DSP, I stop its firmware, and set RM_ACTIVE_RSTCTRL, as indicated by Pavel Botev at the end of this e2e post:
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/256582.aspx
(Some other EZSDK modifications are also required, as mentioned in the above post.)
However, I found that the DSP firmware load consistently hangs after about 210 attempts. This hang also occurs using the stock EZSDK (without the modifications suggested by Pavel, without the updated PSP, without the OMX/HDVPSS overlay), on the DM814x-EVM. The issue can be demonstrated using the following loop :
II=1
while true; do
echo; echo "========== $II: $(date) =========="
echo; echo "=== Starting DSP =="; echo
firmware_loader 0 /usr/share/ti/ti-media-controller-utils/dm814x_c6xdsp.xe674 start -i2c 0
sleep 1
echo; echo "=== Stopping DSP =="; echo
firmware_loader 0 /usr/share/ti/ti-media-controller-utils/dm814x_c6xdsp.xe674 stop
sleep 1
II=$(( II + 1 ))
done
Please see attached log, 1_dsp_hang.txt.
Please note that this hang occurs regardless of if audio is actually decoded with OMX. (For example, the log is from the stock EZSDK, without decoding any video or audio.)
Can you tell me how to fix the DSP load/unload issue?
Thanks,
Dan -