DSPRelated.com
Forums

Problem in Seeing Register Contents

Started by chawla_abhimanyu February 22, 2008
Sirs,

My Univ has bought ADSP 2181 EZ KIT LITE recently.
I have studied the architechture and the instruction set of 2181
But I'm having a problem while running the code in VDSP++3.5
I'm unable to see the contents of the registers bot in single step
mode and in full run
Here is the simple code im trying to run:

#include "def2181.h"
.SECTION/PM seg_addition;
start:
ax0=0x0001;
ay0=0x0002;
ar=ax0+ay0;

start.end:
idle;
I have used the ldf provided by Analog Devices as well as i created
it for this code too.
The project is built successfully but it doesnt show register
contents getting updated in single step mode
And in total run too the code keeps on running and finally if I halt
it manually, the register contents remain the same as before the
starting of code.
I plan to design some simple FIR filters on the kit based on
the "Talk-Thru" program provided by AD (which runs ok, indicating
that the kit is working fine).
Thanks.
Abhimanyu Chawla