> -----Original Message----- > From: Ashuaria Lee [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2008 3:44 AM > To: Tivy, Robert > Cc: Monk, Roger; [email protected] > Subject: Re: Unclean CODEC engine shutdown. > > Hi, Tivy > > I have a question. > Can you confirm that doing DSP reset is safe and does no harm > to ARM side? > To be more specific, > 1. could DSP reset corrupt DDR memory?
Not in itself, but any boot code that is configured to automatically run after reset could do anything. > 2. How about peripherals? Depends, peripherals that are part of the C64+ core will get reset, such as L1/L2 cache configuration. > 3. Or EDMA? Don't think so, EDMA is not part of the core. > > I am thinking another way. > The theory is, if the DSPLINK on DSP side can detect the link > is gone DSPLINK catches the exception, and force shutdown the > Codec Engine. > How does this sound? It sounds like a good idea and is possible, but it's not part of the current architecture or plans. In most of the types of systems that this stuff is used it is a closed system and is not expected to ever fail (or be SIGKILLed) once the system has been debugged and deployed. A simple system reboot is used for failures during development. Perhaps another reader of this thread will have a better answer for you regarding DSP-reset by the ARM code during run-time. Since the DSP image would need to be reloaded, it's not something that can be done without being noticed by the user of the device. > > Any thoughts, opinions are appreciated. > > Thanks > > 2008/6/11, Tivy, Robert <[EMAIL PROTECTED]>: > > > > Unfortunately, I believe only a DSP reset will solve this issue. > > > > Regards, > > > > - Rob > > > > > > > -----Original Message----- > > > From: > > > [EMAIL PROTECTED] > > > p.com > > > > > [mailto:[EMAIL PROTECTED] > > > avincidsp.com] On Behalf Of Ashuaria Lee > > > > > Sent: Tuesday, June 10, 2008 6:14 PM > > > To: Monk, Roger > > > Cc: [email protected] > > > Subject: Re: Unclean CODEC engine shutdown. > > > > > > Hi Monk, > > > > > > I'm using CE 2.00 and DSPLINk 1.40 p5. > > > And I've used earlier version also. Which was CE 1.10 + > > DSPLINK > > 1.30(DVSDK 1.10) > > Does the CE version and DSPLINK matter? > > > > > > Regards, > > > Ashuaria Lee > > > > > > 2008/6/11, Monk, Roger <[EMAIL PROTECTED]>: > > > > Which version of CE and DSPLINK are you using? > > > > > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] > > > > > [mailto:[EMAIL PROTECTED] > > On > > Behalf Of Ashuaria Lee > > Sent: 10 June 2008 12:34 > > > > To: [email protected] > > > > Subject: Unclean CODEC engine shutdown. > > > > > > > > Hi, > > > > > > > > I wonder how you're dealing with the unclean codec engine > > > shutdown problem. > > > > For example, if my program was killed due to SIGSEGV, of > > > forced SIGKILL, you know that these Signals cannot be > > handled. So > > after these problem occur, rerunning the codec > engine > will result: > > > > >Error: Failed to open engine stwcodec with error code: > > > > >Error: Engine_EDSPLOAD: can't load the DSP > > >Error: > > engine_setup failed in video_thread_fxn > > > > Any > solutions? or > > maybe some hints? > > > > Your opinion is welcomed. > > > > > > > > -- > > > > Regards, > > > > Ashuaria Lee > > > > > > > > _______________________________________________ > > > > Davinci-linux-open-source mailing list > > > > [email protected] > > > > > > > > > > > > > > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > > > > > > > > > > > > > -- > > > Regards, > > > Ashuaria Lee > > > _______________________________________________ > > > Davinci-linux-open-source mailing list > > > [email protected] > > > > > > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > > > > > > > > -- > Regards, > Ashuaria Lee > _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
