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

Discussion Groups

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

  

Post a new Thread

ADI TCL Script - jaime_aranguren - Jan 18 4:38:00 2003



Hello,

I am experiencing porblems with the command "dspgetmemblock", with
ADI's TCL scritping utility, like this:

set dm [lindex [lindex [dspgetmeminfo] 1] 0]
set mainVolAddress [dsplookupsymbol -memory $dm mainVol]
set mainVol [dspgetmemblock $dm $mainVolAddress 2 -format float]
puts $mainVol

I get this message:
unknown failure 0x80047290
while executing
"dspgetmemblock $dm $mainVolAddress 2 -format float"
invoked from within
"set mainVol [dspgetmemblock $dm $mainVolAddress 2 -format
float]"
(file "C:\Jaime\SharcDSPs\Ez_21160
\Projects\EqualDSP\Scripts\TestReverb.tcl" line 5)
invoked from within
"source "C:\\Jaime\\SharcDSPs\\Ez_21160
\\Projects\\EqualDSP\\Scripts\\TestReverb.tcl""

The problem is with the "-format float" field. If I just use "-format
Hexadecimal" or simply omit it, it works flawlessly. However, I need
the values in float format. I am working with ADSP-21160M,
VisualDSP++ 2.0 for 21xxx on Win98SE

Thanks a lot in advance.

JaaC




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