DSPRelated.com
Forums

SDTSRV to load DSP or program Flash via JTAG

Started by sku...@ptgrey.com June 12, 2008
Has anyone tried using Spectrum Digital's SDTSRV library? I downloaded SDXMLGUI from Spectrum Digital and the example code is supposed to illustrate how one can load a DSP (and program Flash) via the SDTSRV library without having to go through CCS. Unfortunately, I'm having problems getting past the Connect() API function call.

I've tried contacting Spectrum Digital but they aren't responding.

Thanks.
sku,

On Thu, Jun 12, 2008 at 2:41 PM, wrote:
> Has anyone tried using Spectrum Digital's SDTSRV library? I downloaded
> SDXMLGUI from Spectrum Digital and the example code is supposed to
> illustrate how one can load a DSP (and program Flash) via the SDTSRV library
> without having to go through CCS. Unfortunately, I'm having problems getting
> past the Connect() API function call.

I am not familiar with the kit, but I will try...

Does the API have an 'int' function?? Does it return properly??

Are you required to supply some sort of text configuration file?? Is
this the same as used by CCS?? If not, or if you do not know, please
post the file contents. The majority of 'connect problems' are
configuration related.

What do you have to pass with the connect API?? I suspect that one of
the parameters is '**ppsomeHandle".

mikedunn
>
> I've tried contacting Spectrum Digital but they aren't responding.
>
> Thanks.

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
sku,

Do you have c28Fxx device??

If not, did you read the instructions?? This utility appears to be
intended to program the internal flash on c28Fxx devices.

mikedunn

On Thu, Jun 12, 2008 at 3:30 PM, Michael Dunn wrote:
> sku,
>
> On Thu, Jun 12, 2008 at 2:41 PM, wrote:
>> Has anyone tried using Spectrum Digital's SDTSRV library? I downloaded
>> SDXMLGUI from Spectrum Digital and the example code is supposed to
>> illustrate how one can load a DSP (and program Flash) via the SDTSRV library
>> without having to go through CCS. Unfortunately, I'm having problems getting
>> past the Connect() API function call.
>
> I am not familiar with the kit, but I will try...
>
> Does the API have an 'int' function?? Does it return properly??
>
> Are you required to supply some sort of text configuration file?? Is
> this the same as used by CCS?? If not, or if you do not know, please
> post the file contents. The majority of 'connect problems' are
> configuration related.
>
> What do you have to pass with the connect API?? I suspect that one of
> the parameters is '**ppsomeHandle".
>
> mikedunn
>>
>> I've tried contacting Spectrum Digital but they aren't responding.
>>
>> Thanks.
>>
>> --
> www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
>

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
Hi Mike. Yes, I read the instructions and SDTI API documentation. I downloaded the SDXMLGUI v1.1 distribution for the C6x family here:

http://emulators.spectrumdigital.com/utilities/sdxmlgui/

I've modified the configuration files and am using a EVMDM6437. I also have a DM64x that I could try but haven't yet. I have an old C6416 TEB (silicon revision 1.01) but am not going to bother trying that since that silicon revision is not supported by the 1.1 drivers, etc.

I'm reading through your blog and trying a few things. I'll send along the configuration files I'm using shortly.

Thanks,

-Shyan
-----Original Message-----
From: Michael Dunn [mailto:m...@gmail.com]
Sent: Thursday, 12 June 2008 13:41
To: Shyan Ku
Cc: c...
Subject: Re: [c6x] SDTSRV to load DSP or program Flash via JTAG

sku,

Do you have c28Fxx device??

If not, did you read the instructions?? This utility appears to be intended to program the internal flash on c28Fxx devices.

mikedunn
Hi Mike. I just tried using a DM64x and am able to connect. I'll try loading the DSP now...

-Shyan
Shyan,

Sorry about that [the 'did you RT?M' thing]. my search only turned up
the C2000 stuff [or that's all that i saw].

Good Luck. Let us know how things work out [I've never seen the tool,
but it looks like it could be interesting].

mikedunn

On Thu, Jun 12, 2008 at 4:29 PM, Shyan Ku wrote:
> Hi Mike. I just tried using a DM64x and am able to connect. I'll try loading the DSP now...
>
> -Shyan
>

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
Mike, FYI I was able to get the SDTSRV example app working with the DM64x. Was able to connect, dump registers, and load/run a program. I haven't tried Flash programming yet. I'll try to get things working with the DM643x first.

-Shyan
Hi all. Just an FYI that I was successful in loading/running a program on a C6x DSP (DM64x and DM643x) using only the Spectrum Digital emulator and their SDTSRV library. Just had to make sure my board (.dat) file was right. I haven't looked at the Flash programming stuff yet, but I expect it to be fairly straightforward.

If someone is looking for a simple way to load the DSP or program Flash without going through CCS this is one option, though their emulators are a tad more expensive than their competitors'.

-Shyan