DSPRelated.com
Forums

Problems getting High-Speed RTDX to work in a DSP/BIOS program

Started by shehrzad_q2000 February 2, 2006
Has anyone in this group had any success getting HSRTDX to work 
within a DSP/BIOS program?  I am using this BlackHawk USB emulator, 
and I can get all of the various sample RTDX applications to work in 
HSRTDX mode, so long as they utilize the CSL and _not_ DSP/BIOS.  As 
soon as I switch over to DSP/BIOS, things don't work.  If I take the 
DSP/BIOS application and switch over to regular RTDX, it works.

So to switch over a DSP/BIOS program to use HSRTDX, all I'm doing is 
going to the DSP/BIOS Configuration Tool, expanding the I/O tree, 
expanding the RTDX tree, selecting the HSRTDX option, then saving, 
rebuilding and running.  Of course, I first ensure that RTDX is 
enabled from with CCS, and moreover in the RTDX configuration pane I 
see it switch to HS-RTDX.  I've tried continuous and non-continuous 
mode, to no avail.

I've tried importing intvecs.asm, enabling and disabling various 
interrupts, the works.  I am now stuck, and hence am asking for your 
help.  Please let me know if you have any ideas.

Regards,

Shehrzad Qureshi
www.squreshi.com
	
Hello Shehrzad,

What TCLK rate are you running??  If you let the
XDS560 'autorange' to the optimum frequency [which is
optimum for JTAG TCLK - not HSRTDX] sometimes HSRTDX
will not work. To get it working, start with the
'legacy clock' [10 mhz - you can always 'crank it up'
later].

You didn't mention what version of CCS that you have -
I believe that at least one version of CCS would save
your 'GUI config' but would not rebuild the CDB file
unless you left the Config window open while you
rebuilt.

mikedunn

--- shehrzad_q2000 <shehrzad_q2000@sheh...> wrote:

> Has anyone in this group had any success getting
> HSRTDX to work 
> within a DSP/BIOS program?  I am using this
> BlackHawk USB emulator, 
> and I can get all of the various sample RTDX
> applications to work in 
> HSRTDX mode, so long as they utilize the CSL and
> _not_ DSP/BIOS.  As 
> soon as I switch over to DSP/BIOS, things don't
> work.  If I take the 
> DSP/BIOS application and switch over to regular
> RTDX, it works.
> 
> So to switch over a DSP/BIOS program to use HSRTDX,
> all I'm doing is 
> going to the DSP/BIOS Configuration Tool, expanding
> the I/O tree, 
> expanding the RTDX tree, selecting the HSRTDX
> option, then saving, 
> rebuilding and running.  Of course, I first ensure
> that RTDX is 
> enabled from with CCS, and moreover in the RTDX
> configuration pane I 
> see it switch to HS-RTDX.  I've tried continuous and
> non-continuous 
> mode, to no avail.
> 
> I've tried importing intvecs.asm, enabling and
> disabling various 
> interrupts, the works.  I am now stuck, and hence am
> asking for your 
> help.  Please let me know if you have any ideas.
> 
> Regards,
> 
> Shehrzad Qureshi
> www.squreshi.com
>
	
Hi Mike,

Before I ran the experiment described below, the xdsprobe.exe utility reports
that "the frequency of the JTAG TCLK input is measured as 34.99 MHz".

Under the CCS Setup that had been using, the Connection Props tab stated that
the JTAG TCLK Frequency (MHz) was set to "Automatic with faster 35.0MHz
limit."  I tried changing this to "Automatic with faster 10.368MHz
limit", and ran my CSL program to make sure that HSRTDX still worked within
that context (it did).  Next I then tried my extremely simple DSP/BIOS app and
attempted to get it to work using HSRTDX.  I am using CCS v3.1 (Platinum
edition), and made sure that the .cdb file was closed and performed a build
clean before rebuilding and running the DSP/BIOS app.  No such luck getting this
to work.

Thanks for the suggestions,

-SQ
What TCLK rate are you running??  If you let the
XDS560 'autorange' to the optimum frequency [which is
optimum for JTAG TCLK - not HSRTDX] sometimes HSRTDX
will not work. To get it working, start with the
'legacy clock' [10 mhz - you can always 'crank it up'
later].

You didn't mention what version of CCS that you have -
I believe that at least one version of CCS would save
your 'GUI config' but would not rebuild the CDB file
unless you left the Config window open while you
rebuilt.

mikedunn

--- shehrzad_q2000  wrote:

> Has anyone in this group had any success getting
> HSRTDX to work 
> within a DSP/BIOS program?  I am using this
> BlackHawk USB emulator, 
> and I can get all of the various sample RTDX
> applications to work in 
> HSRTDX mode, so long as they utilize the CSL and
> _not_ DSP/BIOS.  As 
> soon as I switch over to DSP/BIOS, things don't
> work.  If I take the 
> DSP/BIOS application and switch over to regular
> RTDX, it works.
> 
> So to switch over a DSP/BIOS program to use HSRTDX,
> all I'm doing is 
> going to the DSP/BIOS Configuration Tool, expanding
> the I/O tree, 
> expanding the RTDX tree, selecting the HSRTDX
> option, then saving, 
> rebuilding and running.  Of course, I first ensure
> that RTDX is 
> enabled from with CCS, and moreover in the RTDX
> configuration pane I 
> see it switch to HS-RTDX.  I've tried continuous and
> non-continuous 
> mode, to no avail.
> 
> I've tried importing intvecs.asm, enabling and
> disabling various 
> interrupts, the works.  I am now stuck, and hence am
> asking for your 
> help.  Please let me know if you have any ideas.
> 
> Regards,
> 
> Shehrzad Qureshi
> www.squreshi.com
>
	
SQ,

What is your target DSP??

When you start your app and then stop it, do you see a
small amount of RTDX data??

I assume that you are testing with a debug build -
correct??

If you have a small/simple test case, could you post
the project??

mikedunn
--- Shehrzad Qureshi <shehrzad_q2000@sheh...> wrote:

> Hi Mike,
> 
> Before I ran the experiment described below, the
> xdsprobe.exe utility reports that "the frequency of
> the JTAG TCLK input is measured as 34.99 MHz".
> 
> Under the CCS Setup that had been using, the
> Connection Props tab stated that the JTAG TCLK
> Frequency (MHz) was set to "Automatic with faster
> 35.0MHz limit."  I tried changing this to "Automatic
> with faster 10.368MHz limit", and ran my CSL program
> to make sure that HSRTDX still worked within that
> context (it did).  Next I then tried my extremely
> simple DSP/BIOS app and attempted to get it to work
> using HSRTDX.  I am using CCS v3.1 (Platinum
> edition), and made sure that the .cdb file was
> closed and performed a build clean before rebuilding
> and running the DSP/BIOS app.  No such luck getting
> this to work.
> 
> Thanks for the suggestions,
> 
> -SQ
> What TCLK rate are you running??  If you let the
> XDS560 'autorange' to the optimum frequency [which
> is
> optimum for JTAG TCLK - not HSRTDX] sometimes HSRTDX
> will not work. To get it working, start with the
> 'legacy clock' [10 mhz - you can always 'crank it
> up'
> later].
> 
> You didn't mention what version of CCS that you have
> -
> I believe that at least one version of CCS would
> save
> your 'GUI config' but would not rebuild the CDB file
> unless you left the Config window open while you
> rebuilt.
> 
> mikedunn
> 
> --- shehrzad_q2000  wrote:
> 
> > Has anyone in this group had any success getting
> > HSRTDX to work 
> > within a DSP/BIOS program?  I am using this
> > BlackHawk USB emulator, 
> > and I can get all of the various sample RTDX
> > applications to work in 
> > HSRTDX mode, so long as they utilize the CSL and
> > _not_ DSP/BIOS.  As 
> > soon as I switch over to DSP/BIOS, things don't
> > work.  If I take the 
> > DSP/BIOS application and switch over to regular
> > RTDX, it works.
> > 
> > So to switch over a DSP/BIOS program to use
> HSRTDX,
> > all I'm doing is 
> > going to the DSP/BIOS Configuration Tool,
> expanding
> > the I/O tree, 
> > expanding the RTDX tree, selecting the HSRTDX
> > option, then saving, 
> > rebuilding and running.  Of course, I first ensure
> > that RTDX is 
> > enabled from with CCS, and moreover in the RTDX
> > configuration pane I 
> > see it switch to HS-RTDX.  I've tried continuous
> and
> > non-continuous 
> > mode, to no avail.
> > 
> > I've tried importing intvecs.asm, enabling and
> > disabling various 
> > interrupts, the works.  I am now stuck, and hence
> am
> > asking for your 
> > help.  Please let me know if you have any ideas.
> > 
> > Regards,
> > 
> > Shehrzad Qureshi
> > www.squreshi.com
> > 
> 
> 
> 
> 
> 
> 
> 
>     c6x-unsubscribe@c6x-...
> 
>  
> 
> 
>