Reply by mail...@gmail.com February 17, 20142014-02-17
hi,

it is not a build error. it is a run time error..
hi,
>
>i've written a source code in c language. the platform used is adsp 21062 of the sharc family.
>
>after the build is complete while running the program it is showing
>
>" PC,DADDR, or FADDR holds an invalid address"
>
>it is pointing to the cursor towards the variables / arrays that have been initialized to some value.
>
>can you please resolve this problem
>
>regards,
>phani tej
>
>_____________________________________

_____________________________________
Reply by Mike Rosing February 14, 20142014-02-14
No that should not be a problem. The header files are a good way to do
things. It sounds like a run time error, not a build error?

On Fri, 14 Feb 2014, m...@gmail.com wrote:

> hi Dr.Mike,
>
> my project in visual dsp consists of 3 source files the main function calling the other two functions. so i included header files with .h extension in the main program.will that pose a problem.?
>
> to check with the initialization problem i've created another sample
scrambler function which also has initial state and data initialized. the output is printed without any build errors.
>
> hi,
>>
>> i've written a source code in c language. the platform used is adsp 21062 of the sharc family.
>>
>> after the build is complete while running the program it is showing
>>
>> " PC,DADDR, or FADDR holds an invalid address"
>>
>> it is pointing to the cursor towards the variables / arrays that have been initialized to some value.
>>
>> can you please resolve this problem
>>
>> regards,
>> phani tej
>>
>> _____________________________________
>>
>

_____________________________________
Reply by mail...@gmail.com February 14, 20142014-02-14
hi Dr.Mike,

my project in visual dsp consists of 3 source files the main function calling the other two functions. so i included header files with .h extension in the main program.will that pose a problem.?

to check with the initialization problem i've created another sample scrambler function which also has initial state and data initialized. the output is printed without any build errors.

hi,
>
>i've written a source code in c language. the platform used is adsp 21062 of the sharc family.
>
>after the build is complete while running the program it is showing
>
>" PC,DADDR, or FADDR holds an invalid address"
>
>it is pointing to the cursor towards the variables / arrays that have been initialized to some value.
>
>can you please resolve this problem
>
>regards,
>phani tej
>
>_____________________________________

_____________________________________
Reply by Mike Rosing February 13, 20142014-02-13
It sounds like your code has jumped into data.
If the program counter (PC) has the value of one of your initialized data,
then you some how managed to load the PC with that address. If you can,
step through the program and figure out what line of code caused that to
happen.

Once you see it, it will be simple to fix.

Patience, persistence, truth,
Dr. mike

On Thu, 13 Feb 2014, m...@gmail.com wrote:

> Date: Thu, 13 Feb 2014 04:12:47 -0500
> From: m...@gmail.com
> To: a...
> Subject: [adsp] visual dsp ++ 5.0
>
> hi,
>
> i've written a source code in c language. the platform used is adsp 21062 of the sharc family.
>
> after the build is complete while running the program it is showing
>
> " PC,DADDR, or FADDR holds an invalid address"
>
> it is pointing to the cursor towards the variables / arrays that have been initialized to some value.
>
> can you please resolve this problem
>
> regards,
> phani tej
>

_____________________________________
Reply by mail...@gmail.com February 13, 20142014-02-13
hi,

i've written a source code in c language. the platform used is adsp 21062 of the sharc family.

after the build is complete while running the program it is showing

" PC,DADDR, or FADDR holds an invalid address"

it is pointing to the cursor towards the variables / arrays that have been initialized to some value.

can you please resolve this problem

regards,
phani tej

_____________________________________