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
|
|
ADSP-2181 programming
Started by ●September 21, 1999
Reply by ●September 21, 19991999-09-21
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 |
|
Reply by ●October 20, 19991999-10-20
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 > > |