USB low-full-high speed peripherals Forum Discussions
Hello,
I am performing fx2lp booting in c2load mode.eeprom used is not write protected means the WP pin is connected to ground(same as fx2lp dvk),it means i can load firmware to eeprom.but after firmware is loaded to eeprom,i want to do write protected to eeprom.how can i do this?
regadrs,
geetha.
Show LessHi,
I cannot get the GPIOs working on my CY7C65211. What I have is:
-a working device configured as I2C + PC side software
-GPIO 11 appearing as "unused" in the Configuration Tool
-GPIO 11 alternatively configured as Driven 0/Driven1/Tristate - no change
-Briefly tried other GPIO ports too
My code line:
cyret = CySetGpioValue(cyhandle, 11, 1);
always returns CY_ERROR_REQUEST_FAILED. 'cyhandle' is valid, e.g.
CySetI2Config() accepts it.
Is there some GPIO-specific initialisation I need to run?
Should GPIOs be usable when the device is in I2C mode?
Is there any example source code that drive GPIO?
I have thus far only tested on Linux with the latest CyUSB SDK (Feb. 6, 2016), Ubuntu 16.04.
thanks,
kalle
Show LessHi,
I have interfaced fx2lp with an image sensor in slavefifo mode.fx2lp is implemented in C2 load.Two eeprom devices are connected trhough i2c to fx2lp with same memory and different address.I have defined endpoint 6 for commiting image sensor data to USB and one more Endpoint 2 BULK IN.Through this endpoint 2,can i write and read data to another EEPROM(Called as data EEPROM),If i do this any disturbance in the endpoint 6 path?because i have to call functions in TD_POLL();please let me know?
thanks,
geetha.
Show LessHello,
i have interfaced fx2lp(cy7c68013A) with an image sensor.the hardware and firmware is working fine.is same firmware is works fine for fx2lp18 ?with hardware changes according into fx2lp18 datasheet.
regards,
geethanjali.
Show LessHello!
I've got a problem with the cyusb suite for Linux. The installation went ok. Then the manual says that I should use the "cyusb_linux" command to launch the program, but the terminal responds with the following:
cyusb_linux: error while loading shared libraries: libcyusb.so: cannot open shared object file: No such file or directory
But the file exists, and is in /usr/lib/
What should I do to fix this problem?
Well the Engineer who wrote all the code for our product is no longer with us. Since 32 bit windows are but a thing of the past I am stuck trying to figure out how to make our .sys file work in a 64 bit windows machine. I have all the source files for everything, the problem is Im not a coder just a tech. I have the source C code which is what I assume is the file I need to compile for 64 bit. The file is filled with intel hex which I assume is for loading the code into the the ez usb chip.
What I know. It uses the small eeprom to tell the computer its VID PID, which goes to the inf file to run the .sys file. All these are rewritten for our specific hardware, but closes resembles the examples. Using the Cy7C64613-128 EZ USB FX. I dont have the development board.
I was wondering if any one could run me through the steps of taking the c code and compiling it into a 64 bit .sys file. I got the inf file working.
Any help would be appreciated.
Show LessHello,
how can we display fx2lp data(imge data) in the control center(or streamer) using direct x and direct show method?
anybody have done it?please let me know.
cypress has any code snipet regarding this host application?
thanks.
geetha
Show LessHi,
In the FX2LP TRM,They have given that IFCONFIG.5 (output enable) Bit must not be set to 1 when IFCONFIG.7 is equal to 0 (external clock).what whould be the reason?
regards,
geetha.
Show LessHello,
I have defined endpoint 2 in the fx2lp slavefifo code.I added descriptors in dscr.a51 file as below.
FullSpeedConfigDscr:
;; Endpoint Descriptor
db DSCR_ENDPNT_LEN ;; Descriptor length
db DSCR_ENDPNT ;; Descriptor type
db 02H ;; Endpoint number, and direction
db ET_BULK ;; Endpoint type
db 40H ;; Maximun packet size (LSB)
db 00H ;; Max packect size (MSB)
db 00H
FullSpeedConfigDscrEnd:
and also
HighSpeedConfigDscr:
;; Endpoint Descriptor
db DSCR_ENDPNT_LEN ;; Descriptor length
db DSCR_ENDPNT ;; Descriptor type
db 02H ;; Endpoint number, and direction
db ET_BULK ;; Endpoint type
db 40H ;; Maximun packet size (LSB)
db 00H ;; Max packect size (MSB)
db 00H
HighSpeedConfigDscrEnd:
and made changes in the slave.c file as below.
TD_Init()
{
EP2CFG = 0xE2; //endpoint2,IN diection
SYNCDELAY;
}
I have configured endpoint for IN bulk,But firmware Renumerates with bulk out endpoint(0x02).
what whould be the reason?did i miss anything?let me know.
thank you.
Show Less