Forums

Data Page Pointer (DP Register), TMS320VC33 DSP

Started by n.wa...@ulster.ac.uk January 10, 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).
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... [mailto:c...] On
> Behalf Of n...@ulster.ac.uk
> Sent: Wednesday, January 10, 2007 7:21 AM
> To: c...
> 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).
>