AnsweredAssumed Answered

USB_IO example doesn't work when booted from flash

Question asked by Mandel on Mar 26, 2012
Latest reply on Mar 28, 2012 by Mandel

Hi!

 

1. Description, 9. EZ-KIT Information

I have an ADZS-21489-EZBRD (BOM rev 1.8, silicon rev 0.2) with an USB EZ-Extender Board (ADZS-BFSHUSB-EZEXT) connected to VisualDSP++ 5.0.10.0 via Debug Agent (ADZS-SADA2-BRD, rev 1.1).

 

The USB_IO code example provided with VisualDSP++ (...\VisualDSP 5.0\214xx\Examples\USB EZ-EXTENDER\USB_IO) works fine when loaded to the DSP using a debug session. But when i try to run this (original/unchanged) example code from parallel flash, it fails.

 

2. Test Case

I use this kernel, driver and settings to generate the loader file:

  • 489_prom.dxe, Release Build for any processor revision
  • 21489EzFlashDriver_Parallel.dxe, Debug Build for any processor revision
  • 21489_usbio.ldr, ReleaseBuild for any processor revision
    • Project : General : Revision: any
    • Project : General :Type: Loader File
    • Project : Load : General: default settings (Parallel port, hex, 8-bit)

 

There is no error message or warning while flashing. The device programmer says "Program complete". After disconnecting the VisualDSP-session and resetting the board, it is correctly detected by the windows device manager (SHARC USB ET-EXTENDER powered by the SHARC-21489). hostapp.exe -a reports "Detected 1 Sharc USB device". But any further commands e.g. hostapp.exe -v fail.

 

The DSP seems to hang in the adi_net2272_IRQ_routine (adi_net2272.c).

 

Can anyone give some helpful hints to find a solution for this issue?

 

4. ADI Software Version Information (ProductInfo.html)

 

Product Name:VisualDSP++ 5.0 Update 10
Product Version:5.0.10.0
Registered User:user
Company:company
IDDE Version:8.0.7.15
IDDE Build Date:Jul 5 2011
Installation Directory:C:\Program Files (x86)\Analog Devices\VisualDSP 5.0
Operating System:Microsoft Windows Vista
OS Version:6.1 (Build 7600)

 

Correct OS version is Windows 7 Enterprise x64.

 

5. Target processor

ADSP-21489

 

6. Session

Debug Agent (ADZS-SADA2-BRD) or ADZS-HPUSB-ICE

 

7. RTOS

no

 

8. License

KIT

 

 

Best regards, Gerd.

Outcomes