AnsweredAssumed Answered

Vendor Request function returning unknown error value.

Question asked by Mdfreitas on May 16, 2012
Latest reply on Jun 5, 2012 by musach

I've writen a simple C++ program to communicate with the Evaluation Board for the AD5934.


What it basically does is run trough the functions available on the ADI_CYUSB_USB4.dll found on this page:

The problem is that the function "Vendor Request" is returning an error value and I have no clue what it means.

I've searched for more docummentation on the .dll functions and found none.


Does anyone know what those values mean?


This is the output of the program, when running with the board:


Search For Boards: 0

Num Boards: 1

PartPath: 1

Connect: 0

Handle: 228

Downloanding Firmware: "C:\<full_path>\AD5933_34FW.hex"

ERROR: Vendor Request Error - 2686792

Disconnect: 2001



Another question. Is it really necessary to always download the firmware to the board on the initialization routine of the program?


The code is attached to the thread.