Sign in

username:

password:



Not a member?

Search compdsp



Search tips

comp.dsp by Keywords

Adaptive Filter | ADPCM | ADSP | ADSP-2181 | Aliasing | AMR | Anti-Aliasing | ARMA | Autocorrelation | AutoCovariance | Beamforming | Bessel | Blackfin | Butterworth | C6713 | CCS | Chebyshev | CIC Filter | Circular Convolution | Code Composer Studio | Comb Filter | Compression | Convolution | Cross Correlation | DCT | Decimation | Deconvolution | Demodulation | DM642 | DSP Boards | DSP/BIOS | DTMF | Echo Cancellation | Equalization | Equalizer | ETSI | EZLITE (Ez-kit Lite) | FFT | FFTW | FIR Filter | Fixed Point | FSK | G.711 | G.723 | G.729 | Gaussian Noise | Goertzel | GPIO | Hilbert Transform | IFFT | IIR Filter | Interpolation | Invariance | JTAG | Kalman | Laplace Transform | Levinson | LPC | McBSP | MIPS | Modulation | MPEG | Multirate | Notch Filter | Nyquist | OFDM | Oversampling | Pink Noise | Pitch | PLL | Polyphase | QAM | QDMA | Quantization | Quantizer | Radar | Random Noise | Reed Solomon | Remez | Resampling | RTDX | Sampling | Sharc | TI C6711 | Undersampling | Viterbi | Wavelets | White Noise | Wiener Filter | Windowing | XDS510PP | Z Transform


Discussion Groups

Free Online Books

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Comp.DSP | Urgent : quit from DSP/BIOS

There are 5 messages in this thread.

You are currently looking at messages 0 to 5.


Urgent : quit from DSP/BIOS - Hamid - 2004-03-11 11:46:00

Hi All

I have a DSK6416 board and I have an application including two SWI and
one HWI,
after running the main function and passing the control of algorithm
to the DSP/BIOS, after some time , it gets back to the main function
and I don't understand why?

I have checked for stack overflow and it doesn't seem to be the
problem .

I appreciate any idea.

Regards , Hamid
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Urgent : quit from DSP/BIOS - Bernhard Holzmayer - 2004-03-12 02:25:00



Hamid wrote:

> Hi All
> 
> I have a DSK6416 board and I have an application including two SWI
> and one HWI,
> after running the main function and passing the control of
> algorithm to the DSP/BIOS, after some time , it gets back to the
> main function and I don't understand why?
> 
> I have checked for stack overflow and it doesn't seem to be the
> problem .
> 
> I appreciate any idea.
> 
> Regards , Hamid

The task which the DSP/BIOS performs uses registers and/or system 
flags which might get into a conflict with those the interrupts 
use. 
This is even more possible, if the interrupts can nest (interrupt 
called during another interrupt is serviced).
Most critical moments are those during entry and/or exit of an 
interrupt.

If a register and/or flag is modified unexpectedly, and afterwards 
not adjusted properly or in time, this might result in an 
unexpected program flow.

When I watched such unexpected exits in my experience, this had 
almost always to do with such a reason.

DSP/BIOS and/or RTOS do often have emergency exits which lead to a 
proper termination if an error occurs.
Maybe there's some error variable or another indication which helps 
to find the reason. 
Otherwise, careful code reviews might reveal the reason.

Bernhard
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Urgent : quit from DSP/BIOS - Hamid - 2004-03-12 08:13:00

Dear Bernhard 

Thanks alot for your comments, I 'll go through my code to see if anything is wrong.

Regards , Hamid
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Urgent : quit from DSP/BIOS - 2004-03-14 00:52:00

h...@yahoo.com (Hamid) wrote:

>Hi All
>
>I have a DSK6416 board and I have an application including two SWI and
>one HWI,
>after running the main function and passing the control of algorithm
>to the DSP/BIOS, after some time , it gets back to the main function
>and I don't understand why?
>

I would have guessed some sort of software reset is being caused as
you go along, and you end up back in main(), just like startup.
Possibly from a write to a bad location, or something of this nature.
But it is hard to tell from this point of view.

Robert

( modify address for return email )

www.numbersusa.com
www.americanpatrol.com
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

questions about 6416 DSK - jerome - 2004-03-17 04:38:00

Hamid wrote:

> Hi All
> 
> I have a DSK6416 board and I have an application including two SWI and
> one HWI,
> after running the main function and passing the control of algorithm
> to the DSP/BIOS, after some time , it gets back to the main function
> and I don't understand why?
> 
> I have checked for stack overflow and it doesn't seem to be the
> problem .
> 
> I appreciate any idea.
> 
> Regards , Hamid

Hi Hamid,

I want to buy the same DSK as the one you use, and I would like to know 
about your opinion on it.
Have you been disturbed by the code size limitation of CCS? How do you 
simulate your code (do you use free trial of CCS)?
Generally speaking, what are your feedback about this DSK.

I am thinking of it for image processing application.

Thanks for your help,

Jerome.
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.