Sign in

username:

password:



Not a member?

Search c3x



Search tips

Subscribe to c3x



c3x by Keywords

Boot | C31 | TMS320VC33 | VC33

Ads

Discussion Groups

Discussion Groups | TMS320C3x | Data Page Pointer (DP Register), TMS320VC33 DSP

Technical discussions about the TI C3x DSPs (including the C31, C32 and C33 DSPs).

  

Post a new Thread

Data Page Pointer (DP Register), TMS320VC33 DSP - n.wa...@ulster.ac.uk - Jan 10 8:56:26 2007



Hello everyone,

I am currently trying to debug a TMS320VC33 DSP target (my own design) board with the help of
the XDS510PP (Plus) emulator and Code Composer (version 4.10.36). I have downloaded the
relevant drivers from the Spectrum Digital website and have established communications between
the XDS510PP emulator and the target board, i.e. I can load and step through code as expected.

My problem is with the DP register. I have included an instruction (LDP 80h,DP or LDIU 80h,DP)
in the code to change the contents of the DP register to 80h. This instruction executes but
leaves the contents of the DP register unchanged, i.e. 0x00000000. If I go and try to manually
edit the contents of the DP register using the "Edit Register" menu function on Code
Composer it comes up with the following message:

--------------------------------------------
Error
Invalid Input for Register "DP = 0x00000080"
Enter a value in the range 0..0x0
--------------------------------------------

The other register are behaving as expected and the problem only appears to be with this
register. It is almost like it is locked to the value zero. Has anybody else experienced any
problems like this?

Thanks for any help.

Niall.

P.S. 
I am using the C3X Assembly Language Tools to write and link my code. 
My computer is running Windows 2000 (Service Pack 4).



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

RE: Data Page Pointer (DP Register), TMS320VC33 DSP - Bill Finger - Jan 11 8:21:04 2007

Niall,

Have you tried this syntax for LDP?

LDP @800000
 
Also, isn't DP set to 80 on reset?  Does that work for you?  How about
POP DP?

Bill

PS: I have nearly the exact same setup.
> -----Original Message-----
> From: c...@yahoogroups.com [mailto:c...@yahoogroups.com] On 
> Behalf Of n...@ulster.ac.uk
> Sent: Wednesday, January 10, 2007 7:21 AM
> To: c...@yahoogroups.com
> Subject: [c3x] Data Page Pointer (DP Register), TMS320VC33 DSP
> 
> Hello everyone,
> 
> I am currently trying to debug a TMS320VC33 DSP target (my 
> own design) board with the help of the XDS510PP (Plus) 
> emulator and Code Composer (version 4.10.36). I have 
> downloaded the relevant drivers from the Spectrum Digital 
> website and have established communications between the 
> XDS510PP emulator and the target board, i.e. I can load and 
> step through code as expected.
> 
> My problem is with the DP register. I have included an 
> instruction (LDP 80h,DP or LDIU 80h,DP) in the code to change 
> the contents of the DP register to 80h. This instruction 
> executes but leaves the contents of the DP register 
> unchanged, i.e. 0x00000000. If I go and try to manually edit 
> the contents of the DP register using the "Edit Register" 
> menu function on Code Composer it comes up with the following message:
> 
> --------------------------------------------
> Error
> Invalid Input for Register "DP = 0x00000080"
> Enter a value in the range 0..0x0
> --------------------------------------------
> 
> The other register are behaving as expected and the problem 
> only appears to be with this register. It is almost like it 
> is locked to the value zero. Has anybody else experienced any 
> problems like this?
> 
> Thanks for any help.
> 
> Niall.
> 
> P.S. 
> I am using the C3X Assembly Language Tools to write and link my code. 
> My computer is running Windows 2000 (Service Pack 4).
>



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