USB superspeed peripherals Forum Discussions
Hi all,
does anybody know a way how can I change the contents of USB-descriptors after compilation in the .img-binary?
Can I determine the location of the descriptors in the .img-file by some linker-commands or something like that?
Thanks!
Show LessJust got the Benicia DVK yesterday and have a big question about PMMC, the reason to use Benicia is because it has build-in eMMC 4.41 host controller, that means I can issue COMMAND to access eMMC instead of read/write only, but from datasheet, PMMC is activate when connecting to a application processor with eMMC host. But if I already had eMMC host on the host AP, why I still need an additional Benicia to access eMMC?? Is it possible: MMC_D0 - MMC_D7/ MMC_CLK / MMC_CMD connect to eMMC device and then use PMMC interface to access eMMC device?
Thank you!
Show LessHi,
I would like to use the FX3 for my upcoming FPGA boards (www.ztex.de).
Unfortunately the informations I found on the Cypress homepage are totally insufficient.
Please, can you provide me with the following information:
* The Technical Reference Manual (at least a preliminary version)
* The SDK package
Regards Stefan
Hi!
I use streamer to read data from USB bord(3014). if I select 256 packets per xfer the speed can arrive at 320MBps. however after I detect the data I found that I lost some data. but if I select 8 packets or smaller the speed can arrive at 260MBps. but I can receive all the data.
So I want to ask that why I lost data with the larger number of packets per xfer.
many thanks!
dekui
Show LessHello,
I'm trying to use the GPIF for a simple application : interfacing a NAND flash. I designed some state machines :
- writting a command
- writting an address
- writting data
- receiving data
I created 2 DMA channels (one for transmitting data, the other to receive) agtnd attached them (through socket 0 and 1) to my state machines.
To produce a NAND command, i switch between stat machine to send command, address and write or read data.
When i need to send data, i get a buffer (DMA channel get buffer), fill it and commit it and when i have to read data, i get a buffer and discard it after processing it.
I'm working with DMA buffer up to 8192 bytes (a nand page). All seems work except :
- during the read phases, sometime the FSM is stuck in the start state, waiting for a DMA_RDY_1 condition, like the previous discard didn't work. The getbuffer call returns me a buffer with a count to 0. My current workaround is to discard these '0 count' buffer and trying to get another one.
- the other MAJOR issue is the commit time : in transmission, getting a buffer (8192) + memcpy it + committing it takes 2,5 milli second !!!!! I have the same thing when i'm reading data. During command and address phase, comminting a 1 or 5 bytes buffer takes 60 micro second !
How to fix that ?
Show LessHello everybody
i am trying to use cyfxbulkstream for debugging. I followed FX3 programmers manual Chapter 12 on setting up the j-link debugger. Now when i try to build the project i get this errors
**** Build of configuration Debug for project USBBulkStreams ****
cs-make all
'Building target: USBBulkStreams.elf'
'Invoking: ARM Sourcery Windows GCC C Linker'
arm-none-eabi-gcc ./cyfx_gcc_startup.o ./cyfxbulkdscr.o ./cyfxbulkstreams.o ./cyfxtx.o -T"C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\firmware\common\fx3.ld" -nostartfiles -Wl,-Map,USBBulkStreams.map -Wl,-d -Wl,--no-wchar-size-warning -Wl,--entry,CyU3PFirmwareEntry "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a" "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\\firmware\u3p_firmware\lib\fx3_debug\cyu3threadx.a" "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a" "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\lib\gcc\arm-none-eabi\4.5.2\libgcc.a" -mcpu=arm926ej-s -mthumb-interwork -g -gdwarf-2 -o"USBBulkStreams.elf"
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-sbrkr.o): In function `_sbrk_r':
sbrkr.c:(.text+0x18): undefined reference to `_sbrk'
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-writer.o): In function `_write_r':
writer.c:(.text+0x20): undefined reference to `_write'
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-closer.o): In function `_close_r':
closer.c:(.text+0x18): undefined reference to `_close'
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-fstatr.o): In function `_fstat_r':
fstatr.c:(.text+0x1c): undefined reference to `_fstat'
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-isattyr.o): In function `_isatty_r':
isattyr.c:(.text+0x18): undefined reference to `_isatty'
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-lseekr.o): In function `_lseek_r':
lseekr.c:(.text+0x20): undefined reference to `_lseek'
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.0\arm-none-eabi\lib\libc.a(lib_a-readr.o): In function `_read_r':
readr.c:(.text+0x20): undefined reference to `_read'
collect2: ld returned 1 exit status
cs-make: *** [USBBulkStreams.elf] Error 1
Do you have any idea what is wrong. I am missing something?
Regards
Show LessI've downloaded FX3DVKSetup.exe and am having trouble installing it. I've tried both as a regular user, and as Administrator, and every time it crashes when "Installing" FX3DKSetup.exe.
I'm running XP Professional Version 2002 Service Pack 3 in a VirtualBox VM. I suspect running in a VM may be the problem, but I'd like someone to confirm.
I found the linux version, which I might actually prefer, except it simply contains 4 tarballs, and no installation instructions.
I also found FX3SDKv1_1_1.exe, which appeared to complete installation, but the only thing it seems to install is "Cypress Update Manager" which shows only an option to configure or uninstall "EZ-USB FX3 SDK 1.1.1". Configure gives the following errors: "unable to get updates from update server. Please check for network connections / Contact Cypress Support" and "The installer is unable to download installation information. Please check your proxy and internet connection and try again. Details Error The remote server returned an error: (404) Not Found. while downloading file 44_install_catalog_v3.xml from url link http://updates.cypress.com/updates/fx3sdk/1.0/rr_install_catalog_v3.xml"
(I know it's not my VM network settings, because I can browse Google, and that's a 404 error)
Someone please tell me how to install this thing? I'm mostly interested in using the CYUSB3KIT-001 and the project in AN75779
Show LessDoes INT# work in Slave FIFO 32-bit mode?