Quantcast
Channel: Cypress Semiconductor - USB High-Speed Peripherals
Viewing all 159 articles
Browse latest View live

CY7C68013 driver for linux device


Question about the FX2LP Endpoint Buffer

$
0
0

Dear all,

I two fundamental questions about architecture of EZ-USB FX2LP.

1. How many packets could be hold in a Quad Buffered Output Endpoint? (e.g. EP2).

- - This question arises while testing the Bulkloop example. The EP2 is configured as double buffered OUT. My first thought is that two consecutive "transfer data out" could be performed. But it turns out that 4 consecutive "transfer data out" could be performed before encountering error (code 997).

2. The RAM space for Endpoint 2, 4, 6, 8 Buffer is as large as 1024 bytes due to the TRM, then how is the quad buffered 512 bytes EP2 (or EP8) be implemented?

Please be so kind to share your knowledge. Thanks

Two chips cy7c68013A connect with one computer

$
0
0

Hi,

  I use two chips CY7C68013A connect with one computer,there is a failure often occurs,one device of them often communication failure,must power off and restart.

  I can not find the reason of this problem,my board design or the driver program have some problem?

What should I do check this problem,look forward to your reply
Thanks a lot.

PD: Send another source capability message

$
0
0

I'm working with the CCG3 dev-kit. I have a project that resembles a power brick and it advertises a certain set of PDOs. Once some communication with the sink was done, I would like to send another "Source Capabilities" message to renegotiate the voltage (need to do that to work around an issue of the sink device).

I already found out how to toggle which PDOs to send (dpm_update_src_cap_mask(port, mask)) but I haven't figured out how to make the stack send out another "Source Capabilities" message. Is there a way to do that?

CY7C68013A help

$
0
0

Hi all

I have programed the  eeprom 24C64  in .hex format by external programmer and i have solder it. I have instaled the drivers on windows 8.1 but at the  panel control  i have the fallow message "Cypress FX2LP no eeprom device"

Can you tell  me why the CY7C68013A not find the eeprom

 

W7 64 bit driver is not working for CY7c60813A-56LFXI

$
0
0

I encounter problem with comunicating with CY7c60813A-56LFXI chip.  Originally it has a winXP driver and working well with my current software.  Since I have to used a win7 machine, I download new driver for win7 64 bit.  Now my software is not working anymore.   is there any change in the CYUSB3.sys that break my software?( the old driver is CyUSB.sys for winxp)

Minimum time required for DISCON bit to register device disconnection

$
0
0

Hello,

I know that we can use the USBCS->DISCON bit to manually trigger a USB re-enumeration.

Is there a minimum time limit for USB host to detect a device disconnection?

 

USBCS|=bmDISCON;

What is the delay we should apply here?

USBCS &=~bmDISCON;

 

Thank you.

CCG3 USB-C: Anyone have success?

$
0
0

Hi all,

Apologies if I've selected the wrong forum; it wasn't clear to me where questions regarding CCGx USB-C devices should go. I am attempting to build a proof of concept for a simple DisplayPort pass-through using the CYPD3120 DP Dongle example firmware. So far all I have is a blinking LED and billboard info showing the vendor/product ID. I am also able to read the configuration using EZ-PD Configuration Utility.

What exactly is needed to prompt a HPD event? My understanding in reviewing the example is that this is done using events transmitted on the CC line. But I see nothing that calls eval_app_alt_hw_cmd, which appears to be the driver for the generation of the HPD events. Is there any way to prompt the HPD event/message programmatically?

I also have a DDI (an I2C slave device ready to provide an EDID on the correct address) connected to the AUX_P/AUX_N lines on the CYPD3120, but I have not been able to get the Mac to interpret the dongle as a display.

Has anyone been able to successfully prototype using the CYPD3120? Any pointers?

Thanks!


CY7C68013A with broadcom studio 3 and gigablue

$
0
0

I bought a cypress CY7C68013A to restore the boot of a gigablue.
I tried it on Windows 10 x64 with Windows7 x32.
To use Broadcom interfacciarmi 3 study
The few times I can not connect after a few seconds I get the disconnection
with the following error: i2c removed
Can you help me ?

I thank you in advance.

 

Improve speed rate of CY7C6800

$
0
0

Hi,

Our system consists on: 

- A control board communicating with PC thought USB, 80MHz FPGA doing the timing, 2x 4-Mbit (256K x 16) RAM

- A Peripheral board driving a scanner sensor and communicating with the control board thought a LVDS network, also 80MHz FPGA, 1x 4-Mbit (256K x 16) RAM

The data is transfered by bulk, the maximum speed is around 3 MB/s, but our target is at least 6 MB/s.

We think that the first step should be looking for the bottleneck of the system to eventually improve its speed.   How could we check out if the CY7C6800 bulk transfer rate is not the bottleneck?

Thanks in advance.

 

Can CY7C68013A be configured to have USB Audio and HID class at the same time

$
0
0

Hi,

I am trying to use CY7C68013A for a custom application. Can I configure it to have HID and Audio class support simultaneously?

My intention is to configure the GPIF as I2S lines for audio in/out and use other possible interface to exchange HID reports.

Thanks for the help in adance,

 

Best Regards,

Pradeep.

CYUSB3014-BZXC Getting back access to Bootloader after I2C or SPI flash is programmed

$
0
0

Hi,

On our design we have the I2C EEPROM to store the program code for the CYUSB3014-BZX. We have the boot mode set to "Z1Z" I2C (on fail USB boot enabled).
As the board is a tight layout and we do not have space for jumpers to change these settings easily.

If i want to update/overwrite the I2C image file, how can i get the back to the boot loader to do this?.

I can short the I2C lines to ground and make it fail to get back to the boot loader and then update the I2C EEPROM with the image 
but im looking for a better solution that i can use in the field.

Kind Regards,

Jesse

 

如何开发FX2LP在windows下的数据收发程序

$
0
0

我想利用LabWindows在WIN10下开发一个程序,可以通过FX2LP收发FPGA的数据,不知道有没有代码可以借鉴。

或者不使用LabWindows,有没有其他方法?

How to develop a host application for FX2LP in LabWindows/CVI

$
0
0

 AN70983 shows C#,C++,VB example by using Cypress library. But LabWindows/CVI is based on ANSI C. 

I wonder how to use Cypress library (CyUSB.dll, CYUSB.sys) in LabWindows/CVI.

BTW, all in WINDOWS10.

[CY7C68013A] CyUsb3 32 bit drivers don't detect the surprise removal of USB hub connected with our FX2LP device when in use

$
0
0

Hi~

I am migrating our FX2LP Windows device driver from CyUsb to CyUsb3.

The device is used as a bulk/interrupt transfer based video grabber,
so our Windows application repeatedly calls CCyFX3Device::BulkInEndPt->XferData() for video data and CCyFX3Device::InterruptOutEndPt->XferData(), CCyFX3Device::InterruptInEndPt->XferData() for command transmission in a loop.

 

I have an issue with the surprise removal of USB hub connected with our device.

  • In case that the device is connected through external USB hub to PC's USB port
    • In case the Windows application is running
      • Surprise removal of USB hub (not device) is well detected and the device disappears normally on Windows OS 64 bit.
      • Surprise removal of USB hub does not properly handled and the device is remained on the Device Manager window on Windows OS 32 bit. At the point, if I force close(by terminating process) the Windows application then the device is removed on the Device Manager.
    • In case the Windows application is idle
      • No problems
         
  • In case that the device is connected directly to PC's USB port
    • No problems

 

When the above issue is tested with old CyUsb driver on Windows OS 32 bit (regardless of Windows version), the device disappears on the Device Manager after 5~10 seconds after the removal of USB hub.

 

Is there anything that I can do about the issue?

 

The below is on the test environment

  • Driver version: CyUsb3 v1.2.3.14 (included in FX3 SDK 1.3.3)
  • Chipset: FX2LP (CY7C68013A-128AXC)
  • Tested OS Version: Windows 7, 8.1 and 10 (32/64 bit)

Thanks and regards,
Ken Kwak


can cy7c68013a work in ISO OUT(EP2)

$
0
0

HI:

  I use the example(BulkLoop) to do ISO transmission;The following is the place where I modify

 

1:;; Endpoint Descriptor
      db   DSCR_ENDPNT_LEN      ;; Descriptor length
      db   DSCR_ENDPNT         ;; Descriptor type
      db   02H               ;; Endpoint number, and direction
      db   ET_ISO            ;; Endpoint type
      db   00H               ;; Maximun packet size (LSB)
      db   14H               ;; Max packect size (MSB)
      db   01H               ;; Polling interval

 

2: 

  SYNCDELAY;                    // see TRM section 15.14
  EP2CFG = 0x92;//9a et_iso
  SYNCDELAY;  

and then use BUS_Hound catch the data,When I use the endpoint2 to send data, return an error!(USTS 80000300 bad_parameter /invalid command)

The problem:I want to make the endpoint2 work with ISO out mode,what can i do? 

thank you!

 

 

 

 

Attachments: 

open a usb with libusb without uninstalling it's Driver from windows

$
0
0

hy,i am using a custom FPGA-Board with a CY7. in the other hand, i code a Qt app based on libusb. the problem is: Control Center need windows Driver. but libusb want to uninstall it and replace his Driver(WinUSB v6.1.7600.16385) by zadig. after replacing driver by using zadig app, the windows no longer recognize CY7 and hence control center cannot program it. how can open a usb with libusb without uninstalling it's Driver from windows?or other solution?! thanks

running cx3 uvc video project(Cx3UvcOV5640) on windows 10 in high speed mode.

$
0
0

 

Hi,

 

I tried to run the cx3 uvc video project(Cx3UvcOV5640) on windows 10 machine in high speed mode(call CyU3PConnectState() with second parameter CyFalse). The device is recognized by windows and Camera application performs streaming but I  get black screen. The super speed mode is working on same machine and both modes are working on linux machine. What can be a reason for such behavior?

 

I have another question about linux. We try to run the same projects(high speed and super speed) on windows(8 and 10) under virtualbox on linux.  Should the cx3 work under virtual box? The device in high speed mode is recognized in windows 10 but the capture doesn't work properly - the frame rate is low and i hear the shutter clicks from the device. The super speed device has some problem with descriptors. Here is the output from 'thesycon usb descriptor dumper':

 

Information for device USB\Vendor_0000_Product_0000:

Connection Information:
------------------------------
Connection status: Device failed enumeration
Device actual bus speed: LowSpeed
Device supports USB 1.1 specification
Device supports USB 2.0 specification
Device is hub: No
Device address: 0x0000
Current configuration value: 0x00
Number of open pipes: 0

Microsoft OS Descriptor is not available. Error code: 0x0000001F

String Descriptor Table
--------------------------------
Index  LANGID  String
0x00   0x0000   

 

Thanks,

Roman Tcharny

Problems with bulkloop sample

$
0
0

Hi, I would like to see if the CY7C68013A fits my needs. I started with "AN65209 - Getting Started with FX2LP™". According to AN65209 I can build the bulkloop sample with the free evaluation version of the Keil uVision2. But according to the readme file in the actual bulkloop sample I need the full version of the Keil uVision2. Do I understand this correctly that I need to buy a $2000 software package to evaluate the CY7C68013A with the bulkloop sample?

The precompiled hex file of the bulkloop sample is 9207 bytes.

In the AN65209 is written: "The Cypress FX2LP DVK includes a free demonstration version of the Keil uVision2 tools for the 8051. This IDE is fully featured, but limited in code size to 4096 bytes. Cypress demo projects, such as bulkloop.uv2, fit under this limit so you can study and modify the code. "

In the "FX2LP Bulkloop Firmware /readme.txt" is written: "Building this example requires the full version of the Keil Tools."

The "FX2LP Bulkloop Firmware /readme.txt" is downloaded from: cypress_com/file/44951/download

Best regards, Klaus Roesch

Update Driver Software Error

$
0
0

When I build the CyUSB3 driver and updated my device driver I got the following error:
"windows encountered a problem installing the driver software for your device windows 10"

How shall I solve this

Attachments: 
Viewing all 159 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>