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

VEND-AX NOT WORKING ON CUSTOM BOARD

$
0
0

usb vend-ax not working

I am using custom board of ez-usbfx2lp .it has large eeprom .i am downloading vend-ax sample .iic to my board but device  is not recognized.

some other examples are working ie cystreamer etc but vend_ax not working wht is problem


West Brige Astoria SDK

$
0
0

I am trying to get the SDK up and running using microsoft visual studio express 2013 for windows desktop. I have installed the PLX SDK as well, but when I try to execute the test bench example project I get an error that appears in the windows command window; "Please define the CY_USE_PLX symbol to compile with the PLX library." 

 

How do I fix this issue?

 

 

CY7C65213-32LTXI in CY_TYPE_MFG mode

$
0
0

Hello everybody,

i have a CY7C65213-32LTXI chip on my custom board.

It should work as a UART interface,

but when i connect to it it says it is in  CY_TYPE_MFG mode and no UART SetFunction or even GetConfig will work.

 

- I tried to program it with "USB Serial Configuration Utility.exe" but it wont change the Device type...

- Do i need to program the Flash or what?

- even if, where can i get a binary to flash??

- or is it just the wrong driver???

 

tnx in advance

Best driver structure (several devices, cyusb.sys-based)

$
0
0

Hi,

Please suggest me the most optimal driver structure for my situation:

1. I have two devices, one on an2131 and another on fx1. Both with the host-loaded firmwares.

2. Support for XP, Win7, Win 8/8.1, 10, 32/64 bit, except for XP (32 bit is enough).

As for now, I have two directories, "x86" and "x64". Each dir structure is as following:

dev.inf 

ezload.sys+ezload.spt (firmware loader, spt file goes to system32\devload dir by the dev.inf)

fxload.sys+fxload.spt (same thing for fx1)

cyusb.sys (general access driver for the both firmware loaded devs)

ezusb.dll (my own client-side interfacing dll, works with cyusb.sys, copied to system32 to make things easier)

dev.cat (for the sake of digital signing)

ezload.sys and fxload.sys are the same cyusb.sys, renamed. This is to enable driver work when another twin device (remember, we should be able to use our an2131 and fx1 devices simultaneously)  driver gets removed.

This stuff works, but we have a little problem: to remove/update firmware loading driver we need to manually delete spt file to make an spt loader .sys fail to operate. Otherwise, the loader starts and downloads so fast that we cannot catch it to delete in the windows dev manager!

And I'd like to have "one-button" install/remove procedure for the driver, if possible.

I'm trying to play with the dpinst.exe now but it's not that perfect either (though it removes the driver ok, both fw and non-fw instances, to the "Unknown Device" state, that's great). How it must be invoked by user? Seems like it's better to wrap dpinst by some installer creating app. Also, what I don't like about dpinst.exe is that it autocreates a package name using first model name found in INF (if I got it right). We have two devices so that is confusing to name only one, not the family. We could disable dpinst' control panel item creation and use some custom item created by an installer app. But I have doubts if this engineering is really optimal.

What do you think? What is the best practice for my case?

p.s. We are new to driver signing so being scared by Microsoft claims to stop supporting SHA-1, we sign it with SHA-2. Is that the right way we did it?

 

Regards,

Dmitry

 

How to handle USB Stall

$
0
0

Hi Community,

we are using a FX2 controller with a CMOS attached in bulk mode on Windows, mac and linux. In one application we have to use some kind of USB hub between our device and the PC. Due to some noise or other reasons this hub is creating occasionally USB stalls on the bulk endpoint. We can clear the stall condition via the `Reset()` function of the CyAPI.h on Windows. But this seems to re-enumerate the USB device on this port and the application needs to reconnect, which is very inconvenient and takes time. Is there a cleaner way to clear the stall/halt on a bulk endpoint without re-enumerating the devices?

Would appreciate any help on this. Couldn't find much Cypress documentation on USB stall matters.

Kind regards,

Eduard

Firmware API for data send and receive to and from the Endpoint

$
0
0

hello,

Please give a API code or syntax for the data transfer to and from the endpoint for FX3.

example:

uint8_t glEp0Buffero[32] __attribute__ ((aligned (32)));

uint8_t glEp0Bufferi[32] __attribute__ ((aligned (32)));

I want to do below operation:

glEp0Buffero[32] -> out Endpoint (0x02)       and

in endpoint (0x82) ->  glEp0Bufferi[32]

i download the hex into fx2lp's ram ,but it can not function ,my control panel crashed

$
0
0

i download the hex into fx2lp's ram ,but it can not function , so i use the oscillograph to view the waveform of  SDA pin.it shows that ,as long as i download the hex file into the ram using the control panel and click the reconnect button , the waveform is a endless square wave . after that, my control panel crashed. what should i do ???

Better throughput with CY7C65211 + SPI for EEPROM


talking to "windows-supported" FX1 device in Linux

$
0
0

Hi,

I have a USB device (Spectrum Techniques UCS-30) that uses the FX1 chip (CY7C64713-128AXC). The device manufacturer provides drivers and software only for Windows, but I need to use the device under Linux for an integration project.

Using the CyUSBSerial_SDK_Linux software I am able to communicate with the device, to some extent. However, the device type is reported as 0xff and the CyGetUartConfig function returns CY_ERROR_REQUEST_FAILED.

From what I can tell (there is a command list in the device documentation that seems to indicate it uses serial text commands) there is a UART somewhere, I just don't see how to access it. The lsusb command shows what looks like a single interface with 3 alternate settings, although I can't figure out how to change between them.

I do have partial source code to the bundled application (though not the driver), but it's in Java and the base class for communicating with the device seems to be missing, so it's not much help.

Any suggestions where I should look next? Unfortunately, I'm basically under an NDA for the code itself, but if it's useful I can provide the lsusb output etc.

Thanks for any help.

USB type C to type C converter

$
0
0

Hello,

We are going to make HUB of USB type C for bidirectional; Data as well as power transfer supported by USB power delivery.

We are currently developing USB type C to USB 3.0 Device, And USB type C to type C converter.

Case 1. USB type C to USB 3.0 Type A In this we are trying to interface USB 3.0 A to USB type C and vice-versa. We are in search of controller that handle Power delivery as well as Data transfer. Please suggest the chips that handle power delivery as well as Configuration pin lines

Case.2 USB type C to Type C In this we are also want to know that any chip is needed for power delivery as well as data lines. Please suggest the possible solution for the both cases. We are more concern on the chips which are used for power delivery control and Configuration pins (CC1, CC2) control for DRP mode.

Please suggest possible solution for this application.

Please find the attached file for more detail.

Thanks & Regards,

Sunil Darji​

Cypress FX2 debug and step through

FX2 fast EEPROM writing

$
0
0

Hi all,

Using the "ControlCenter" application available into FX3 SDK I see that a .iic firmware file can be wrote, into a FX2 coupled EEPROM, in a fraction of the time needed for the same operation performed by the old FX2's "ControlCenter". This is very interesting...

I understand that this operation is performed by LoadEEPROM function available into the new CyUSB .NET library. But is it possible to implement the same thing in a custom fw/sw? Can you provide the fw/sw source to perform such R/W speedy operations on FX2 coupled EEPROM?

Thanks a lot.

 

some problems from FX2 TRM

$
0
0

Q1:I get "When AUTOOUT=1, as soon as a buffer fills with USB data, the buffer is automatically and
instantaneously committed to the endpoint FIFO bypassing the CPU" from FX2 TRM,can you give me more details about the differences and relations between endpoint FIFO and buffer, and how about is it in AUTOIN? 

Q2:The state of EF,FF,(PF) is given in EP2468STAT and EP24FIFOFLGS,and the state of EF,FF and PF can also be expressed by flagA(or flagB flagC). The states all above are identical ?

thank you!

CYC64225 does not support 7-bit data mode

$
0
0

Hello sir,

I have one application and it is based on the following serial communication settings

Baud Rate:9600

Data Bits:7 bit

Parity:Even

Stop Bits:1

Flow Control:None

I have been using cypress ic CYC64225 with 9600 8-N-1

But this IC does not support 7-bit data format.

I have my hardware ready and I don't want to change it so finding pin to pin compatiblity with this IC.

Please suggest me IC part number which support 7/8 bit data format and also pin compatiblity with existing one.

How to read/write to I2C via C# dot.Net Application

$
0
0

Hello,

I'm about to implement a software (C# Windows Application) to communicate with my I2C Hardware via a CY7C68013a.

I started using the CYUSB.dll and was able to find the USB Device. Unfortunately I'm stocked now.

How can I implement a I2C transaction between my software and the hardware?
Do you have a example for this?

 

Thanks a lot
Best regards from germany

Bernhard Waechter

Attachments: 

FX1 goes Default USB Device (on Linux)

$
0
0

Hi,

We have a fx1 device that works perfectly in Windows. However, we've been told that is goes to default USB Device behaviour when used on Linux environment. I mean the device replies with an eeprom vid/pid (0xc0 load) handling the GET_DEVICE_DESCRIPTOR request. It also replies with zero-length vendor request control endpoint transfers (resulting in -71 protocol errors on Linux). I guess it's Default USB Device working (ezusb core).

So here's my question. What are the possible methods of going back to default usb device from a user firmware running mode? Can you list them all (electrical/programmatic) so I could check & debug 'em one by one?

p.s. The device is bus-powered. There was no physical disconnection, of course. 

CY7C65215-32LTXIT Linux Configuration Tool

$
0
0

Hi, I have Cypress CY7C65215-32LTXIT device. I would like to configure my device communication as I2C on GNU/LINUX. But I don't do this. There is "USB-Serial Configuration Utility" for Windows but not Linux.  Do you know "Configuration API" or software(utility) on Linux  for CY7C65215-32LTXIT?

CY7C65211 GPIO Control Not Working

$
0
0

Good morning:

I have a CY7C65211 USB Serial Bridge device on which I would like to control the GPIOs. As part of a larger test program, I need software that can connect to the device, configure it in 2-pin UART mode, and control GPIOs 2 and 3 which I am using to control the BOOT and RST pins of an attached micro-controller. After which the test program can program firmware through the CY7C65211 and onto the attached MCU using the RX/TX lines.

I am using the C++ example program provided by Cypress and am able to connect to my device. However, the code requires that the device block be SCB0 in order to control GPIOs, and instead the device block it connects to is the MFG block.

How can I change which device block the software binds to? Also, how can I use the USB-Serial Library to configure my device into 2-pin UART mode?

 

Thank you,

Gary

which PSoC version supports CCGx devices?

$
0
0

A Cypress engineer showed me one version that supports CCG3, but as I checked my 3.3 version it does not have that option in the device selection table.

 

C++ NOT .NET

$
0
0

CyUSB.dll is a .NET dll.  Do you have anything that is unmanaged C++?   If you do not have an unmanaged version then what is wrong with you guys?

Viewing all 100 articles
Browse latest View live


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