Quantcast
Channel: Cypress Semiconductor - USB - Known Problems and Solutions
Viewing all 153 articles
Browse latest View live

fx3sdk library size issue

0
0

It appears that when I rebuild the fx3sdk library cyfxapi it gets much larger.  I am building with the Sourcery G++ Lite tool-chain with CYCONFIG=fx3_debug.

When linked to the SlaveFifoSync example the .text section increases by 30k!

Any ideas on what is going on? Are there extra flags or a different tool chain required to get the size that ships with 1.3?


EZ-USB FX2 HELPPPPPPP PLZ

0
0

Good evening Forum in two days bought a resorte machine laser all ok until then, I have already experiment with the machine until I decided to buy my own, after installed and all ok , the last time when I send the file to resorte I see a computer communication error with the machine then I search for drivers and noticed that the machine is asking for an EZ -USB FX2 Driver 've tried all ways to solve the problem and not with you on the site http : //www.cypress .com can not find the proper driver just like that also not solved the problem of communication. Please someone help me .
(PS: Usesd Windows 10)

Photos: 
http://prntscr.com/ap3grc

http://prntscr.com/ap3gyf

CYUSBS234 USB-serial development kit cannot connect

0
0

Hi all,

 I just got a CYUSBS234 USB-serial development kit . At first, when I connect it and open the USB configure utility tool, this tool can detect the board.

 when I did some change like disable Manufacturing Interface etc, then the tool cannot detect the board. I make sure the board is power up.

 May i know if any way to restore it to factory setting?

Another question is I set the Manufacturer string and Product String, but use Cypress PID/VID, the USB is detected but it shows as "USB serial port". The Manufacturer  from the device manager is still Cypress. I want to change to my Manufacturer . May I know how to do that?

thanks

FX2LP - USB Fails to connect during power-up

0
0

We've run into a perplexing problem where our computer which is connected to our instrument via a FX2LP USB intermittently fails to connect.  A USB monitor shows the communication exchange and the second set of "Get Configuration Descriptor" commands never get a response.  If the USB cable is removed/replugged the device communicates correctly.  A restart of the computer from the USB error state also connects correctly.  Of course we'd like the instrument to connect correctly the first time.

We observed that Windows 8.1 sometimes does a fast boot and sometimes it does a slow boot.  It was only during fast boot that we observed failures.  We wrote a service to use DEVCON to programmatically remove and rescan for the USB device.  We discovered that this service only ran during slow boot despite being marked as Automatic.  Ultimately our solution was to change Power Options in Windows 8.1 and disable Fast Boot.

Has anyone else ran into a similar situation with the USB?  What solution did you use?

FX3 Bootloader does not enumerate after speed negotiation on custom board

0
0

Hi,

We are using the fine pitch (WLCSP131) version of the CYUSB3014 on a custom board. The design is bus powered and using USB boot and an 19.2 MHz crystal with PMODE and FSEL configured accordingly.

At power up the host detects the device and the FX3 bootloader issues the chirp signal switch to high speed mode and the speed negotiation is being completed correctly. The host now tries to obtain the USB descriptors and fails (it only worked intermittently on one of our prototypes).

We tried to eliminate cable and connector issues by soldering the USB2.0 D+ and D- leads of the cable directly to the board closer to the chip with no change of behavior.

We followed the hardware design guidelines regarding supply decoupling and signal routing and checked all the supply rails for being stable.

Has anyone seen similar behavior and can at least point us in some direction how to solve the issue, as we have no JTAG connection routed out due to space constraints and are not yet sure where to go from here.

Thanks in advance.

New EZ USB Install on Windows 10

0
0

Just installed EZ USB Suite on Windows 10 and none of the examples build. All of them fail with the same problem:

C:/Program Files (x86)/Cypress/EZ-USB FX3 SDK/1.3/ARM GCC/bin/cs-make --no-print-directory post-build
/usr/x86/sh: -c: line 0: syntax error near unexpected token `('
/usr/x86/sh: -c: line 0: `C:/Program Files (x86)/Cypress/EZ-USB FX3 SDK/1.3/ARM GCC/bin/cs-make --no-print-directory post-build'

Obviously there's some kind of path issue here. I'm a little shocked that they'd release something with such a big issue. I can finish the build by executing the final command in a command prompt window outside the Eclipse environment, but that's a real pain.

I can't be the first person to ru into this, is there any known workaround?

Thanks,

Andrew

How many USB devices the EZ-USB FX3 can support?

AN75779 UVC example(GPIFII 32bit)

0
0

I had download AN75779.zip(http://www.cypress.com/file/123501/download) 03/24/2016 

it works fine, it's 8 bits GPIF interface.

then I use GPIF II Designer Set 32bits GPIF interface according to AN75779 How to Implement an Image Sensor Interface Using EZ-USB® FX3™ in a USB Video Class (UVC) Framework.pdf. it can't be working.

so I use GPIF II Designer Set 8 bits gpif interface,it's also can't works,why?

I compare the file "cyfxgpif2config.h" inside the AN75779.zip with my generate file, it's different 

 

An75779.zip                                        

#define CY_NUMBER_OF_STATES 20                          
#define START_SCK0 0
#define IDLE_SCK0 1
#define START_SCK1 3
#define IDLE_SCK1 4
#define WAIT_FOR_FRAME_START_0 2
#define WAIT_FOR_FRAME_START_1 5
#define PUSH_DATA_SCK0 6
#define PUSH_DATA_SCK1 7
#define LINE_END_SCK0 8
#define LINE_END_SCK1 9
#define WAIT_TO_FILL_SCK0 10
#define WAIT_TO_FILL_SCK1 12
#define WAIT_FULL_SCK0 11
#define WAIT_FULL_SCK1 13
#define PARTIAL_BUF_IN_SCK0 14
#define PARTIAL_BUF_IN_SCK1 15
#define FULL_BUF_IN_SCK0 16
#define FULL_BUF_IN_SCK1 17
#define FRAME_END_SCK0 18
#define FRAME_END_SCK1 19

/* Summary
   Table containing the transition information for various states. 
   This table has to be stored in the WAVEFORM Registers.
   This array consists of non-replicated waveform descriptors and acts as a 
   waveform table. 
 */
CyU3PGpifWaveData CyFxGpifWavedata[]  = {
    {{0x1E738C01,0x00000000,0x80000000},{0x00000000,0x00000000,0x00000000}},
    {{0x2E716C02,0x00000100,0x800000A0},{0x00000000,0x00000000,0x00000000}},
    {{0x2E728B06,0x20000102,0x80000060},{0x00000000,0x00000000,0x00000000}},
    {{0x1E738C04,0x00000000,0x80000000},{0x00000000,0x00000000,0x00000000}},
    {{0x2E716C05,0x00000100,0x800000A0},{0x00000000,0x00000000,0x00000000}},
    {{0x2E726B07,0x24000102,0x80000090},{0x00000000,0x00000000,0x00000000}},
    {{0x2E726B07,0x24000102,0x80000090},{0x1E739408,0x00000006,0x80000000}},
    {{0x2E728B06,0x20000102,0x80000060},{0x1E739309,0x00000006,0x80000000}},
    {{0x3E718B0A,0x00000108,0x80000000},{0x3E718B0B,0x00000108,0x80000000}},
    {{0x3E718B0C,0x00000108,0x80000000},{0x3E718B0D,0x00000108,0x80000000}},
    {{0x2E728B06,0x20000102,0x80000060},{0x3E739E0E,0x00000000,0x80000100}},
    {{0x2E726B07,0x24000102,0x80000090},{0x3E739E10,0x00000000,0x80000100}},
    {{0x2E726B07,0x24000102,0x80000090},{0x3E739E0F,0x00000000,0x80000100}},
    {{0x2E728B06,0x20000102,0x80000060},{0x3E739E11,0x00000000,0x80000100}},
    {{0x1E739E12,0x00000000,0x80000000},{0x00000000,0x00000000,0x00000000}},
    {{0x1E739E13,0x00000000,0x80000000},{0x00000000,0x00000000,0x00000000}}
};

/* Summary
   Table that maps state indices to the descriptor table indices.
 */
uint8_t CyFxGpifWavedataPosition[]  = {
    0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,15,3,0
};

my cyfxgpif2config.h

 

/* Summary
   Number of states in the state machine
 */
#define CY_NUMBER_OF_STATES 15

/* Summary
   Mapping of user defined state names to state indices
 */
#define START 0
#define IDLE 1
#define WAIT_FOR_FRAME_START 2
#define PUSH_DATA_SCK0 3
#define PUSH_DATA_SCK1 4
#define LINE_END_SCK0 5
#define LINE_END_SCK1 6
#define WAIT_TO_FILL_SCK0 7
#define WAIT_TO_FILL_SCK1 9
#define WAIT_FULL_SCK0_NEXT_SCK1 8
#define WAIT_FULL_SCK1_NEXT_SCK0 10
#define PARTIAL_BUF_IN_SCK0 11
#define PARTIAL_BUF_IN_SCK1 12
#define FULL_BUF_IN_SCK0 13
#define FULL_BUF_IN_SCK1 14

/* Summary
   Initial value of early outputs from the state machine.
 */
#define ALPHA_START 0x0

/* Summary
   Transition function values used in the state machine.
 */
uint16_t CyFxGpifTransition[]  = {
    0x0000, 0x5555, 0x8888, 0xAAAA, 0x3333
};

/* Summary
   Table containing the transition information for various states. 
   This table has to be stored in the WAVEFORM Registers.
   This array consists of non-replicated waveform descriptors and acts as a 
   waveform table. 
 */
CyU3PGpifWaveData CyFxGpifWavedata[]  = {
    {{0x1E738C01,0x00000000,0x80000000},{0x00000000,0x00000000,0x00000000}},
    {{0x2E716C02,0x00000100,0x800000A0},{0x00000000,0x00000000,0x00000000}},
    {{0x2E728B03,0x20000102,0x80000060},{0x00000000,0x00000000,0x00000000}},
    {{0x2E726B04,0x24000102,0x80000090},{0x1E739405,0x00000006,0x80000000}},
    {{0x2E728B03,0x20000102,0x80000060},{0x1E739306,0x00000006,0x80000000}},
    {{0x3E718B07,0x00000108,0x80000000},{0x3E718B08,0x00000108,0x80000000}},
    {{0x3E718B09,0x00000108,0x80000000},{0x3E718B0A,0x00000108,0x80000000}},
    {{0x2E728B03,0x20000102,0x80000060},{0x0000000B,0x00000000,0x80000100}},
    {{0x2E726B04,0x24000102,0x80000090},{0x0000000D,0x00000000,0x80000100}},
    {{0x2E726B04,0x24000102,0x80000090},{0x0000000C,0x00000000,0x80000100}},
    {{0x2E728B03,0x20000102,0x80000060},{0x0000000E,0x00000000,0x80000100}},
    {{0x00000000,0x00000000,0x00000000},{0x00000000,0x00000000,0x00000000}}
};

/* Summary
   Table that maps state indices to the descriptor table indices.
 */
uint8_t CyFxGpifWavedataPosition[]  = {
    0,1,2,3,4,5,6,7,8,9,10,11,11,11,11
};

If documents and generate examples are not synchronize,CY_NUMBER_OF_STATES number is not the same

According to document steps to generate 8 bit doesn't work,but an75779.zip example can work fine,

please help,thanks


CY7C68013A locks up stops outputting USB data

0
0

We are using the CY7C68013A in a 16 bit slave, write-only mode with the 4 FIFO's concatenated.

Every 2ms data is loaded into the 680 by a DSP with a FrameEnd pulse to trigger the USB.

Normally, in  a noise free environment, the system runs error free.  However when an RF plasma

cauterizing knife is operated in the vicinity of the 680, the USB the USB locks up and stops outputting data.

DSP and other peripherals continue operating properly. The 680's oscillator and ClockOut are still running.

680 requires hard reset to regain operation. All unused inputs are appropriately gnd'ed or tied high.

Any clues as to what might be causing the 680 to latch up?

How vulnerable is the SW loaded into the 680 at enumeration to E-filed radiated noise?

thanks in advance

 

FX3 Stream uncompressed Bayer image (AR0134)

0
0

I am designing a camera with AR0134 only output Bayer data. (1280x720x60fps) With datasheet I saw the ARM on chip can process audio signal. I want to know if ARM can process video data by converting Bayer data to YUY2 for UVC protocol.

If on chip ARM is not powerful enough to process video data, what else I can do?

Do I need a ISP(FPGA) between CMOS and FX3

or I can stream raw data directly to computer and use opencv or other programs to convert Bayer data to RGB data?

 

http://www.cypress.com/forum/usb-30-super-speed/fx3-uvc-windows

The website above shows they successfully use AR0134 under Linux thorough UVC, I want to know how is that's possible.  

In UsbUart demo, CyU3PDebugPrint() can not work?

Is there demo has two interfaces: UVC and COM Port?

Cyusbserial.lib for usage within windows kernel mode driver

0
0

Hi,

I would like to access a Cypress USB to UART adapter from a Windows kernel driver (KMDF). Unfortunately the cyusbserial.lib can only be used and linked with user mode applications.  

Is there any “USB-Serial SDK” with function API for calls from a windows kernel driver?

Thanks in advance!

CypressDriverInstaller_1.exe fails to install on Windows 7

0
0

Hi,

I am on Windows 7.

I am trying to install the Cypress USB driver by following the instructions found here:

 

http://zedboard.org/sites/default/files/documentations/CY7C64225_Setup_G...

 

I successfully downloaded CypressDriverInstaller_1.exe

However when I install it, it goes through most of the installation sequence and fails with this error:

“System Failed Copying files to Windows Temporary Directory. Unable to proceed…”

 

I tried the following and I always get the same results:

- Running CypressDriverInstaller_1.exe  as administrator
- Installing to a different directory
- Rebooting in safe mode with networking enabled.
- Installing by first extracting the files on another computer and then right-clicking “install”. I get “The INF file you selected does not support this method of installation.

My guess is there is something in the file system preventing it from installing properly. What could it be? 

 

Thanks

Configuring a Xilinx Spartan-6 FPGA Over USB Using FX2LP in Port mode

0
0

I am trying to configure a Spartan-6 FPGA using FX2LP controller. I have read the stuff in AN63620 document from Cypress. In this document, we are using GPIF mode of FX2LP to configure the FPGA. I would like to use the default Port mode of the controller to configure the FPGA. In other words: could FX2LP just simply read the .hex FPGA configuration file provided by iMPACT Xilinx tools and then keeps track of INIT_B signal from the FPGA and shift the configuration data to the DIN serial port of the FPGA? Has anyone done that using FX2LP?

 

Many thanks!


[CYUSBS232 RDK] How to recover to default condition after programmed new VID/PID?

0
0

Hello,

After changing VID/PID and program it to RDK flash, my RDK is not recognized by PC device manager

 

-Description-

I've successfully connected CYUSBS232 RDK to USB Serial Configuration Utility by default.

Then I've change the VID/PID, strings , then program it to RDK

I reconnect the RDK to PC and it was no longer recognized by PC device manager

I've tried to update driver from the web, or manual bind the driver with .inf file was modified the same VID/PID that I programmed to the RDK, but it wont fixed.

Q: Is there any way to recover the RDK to default setting? 

 

Thanks in advance.

 

Error compiling UVC_AN75779

0
0

I purchased the FX3-EZ USB kit. I'm trying to use this kit to convert RAW video into USB-VC format. 

I started with the AN75779 application node(interfacing with image sensor).

 

I downloaded the zip version of the example code(AN75779.zip) , imported it into Eclipse and tried to build the project. No parameters were changed. I simply imported and tried to build the project.  However, when I build I'm getting the following errors:

 

 

1.

Description    Resource    Path    Location    Type
cs-make: *** [camera_ptzcontrol.o] Error 1    UVC_AN75779             C/C++ Problem

 

2.

Description    Resource    Path    Location    Type
fatal error: cyu3types.h: No such file or directory    uvc.h    /UVC_AN75779    line 28    C/C++ Problem

3.

Description    Resource    Path    Location    Type
Program "g++" not found in PATH            Preferences, C++/Build/Settings/Discovery, [CDT GCC Built-in Compiler Settings] options    C/C++ Scanner Discovery Problem

4.

Description    Resource    Path    Location    Type
Program "gcc" not found in PATH            Preferences, C++/Build/Settings/Discovery, [CDT GCC Built-in Compiler Settings] options    C/C++ Scanner Discovery Problem

 

 

Slave FIFO write is not working for Superspeed cypress chip

0
0

I am using the Slave FIFO(32-bit @100MHz) files from application note. Read from FX3 is working as expected. 

Write to FX3 is not working. The status of signals during write operation is SLWR_N = 0, SLOE_N = 1, SLRD_N = 1, PKTEND_N = 1 for exactly 256 cycles(Status of all the signals confirmed through Logic-analyzer). I can see the FLAGA status going to zero after finishing write operation. It is not releasing the second buffer and BULKIN operation in control-center application failed. Until I reset the device or end-point FLAGA is not going high. I cannot find any clue.

Another interesting case is If i perform short packet write with 64 or less bytes write operation is successful. I can even see the same data after BULKIN operation in control-center. 

No slack issues found in timing check. Can anybody help regarding this?

 

Thanks,

Raghav.

 

EZ USB suite Eclipse code parser and SDCC , type '__bit' not resolved

0
0

Hello,

          I have tried to compile the bulkloop demo code installed with EZ USB suite, my target is an FX2 and I have the SDCC compiler installed.  It compiles OK, but if I make any change to the code resulting in an Eclipse parser checking pass, it breaks.  For example:

(in Fx2.h)  typedef __bit        BOOL;  (Eclipse: Type '__bit' could not be resolved)

                   extern __code BYTE   USB_AutoVector; (Eclipse: Multiple markers at this line    - Line breakpoint: Fx2.h      [line: 288]    - Syntax error)

                extern __code DEVICEDSCR        DeviceDscr; (Eclipse: Syntax error)

                 extern CONFIGDSCR __xdata*   EZUSB_GetConfigDscr(BYTE ConfigIdx); (Eclipse: Syntax error)

Somehow I have managed to get EZ USB Eclipse to not recognise the peculiarities of SDCC coding.  I have tried going into the code analysis menu and turning off 'symbol is not resolved''type cannot be resolved' and 'field cannot be resolved', but the first time it finds a function returning Bool it reports an error and doesnt compile

../fw.c:222: syntax error: token -> 'BOOL' ; column 4
../fw.c:252: warning 112: function 'HighSpeedCapable' implicit declaration

also, it doesnt like the nop delay macro.

This is probably an elementary error,  any ideas please?

Cheers

 

 

 

 

CyUSB.dll issues

0
0

Hi there-

 

Copied this from the PLL area, as it might pertain to this forum as well.

 

Not sure exactly where to put this, but here goes.  We've been running a Analog Devices Pll w/ an app we created using the CyUSB.dll ver 3.4.7.0 with .Net 4.6.1.  We recently updated our hardware to Windows 10, and now the application is crashing when it calls CyConst::DEVICES_CYUSB.  This triggers an "arithmetic operation resulted in an overflow" error in CyUSB.PInvoke.CountDevices();.  Any ideas on how to solve this? Are we going to be forced to update to the newer .dll?

 

Thanks

Viewing all 153 articles
Browse latest View live




Latest Images