USB superspeed peripherals Forum Discussions
In debugging our custom boot firmware with the latest SDK, I found that the latest version of elf2img uses the program header data instead of the section data to generate the image.
This causes it to generate an img file that includes writes to address 0x00 through 0xFF, which is reserved for the interrupt vector table and is automatically populated in the firmware initialization.
This would be fine, except when using a custom boot firmware, the boot firmware doesn't avoid writing to 0x00 through 0xFF, and so when the command to write to that section comes in, it proceeds to clobber the vector table with bad addresses. It then promptly crashes andfails.
Either generating an image that avoids writing to 0x00-0xFF or modifying the USB boot code to avoid writing to those addresses fixes the issue, but I'm surprised that this issue has not been hit in your testing.
Show LessSDK Beta4 seems to have broken GPIO config in the IO Matrix structure.
I can override all the GPIO manually, and the boot firmware version of the same thing still works fine, but in the main firmware, if I set CyU3PIoMatrixConfig_t.gpio* to anything but 0, CyU3PDeviceConfigureIOMatrix returns failure.
Everything was working fine in SDK Beta3.1.
Show LessIf I use 19.2M clock instead of 19.2M crystal to drive the clock pin of cyusb3014, should I need to make any other changes such as modify source code example ?
Show LessThe document "Errata for the CYUSB3014-BZXI" says FX3 sometimes can not enumerate with the USB host, and developer has to select other boot method. But I have not a valid Flash or EEPROM firmware. Cypress distributor told me that I can not get a FX3 DVK board until January 2012. So I develop a USB3014 test board by myself. Can someone provide me a Flash or EEPROM firmware, or can I still boot my board correctly with an empty Flash or EEPROM?
The flash and eeprom on my board is the same as FX3 DVK board.
Best regards.
Show LessHello,
I have downloaded FX3 SDK from cypress ftp site and built examples successfully(xxx.elf file generated), but how can I debug it? It seems that eclipse does not support my j-link debugger. Can I use IAR or keil rvmdk to debug my application?
Best regards.
Show LessI use the serial port for debug messages without using flow control. So I want to use the CTS and RTS as GPIO.
I read in the API guide for CyU3PDeviceGpioOverride that " This is an override mechanism and can be used to enable any IO line as simple / complex GPIOs. This should be done with caution as a wrong setting can cause damage to hardware."
It also says - "if the configuration does not match the hardware configuration, it can result in unexpected behavior and hardware damage".
Can you please clarify with an example?
Show LessInto my system, I need to use slave Fifo to send data through Isochrone endpoints. So I need to know the max data flow I can reach with the FX3.
Theorically, I can Declare 16 Isochrone Endpoint, and three 1kB packets per microtrame. What is the configuration I can configure on the FX3 to reach the maximum data flow ?
Thanks for your help
Pascal
Show LessHi,
What's the maximum size of DMA Buffer on the Cypress FX3 ?
I've do some tryies :
- 256 Buffer of 1024 B (256 kB)
- 16 Buffer of 16 kB (256 kB)
But when i want to take more size, the device does not work.
That's possible ? how ?
I'm interested about 512 kB or 1 MB (1024 kB - 1048576 Bytes).
Regards,
Rodolphe
Show LessHello,
the FX2 provides a pin called CLKOUT which could be used to clock some
slave peripheral. How can this be done with the FX3?
Best regards
g.
Show LessHi,
The VBUS connection is a bit confusing. Specifically after reading the application note: AN1168 (Please compare this application note with the schematics).
How should I connect the VBUS to the CYUSB3014 if I only want to use the CYUSB3014 as a cell-power device only (No OTG application). Do I need to use 39K or 62K resistors (AN1168) along with the BLM21PG221SN1D (inductor)? I would appreciate it if you could also specify the whole path from the VBUS pin on the USB connector to the VBUS pin on the CYUSB3014.
Thanks,
Nazila
Show Less