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

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | Analog Devices DSPs | How to print a register in the Console screen in VDSP++

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

  

Post a new Thread

How to print a register in the Console screen in VDSP++ - feli...@gmail.com - Jul 26 8:45:05 2007



Hi, I'm doing a College project with Visual DSP++ 3.5/4.5 and I have to know how to print
the content of a register in the "Console" screen of the "Output Windows"
of VDSP++

Does anyone know how to do it?

Any help will be great
Thanks

Felipe Hummel



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

Re: How to print a register in the Console screen in VDSP++ - "gary.guo" - Jul 26 11:41:00 2007

If you want to print the content of MMR, you can simplly adding this 
code: "printf("%x", *pMMR_name);"
If you want to print the content of general registers, use assembly 
code to do this job.

--- In a...@yahoogroups.com, felipehummel@... wrote:
>
> Hi, I'm doing a College project with Visual DSP++ 3.5/4.5 and I have 
to know how to print the content of a register in the "Console" screen 
of the "Output Windows" of VDSP++
> 
> Does anyone know how to do it?
> 
> Any help will be great
> Thanks
> 
> Felipe Hummel
>



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

Re: How to print a register in the Console screen in VDSP++ - Murat Artun - Jul 26 11:41:41 2007

Simply read the register with "sysreg_read" and then "printf" the
value.

f...@gmail.com wrote:                                  Hi, I'm doing a College project with
Visual DSP++ 3.5/4.5 and I have to know how to print the content of a register in the
"Console" screen of the "Output Windows" of VDSP++
 
 Does anyone know how to do it?
 
 Any help will be great
 
 Thanks
 
 Felipe Hummel

-- 
M u r a t    A r t u n, MSc.
    Design Engineer

"be conservative in what you do, be liberal in what you accept from others"
       
---------------------------------
Pinpoint customers who are looking for what you sell. 


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