Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Sponsor

Evaluate multicore with Texas Instruments:
Low-cost evaluation module & free software development kit available NOW.

Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Analog Devices DSPs | C, ASM and Kalman filter

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

C, ASM and Kalman filter - dipi...@centrum.cz - Oct 24 23:44:09 2006

Hi everyone, 

I'm new to programming DSPs, however wiling to learn new. Currently I work
with ADSP2189M in VisualDSP++ 3.0 Enviroment. I started with Assembler and
created simple interface for ADSP2189M. My aim is to implement a Kalman
filter. Although I have an optimized C code for Kalman filter
unfortunatelly rest of my project is in Assebmler. I have no idea how to
implement a C code procedures into Assembler prgram. Rewriting the whole program
in C would be very time consuming for me. Please is there any .pdf or tutorial
somewhere describing how to implement C functions into asssembler code? How it
can be done in VisualDSP++ 3.0? May be a trick with compiler, I do not know ...
It would help me very much. 

Thanks to you all

______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: C, ASM and Kalman filter - Mike Rosing - Oct 25 10:10:46 2006

On Tue, 24 Oct 2006 d...@centrum.cz wrote:

> Hi everyone,
>
> I'm new to programming DSPs, however wiling to learn new. Currently I work
> with ADSP2189M in VisualDSP++ 3.0 Enviroment. I started with Assembler and
> created simple interface for ADSP2189M. My aim is to implement a Kalman
> filter. Although I have an optimized C code for Kalman filter
> unfortunatelly rest of my project is in Assebmler. I have no idea how to
> implement a C code procedures into Assembler prgram. Rewriting the
>whole program in C would be very time consuming for me. Please is there
>any .pdf or tutorial somewhere describing how to implement C functions
>into asssembler code? How it can be done in VisualDSP++ 3.0? May be a
>trick with compiler, I do not know ... It would help me very much.
>
> Thanks to you all

there should be an option to create assembler output from the compiler.
It is usually -s or -S on a command line.  See if you can create a make
file and execute it by hand, or modify the options line in the VDSP
environment (somebody here should know how to do that).

There is also a way to interface assembler and C.  The linker manual
should explain that.

So it should be possible to use what you already have without that much
effort.  It's just setting things up so the software is happy!

Patience, persistence, truth,
Dr. mike

______________________________
StarterWare provides C-based no-OS platform support for the C6000 DSP devices.
Click here for details.




(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )