[Dspforum] "Uknown Error on Target CPU"

Wenstrand, Doug S. Douglas.Wenstrand at jhuapl.edu
Thu Oct 16 13:20:21 MDT 2008


Yea,
this means that you've written to some memory that you really shouldn't
have.  Step through the program until that happens.  It will likely
happen right after a call to one of the functions that you are not
super-familiar with yet (FFT, BITREV, or something like that).  then
look at the arguments to that function.  
 
An example from yesterday -- a student received this error after calling
the gen_twiddles function.  It turns out they didn't allocate enough
space for the twiddle factors, and the gen_twiddles was trouncing on
some program memory somwhere else.
 
Another example -- you could accidentally call the bit_rev function with
a bad index table or with the wrong address.  That function would go out
and do something ugly like bitreverse your program.  In any case, when
crazy stuff like that happens, sometimes the debugger gets lost.
 
Strategic single stepping should be able to narrow down exactly where it
is happening.
 
Doug
 
 
 

--------------------------------------- 
D. S. Wenstrand 
Johns Hopkins University 
Applied Physics Laboratory 
(240) 228-4282 

 


________________________________

	From: Adam Brenchley [mailto:abrenchley at hotmail.com] 
	Sent: Thursday, October 16, 2008 2:45 PM
	To: Wenstrand, Doug S.; Haber, Joseph
	Subject: Halt Error
	
	
	While trying to use the 'halt' on my fft program, I get the
attached error.  doesn't happen in my older programs.  Any ideas?
	
	
	

________________________________

	Stay organized with simple drag and drop from Windows Live
Hotmail. Try it
<http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008
>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://echelonembedded.com/pipermail/dspforum_echelonembedded.com/attachments/20081016/7fda183e/attachment.html>


More information about the Dspforum mailing list