DSPRelated.com
Forums

DSK5509A fails diagnostics and CCS 3 cannot connect

Started by Soun...@Sounds.wa.com October 21, 2010
I just received a Spectrum Digital DSK 5509A, but the Emulator seems terribly broken.

I have not been able to get the 5509A DSK Diagnostics Utility v3.1 to pass more than once. At first, I didn't realize that two USB cables had to be attached (emulator and target DSP), but I quickly figured that one out. I did get the diagnostics to pass once, but I have not been able to repeat this. I even installed on a second computer and used different USB cables, but no luck. It just hangs up on the USB test.

Moving on to CCS, I can't run the 5509A DSK CCStudio v3.1 program and successfully connect to the DSK. On one machine it's so bad that CCS won't even launch, complaining about a broken 5510 driver file. On the second machine, I can launch CCS, but it still won't connect.

In both cases, the BUSY LED in the Emulator section turns on and gets stuck that way. Normally, at least during USB enumeration, the BUSY LED only briefly and faintly flickers.

What's the deal here? Does the DSK Emulator even work? I have been able to access the 5509A using another XDS510-USB2.0 Emulator from CCSv4, but I would expect the built-in DSK Emulator to work with the included CCS3.
Brian-

I'm confused by the "2 cable" requirement -- I've never seen that before on a DSK board. Is this just for DSK 5509 only?

Can you send a link (or maybe a simple ASCII text diagram) that gives a fast overview of why there are two USB cables,
and which one does what.

Thanks.

-Jeff

> I just received a Spectrum Digital DSK 5509A, but the Emulator seems terribly broken.
>
> I have not been able to get the 5509A DSK Diagnostics Utility v3.1 to pass more than once. At first, I didn't realize
> that two USB cables had to be attached (emulator and target DSP), but I quickly figured that one out. I did get the
> diagnostics to pass once, but I have not been able to repeat this. I even installed on a second computer and used
> different USB cables, but no luck. It just hangs up on the USB test.
>
> Moving on to CCS, I can't run the 5509A DSK CCStudio v3.1 program and successfully connect to the DSK. On one machine
> it's so bad that CCS won't even launch, complaining about a broken 5510 driver file. On the second machine, I can
> launch CCS, but it still won't connect.
>
> In both cases, the BUSY LED in the Emulator section turns on and gets stuck that way. Normally, at least during USB
> enumeration, the BUSY LED only briefly and faintly flickers.
>
> What's the deal here? Does the DSK Emulator even work? I have been able to access the 5509A using another
> XDS510-USB2.0 Emulator from CCSv4, but I would expect the built-in DSK Emulator to work with the included CCS3.
The Spectrum Digital DSK5509A actually has 3 USB jacks!

1 USB mini jack is for the embedded Emulation port
1 USB B jack is connected to the target 5509A chip to support writing and testing your own USB firmware for the DSP
1 USB B jack is connected to National Instruments power measurement device circuitry, so that you can measure the current usage of the 5509A as peripherals are activated or shut down, and as code execution and/or clock speed increase or decrease.

So, what the diagnostics are doing is testing the USB port that is attached to the 5509A chip, which requires both the USB mini cable for Emulation and the USB B cable for the port that is under test. After the diagnostics test the USB port, they go on to test the SRAM, Flash, and other peripherals that are directly connected to the target 5509A. As I mentioned, I did have all tests pass exactly once, but never since.

I think the best link to explain the hardware would be found on page 1-2 of http://c5000.spectrumdigital.com/dsk5509a/files/dsk5509a_TechRef.pdf