Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
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______________________________
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______________________________