DSPRelated.com
Forums

ADSP-2181 programming

Started by V.Harikrishna September 21, 1999
Hi,
 
 I need information about s/w simulator. I want to fill an array of fixed locations from a file at every breakpoint while the program is running. Can I write some scripts and read and write memory locations, and dump them in a file?
 
- Hari
 



hello,

On Tue, 21 Sep 1999, V.Harikrishna wrote:
> Hi,
> I need information about s/w simulator. I want to fill an array of
> fixed locations from a file at every breakpoint while the program is
> running. Can I write some scripts and read and write memory locations,
> and dump them in a file?
>
> - Hari

i can only talk about the VisualDSP tools for the 21xxx series: you can
dump from/to file, but i haven't seen a way to do scripting yet. you have
to do it manually or you can use the stdio. yes you can use "printf",
"fwrite", "fread" etc. in your code and the simulator/emulator redirects
it to the PC's harddisk. haven't used it too much though.

Michael

--
Michael Haertl



Hi,
You can dump into file by using Dump facility in VDSP debugger.
For fixed point you need to VDSP 6.x version.
For floating point you need to use VDSP 4.x version.

Both of these can co exist.
michael haertl <> wrote:
original article:http://www.egroups.com/group/adsp/?start)
> hello,
>
> On Tue, 21 Sep 1999, V.Harikrishna wrote:
> > Hi,
> > I need information about s/w simulator. I want to fill an array of
> > fixed locations from a file at every breakpoint while the program is
> > running. Can I write some scripts and read and write memory
locations,
> > and dump them in a file?
> >
> > - Hari
>
> i can only talk about the VisualDSP tools for the 21xxx series: you
can
> dump from/to file, but i haven't seen a way to do scripting yet. you
have
> to do it manually or you can use the stdio. yes you can use "printf",
> "fwrite", "fread" etc. in your code and the simulator/emulator
redirects
> it to the PC's harddisk. haven't used it too much though.
>
> Michael
>
> --
> Michael Haertl >
>