USB superspeed peripherals Forum Discussions
Hi Cypress Community,
I am designing with the Cypress CYUSB3014. My question is whether the VBATT pin of FX3 must be connected to the power supply in hardware design, can I'm not connect it?
Thanks for any help!
-Bruce
Show LessI would be very grateful for any information that would help me use an Olimex ARM-USB-OCD-H debugger with OpenOCD from EZ Suite .. (Windows), however it will be directly connected to the FX3's JTAG lines, and not through a Cypress CY7C65215 (USB Serial) device that is used on the SpeedKit for example.
Any info is welcome ...
I have now tried with a Segger J-Link, and the Olimex OCD-H .. in both cases, when I start a debug session, Eclipse give me this error message: Error while launching command: gdb --version.
I even have tried with the SuperSpeed kit, and its built-in debugger, following the instructions from the EZ-USB Suite User Guide to the letter, and I still get the same error .. If I manually (dos box) run the specified openOcd version (which is part of the SDK) and with the SDK-provided cfg file, it comes up fine and sees the FX3 tap. I can even connect to it, both on the 3333 gdb port as well as on the 4444 telnet port.
Does Eclipse (EZ USB Suite) need some extra gdb related software, or is that built in?
'Building target: slave.elf'
'Invoking: ARM Sourcery Windows GCC C Linker'
arm-none-eabi-gcc -T"E:\CYPRESS\firmware\fx3_sdk_1_3_3_src\fx3_sdk_1_3_3_src\sdk\build\fx3.ld" -nostartfiles -Xlinker --gc-sections -Wl,-Map,slave.map -Wl,-d -Wl,--no-wchar-size-warning -Wl,--entry,CyU3PFirmwareEntry "E:\CYPRESS\\firmware\u3p_firmware\lib\fx3_debug\cyu3lpp.a" "E:\CYPRESS\\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a" "E:\CYPRESS\\firmware\u3p_firmware\lib\fx3_debug\cyu3threadx.a" "E:\CYPRESS\ARM GCC\\arm-none-eabi\lib\libc.a" "E:\CYPRESS\ARM GCC\\lib\gcc\arm-none-eabi\4.8.1\libgcc.a" -mcpu=arm926ej-s -mthumb-interwork -g -gdwarf-2 -o "slave.elf"
E:\CYPRESS\\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a(cyu3device.o): In function `CyU3PFirmwareEntry':
e:\views\antioch_fx3_build_view_puri\software\products\usb30\sdk\firmware\src\system/cyu3device.c:553: undefined reference to `CyU3PToolChainInit'
E:\CYPRESS\\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a(cyu3entry.o): In function `__CyU3PEntryKeep':
cyu3entry.s:(CYU3P_EXCEPTION_VECTORS+0x34): undefined reference to `CyU3PUndefinedHandler'
cyu3entry.s:(CYU3P_EXCEPTION_VECTORS+0x3c): undefined reference to `CyU3PPrefetchHandler'
cyu3entry.s:(CYU3P_EXCEPTION_VECTORS+0x40): undefined reference to `CyU3PAbortHandler'
E:\CYPRESS\\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a(cyu3system.o): In function `CyU3PSysCheckBootState':
(i.CyU3PSysCheckBootState+0x54): undefined reference to `CyU3PMemCopy'
e:/cypress/arm gcc/bin/../lib/gcc/arm-none-eabi/4.8.1/../../../../arm-none-eabi/bin/ld.exe: slave.elf: hidden symbol `CyU3PUndefinedHandler' isn't defined
e:/cypress/arm gcc/bin/../lib/gcc/arm-none-eabi/4.8.1/../../../../arm-none-eabi/bin/ld.exe: final link failed: Bad value
collect2.exe: error: ld returned 1 exit status
How to solve the problem like this?
I cannot install the driver for the SuperSpeed Explorer kit under windows xp. The only information I get is:
Cannot Install this Hardware
There is a problem installing this hardware
Cypress FX3 BootLoader Device
An error occurred during the installation of the device
No other information is given.
Show LessHi,
I was doing a throughput analysis for the CX3 chip for my project. I will be using a typeC alternate mode mux for DSI and connect the SSUSB to CX3 which will have CSI, I2C,I2S,SPI and UART interfaces.
I summed up all the data rates for the above interface. I would like to know what would be the data rate on the USB bus (since its adds additional sync bits and PIDs etc.) How does the CX3 internally map all the interfaces to USB? How do I go about calculating the throughput?
Thank you.
This is my first time working with Eclipse and the FX3, and I have been having a lot of trouble getting even the example First_FX3_App code to work in Eclipse. Any and all help would be incredibly appreciated!
I have been following various documentation for setup from the SDK from Cypress and different forums (this is my first time working solo with an IDE), and worked through a great deal of errors along the way just to hit a real roadblock last week. I cannot for the life of me get any example code to debug or run. It does build, which was encouraging when I finally got that to work, but I have made very little progress since.
Recently, I have been switching around the debugger in debugger configurations, each of which comes up with a different error message:
Debugger: Embedded GSB
Error: 'Launching New_configuration' has encountered a problem. An internal error occurred during: "Launching New_configuration". java.lang.NullPointerException
Debugger: gdb/mi
Error: 'Launching New_configuration' has encountered a problem. Target request failed: Error creating process C:\Users\me\Cypress\ffx3apptest\First_FX3_App\Release\First_FX3_App.elf, (error 193).
Debugger: gdbserver
Error: 'Launching nNew_configuration' has encountered a problem. Target selection failed. /dev/ttyS0: No such file or directory. /dev/ttyS0: No such file or directory. /dev/ttyS0: No such file or directory.
Debugger: MinGW gdb
Error: 'Launching New_configuration' has encountered a problem. Target request failed: Error creating process C:\Users\me\Cypress\ffx3apptest\First_FX3_App\Release\First_FX3_App\elf, (error 193).
I'm not sure which debugger is the correct one, or which error is the lesser of four evils. I've researched each one individually and tried to fix them (cleaning the project, rebuilding the project, reinstalling the SDK and Eclipse, and deleting .metadata are a few methods tried and failed), and I don't really know what else to do at this point given my limited experience with this.
My error for running the project has been the same for awhile:
'Launching New_configuration' has encountered a problem. Error starting process.
Cannot run program "C:\Users\me\Cypress\ffx3apptest\First_FX3_App\Release\First_FX3_App.elf": Launching failed
Cannot run program "C:\Users\me\Cypress\ffx3apptest\First_FX3_App\Release\First_FX3_App.elf": Launching failed
Cannot run program "C:\Users\me\Cypress\ffx3apptest\First_FX3_App\Release\First_FX3_App.elf": Launching failed
I don't know what I am doing wrong, I'm guessing something with configurations, toolchains/gdbs, or even the way I imported the project. I followed the EZ-USB FX3 Development Kit Guide from the Cypress website and selected File > Import > General > Existing Projects into Workspace, and followed the following few directions, but the errors still come up. I have read a few forum posts that allude to that possibly being part of a problem, but it could just as easily be anything else.
Here are some additional details that could be either related or unrelated:
- When I tried testing out a different example project, I ended up with a ton of semantic errors that could only be solved by manually linking all the library/header files to the Paths and Symbols tab in Properties, and even that didn't get all of them. I have since focused only on First_FX3_App, which has no semantic errors.
- For the longest time, the error I kept getting from the debug was "Failed to execute MI command: -exec-run, message from debugger back end: Error creating process C:Users/me/Cypress/ffx3apptest/First_FX3_App/Release/First_FX3_App.elf, (error 193)." After messing with things today and getting all the gdb options as shown above, I've gotten those instead.
- My CYUSB3 board also does not connect over USB3.0, only USB2.0. When plugged in to the USB3.0 port, it does not get recognized at all by the device manager. Not sure what type of problem this is, but it'll be more pressing later.
I appreciate any input or suggestions or questions! It's nice to now be a part of a forum that I've spent so many hours reading in the past month.
Thank you!
Show Less
你好,我想利用CYUSB3014加上一块NANDflash做一款U盘,遇到了一些麻烦。我将DQ0-DQ1设置为数据地址复用线,第一,我需要向flash写入8byte的命令,FX3 API中有相关函数吗?第二,我想利用GPIF状态机进行FIFO读和FIFO写,对FLASH的扇区进行读写操作,怎么控制GPIF一次进行读写512byte?第三,我应该如何设置DMA通道,既能既能解析来自HOST的UFI命令,又能进行数据的传输?
期待您能回复。
Hello,we had buy an CYUSB3KET-003 Demo, and try to use it for an usb device;But,It seem hard to find the fireware
example about USB Device.
Can I simulate USB Flash Disk with CYUSB3KET-003 ?
Have any fireware example that we can do this simulation ?
How can I do it ?
Thanks
Show LessHi Cypress,
I am experimenting with FX3 application note AN75779.
I use FPGA to replace the image sensor and removed all sensor related I2C transactions in FX3 firmware.
The FPGA generates 32-bit data and follows the FV/LV protocol in AN75779. With original fx3_uvc.cydsn I could stream in the LSB of my data.
To adjust for the data width I changed that to 32 bit in fx3_uvc.cydsn. I also changed step size in LD_ADDR_COUNT & LD_DATA_COUNT to 4.
It failed to work after that change.
What should I do now?
Thank you!
Show LessHI,there.
the composite device(UVC+usb-uart ----they are all use IADs) is work in windows,but when i use it in linux ,it just only one device can work.
dmesg | tail -20
[ 3742.954606] usb 2-1.1: New USB device found, idVendor=04b4, idProduct=00f8
[ 3742.954611] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3742.954614] usb 2-1.1: Product: FX3
[ 3742.954616] usb 2-1.1: Manufacturer: Cypress
[ 3742.956050] uvcvideo: Found UVC 1.00 device FX3 (04b4:00f8)
[ 3742.957704] input: FX3 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input16
[ 3742.957965] cdc_acm 2-1.1:1.2: This device cannot do calls on its own. It is not a modem.
[ 3742.957974] cdc_acm: probe of 2-1.1:1.2 failed with error -22
hope someone can help me to solve my doubt.
Many thanks in advance!
Show Less