DSPRelated.com
Forums

Unknown Exception Occured

Started by path...@yahoo.com May 23, 2007
Hi,
I am working on G.729 in BF535 EZ-KIT. I have written the assembly code for convolution function. I enabled optimization in Project Option. If i run the code, i got Unknown exception occured and code is exit. If optimization is disabled, code working without error. Can anybody tell me where is the problem.
Also i am running the code with default .ldf file. I am not familiar in writing ldf. I am also used example ldf which was given by ADI. If i run with example ldf file i got error. So if anybody having ldf please send it to me.
On Wed, 23 May 2007 p...@yahoo.com wrote:

> Hi,
> I am working on G.729 in BF535 EZ-KIT. I have written the assembly code
>for convolution function. I enabled optimization in Project Option. If i
>run the code, i got Unknown exception occured and code is exit. If
>optimization is disabled, code working without error. Can anybody tell me
>where is the problem.

Usually that's an initialization problem. Go thru your code and set all
variables to zero (or some constant) with explicit lines of code. Most
likely it's an uninitialized pointer.

> Also i am running the code with default .ldf file. I am not familiar in
>writing ldf. I am also used example ldf which was given by ADI. If i run
>with example ldf file i got error. So if anybody having ldf please send
>it to me.

Definitly read the manual on that. It takes a little while, but it is
worth it in the long run.

Patience, persistence, truth,
Dr. mike
As an initial step on getting familiar with .ldf files take a look at the ADI online training modules located at:

http://www.analog.com/processors/blackfin/onlineTrainingModules.html

Particularly the "Basics of Building a Blackfin Application" module gives a nice overview about .ldf files.

HTH,

Chamira Perera.

Mike Rosing wrote: On Wed, 23 May 2007 p...@yahoo.com wrote:

> Hi,
> I am working on G.729 in BF535 EZ-KIT. I have written the assembly code
>for convolution function. I enabled optimization in Project Option. If i
>run the code, i got Unknown exception occured and code is exit. If
>optimization is disabled, code working without error. Can anybody tell me
>where is the problem.

Usually that's an initialization problem. Go thru your code and set all
variables to zero (or some constant) with explicit lines of code. Most
likely it's an uninitialized pointer.

> Also i am running the code with default .ldf file. I am not familiar in
>writing ldf. I am also used example ldf which was given by ADI. If i run
>with example ldf file i got error. So if anybody having ldf please send
>it to me.

Definitly read the manual on that. It takes a little while, but it is
worth it in the long run.

Patience, persistence, truth,
Dr. mike

---------------------------------
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.