USB low-full-high speed peripherals Forum Discussions
Hi, I met a strange problem: I wrote a little software by visual studio, in this software, I read desk file and send it into cy68013a chip. In the beginning, transfer is right. But after several transfer, I can only receive 00 and 01 value, whatever to send. I think it may be the driver problem, do you have any idea to solve it?
Thanks a lot!
luchang
Show LessHello,
Does anybody experienced the use of NX2LP-Flex with Android ? We plan to use it in our board, and since this seems not to be a problem with Windows, it should works flawessly with Android, given the final device can handle USB host.
But i can't find any experience feedback about it. We plan to create an UMS based-driver with custom features (including I2C, GPIOs), first for Windows, then for Android.
As actually i'm not exactly seeing the constraints of the NX2LP-flex, i want to be sure we don't need ie a vendor DLL or anything that would make it not working.
Thank you
Show LessHallo,
please I need your help !!
I am trying to flash the AD5934 evaluation board which is based on the CY7C68013 ( FX2) under LINUX. for that I am using cyusb_linux_1.0.4, I am calling the function as:
static char filename[18] = "./AD5933_34FW.hex";
extension = strtoul("0xA0", NULL, 16);
cyusb_download_fx2(dev_handle, filename, extension);
The function gets executed without any error but i can not communicated with the board. If I flash it under Windows, the board works fine.
I tried to flash it with: fxload -v -t fx2 -D /dev/bus/usb/005/022 -I AD5933_34FW.hex --> But the result is the same, I could not communicate with it.
Any help please
Regards
Abdelghani
Hi,
Hi,
I am using Windows 7 x64 operating system and cy7c80 controller device with FPGA.So far I have been able to successfully adapt Streamer example and use bulk endpoint.
The problem I am facing at the moment is that I am unable to perform control endpoint transfers using CyAPI.
I have been following the example from CyAPI Programmer's reference :
I'm trying to write the CY7C68013 registry through the control endpoint using ReqCode 0xA0. My purpose is to enable the slave FIFOs without programming the 8051. For some reason the following code doesn't work. Reading the register 0xE600 always produces 176 (0xB0). Writing to other areas of the RAM seems to work, e.g. writing to address 0, the written value is retained. Is there something missing from the code?
#include "stdafx.h"
#include <Windows.h>
#include <conio.h>
#include "CyApi.h"
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
CCyUSBDevice * usb = new CCyUSBDevice(NULL);
usb->Open(0);
UCHAR cpucs = 0;
usb->ControlEndPt->Target = TGT_DEVICE;
usb->ControlEndPt->ReqType = REQ_VENDOR;
usb->ControlEndPt->ReqCode = 0xA0;
usb->ControlEndPt->Value = 0xE600;
usb->ControlEndPt->Index = 0;
LONG len = 1;
usb->ControlEndPt->Read(&cpucs, len);
cout << "CPUCS: " << (int)cpucs << " " << len << "\n";;
cout << "Clock:" << (((int)cpucs >> 3) & 3) << "\n";
Sleep(1000);
cpucs = 0x1;
usb->ControlEndPt->Write(&cpucs, len);
delete usb;
cout << "Done\n";
_getch();
return 0;
}
Checkout Cypress's 4 th generation, Ultra low power,high data rate RF transceiver.
Hi,
I am using Windows 7 x64 operating system and cy7c80 controller device with FPGA.I have been able to successfully implement UVC-compliant driver and the next task is building custom class for the video signal.
The host application is compiled by VS2010 SP1.
Also,I have succeeded to implement sort of small test application using CYAPI Streamer example (I am using the latest Cypress USB suite, 3.4.7),in which I have been able to achieve optimal speed and perform desired operations with received data.The problems occur,when I am going to the next stage and that is design the GUI according to my needs and here I face enormous obstacles:
1)Once I try to change Streamer application window form design (even the smallest change) ,several files are stripped off their "Read only" status (I think the most important is Resource.resX) and then ,the hell breaks loose - I got around 90 (!) compilation errors.Doing some tricks such as changing CLR support and adding #include <wtypes.h> and <gdt.h>,that were mentioned in obsolete cypress application note on CyAPI does not help, and I must fallback to previously saved (and untoched) backup copy.Obviously ,using Streamer example as starting point and then tweaking it to my application needs is not a possibility (unless you could provide me some workaround).
2)After abandoning the Streamer basic option , I have tried working around the problem ,by creating a fresh CLR (C++ WinForms ) application from scratch and then adding CyAPI headers.
After another torture with compilation errors and playing around with including header files and playing with CLR support I have been able to get compilation-errors free application.But then I have encountered a very critical compilation error,which at this point is a blocking error:
I have tried to create a CCyUSBDevice instance using the following simple line of code :
CCyUSBDevice *USBDevice = new CCyUSBDevice(NULL);
and I get the following linker errors :