Hi All, This error is troubling me a lot. CUP-DSP device Error Trouble Halting target DSP Timeout on Target Processor Please check Cabling or, MultiProcessor Configuration. Please guide me what to do. It occurs whenever I reload a program, or very very often while running it. Can somebody through some light over it. Thanks in advance. Regards Mohit Mehta __________________________________________________ /">http://mail.yahoo.com/ |
|
CUP-DSP Device Error
Started by ●August 24, 2000
Reply by ●August 24, 20002000-08-24
I believe the problem you are having CPU_DSP device error, could be one
of the following: a) You need to halt the target before you start loading new code. b) The next thing to do is to reset EMIF and break points c) Now load the code and run. d) In cases where the debugger looses track of the DSP, the only alternative is to close the debugger, perform a hradware reset on the DSK , EVM reset from command lione on the EVM, and then invoke the debugger again. e) Also using CCS1.2 should minimize the occurrence of this. f) Further if your code is running off into the weeds or has a bad pointer access, you could get this message, saying trouble halting traget DSP. It is a sure sign of bad code. Cases like stack overflow, corruption of program memory by writing data to it. Regards Jagadeesh Sankaran |
Reply by ●August 24, 20002000-08-24
Your problem could be solved by invoking GEL on the toolbar (whenever you start CCS or start a new project)and click on the Reset_and_EMIF_Setup. Do not use the Reset DSP on Debug. J.L. --- In , Mohit Mehta <mmegps@y...> wrote: > Hi All, > This error is troubling me a lot. > CUP-DSP device Error > Trouble Halting target DSP > Timeout on Target Processor > Please check Cabling or, MultiProcessor > Configuration. > Please guide me what to do. > It occurs whenever I reload a program, or very very > often while running it. > Can somebody through some light over it. > Thanks in advance. > Regards > Mohit Mehta > > __________________________________________________ > /">http://mail.yahoo.com/ |
Reply by ●August 24, 20002000-08-24
I've got the same problem, but solved it by using always a special sequence to start CCS. The first thing is RESET XDS interface (if you have one) Then start CCS. Always !!!!!! start DEBUG, RESET. This makes sure the CPU is in a correct state. Then load workspaces or do the thing you want to. This solved my problems, maybe it applies to you also. Regards, Patrick Meurs Mohit Mehta wrote: > > Hi All, > This error is troubling me a lot. > CUP-DSP device Error > Trouble Halting target DSP > Timeout on Target Processor > Please check Cabling or, MultiProcessor > Configuration. > Please guide me what to do. > It occurs whenever I reload a program, or very very > often while running it. > Can somebody through some light over it. > Thanks in advance. > Regards > Mohit Mehta > > __________________________________________________ > /">http://mail.yahoo.com/ > To Join: Send an email to > > To Post: Send an email to > > To Leave: Send an email to > > Archives: http://www.egroups.com/group/c6x > > Other Groups: http://www.dsprelated.com -- /'^`\ ( o o ) -=-=-=-=-=-=-=-=-=-=-=oOOO-=(_)=-OOOo=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patrick Meurs Philips Research Laboratories Eindhoven |
Reply by ●August 24, 20002000-08-24
Mohit, I've never truly understood that either, however, what I found was that you have to make sure that your process is halted in 'a good spot'. For example, if you want to stop the process and re-build/download the program again, use a breakpoint to halt the program, don't just hit the HALT button as it might be in the middle of some wait state. In addition, if you are using a host program as well, ie the host generates or feeds data to the dsp, only one process, either the host code or the dsp code (ie CCS) can have control of the dsp. If for example the host has control and you try to download the program through CCS, you will get a timeout error. Hope that helps. >From: Mohit Mehta <> >Reply-To: >To: >Subject: [c6x] CUP-DSP Device Error >Date: Wed, 23 Aug 2000 22:07:25 -0700 (PDT) > >Hi All, > This error is troubling me a lot. > CUP-DSP device Error > Trouble Halting target DSP > Timeout on Target Processor > Please check Cabling or, MultiProcessor >Configuration. > Please guide me what to do. > It occurs whenever I reload a program, or very very >often while running it. > Can somebody through some light over it. > Thanks in advance. >Regards >Mohit Mehta > >__________________________________________________ >/">http://mail.yahoo.com/ > ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com |
Reply by ●August 27, 20002000-08-27
From the responses, it sounds like you're using the C6211 DSK. If so,
then John's comment is right on. You must perform the GEL:RESET:RESET_BRKPT_AND_EMIF (or something like that) every time BEFORE you load a program. If you have CCS set to automatically load the program after a build, use the GEL:RESET before you build/load. WAIT ... for it to complete before you load your program. If you look in the lower left-hand corner you'll see the status. After invoking the GEL:RESET, you should see "DSP Resetting", then "DSP Reset", and finally "DSP Halted". Make sure it says its halted before you load your program. The problem stems from the fact that the C6211 DSP doesn't have a "No Boot" bootmode. Therefore, everytime the DSP is reset it causes a bootload from Flash memory. If not using the GEL command, CCS will loose sync with the DSK and you'll get the error listed below. As someone else stated, don't use DSP Reset since this will cause the bootloader to do its thing, too. >From: "John Lai" <> >Reply-To: >To: >Subject: [c6x] Re: CUP-DSP Device Error >Date: Thu, 24 Aug 2000 14:26:12 -0000 > >Your problem could be solved by invoking GEL on the toolbar (whenever >you start CCS or start a new project)and click on the >Reset_and_EMIF_Setup. Do not use the Reset DSP on Debug. >J.L. > >--- In , Mohit Mehta <mmegps@y...> wrote: > > Hi All, > > This error is troubling me a lot. > > CUP-DSP device Error > > Trouble Halting target DSP > > Timeout on Target Processor > > Please check Cabling or, MultiProcessor > > Configuration. > > Please guide me what to do. > > It occurs whenever I reload a program, or very very > > often while running it. > > Can somebody through some light over it. > > Thanks in advance. > > Regards > > Mohit Mehta > > > > __________________________________________________ > > /">http://mail.yahoo.com/ ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com |