Description:
Implement a PC-based Digital Video Recorder,The host may frequently restart the DVR.In the low-lying driver, we will using psc to reset dm648 modules(except PCI) as forllows:
1.Reset C64x+ CPU,by setting MDCTL to 0x000;
2.Restart other modules(except PCI),by setting MDCTL to 0x100 and then 0x103 to bring up them.
3.Config DDR.
4.Bring up C64x+ CPU,by setting MDCTL to 0x100.
5.DSP code download.
6.Set DSPBOOTADDR.
7.Set BOOTCMPLT bit.
System may sometimes hang:
1.DSP can not run.
2.The PSC PTSTAT is always busy.
3.some modules' MDSTAT value is not expected:0x120.
If this happens,I have no way to restart the DSP excpet rebooting my PC.But it is not acceptable.
1.How can i resolve the problem?
2.How can i reset DSP completely,Does PCI-PSC module reset cause completely DSP rest just like POR reset?
Best Regards!