USB superspeed peripherals Forum Discussions
text.format{('custom.tabs.no.results')}
I have a design where I want to read some data from the Fx3 PPORT to an FPGA using the slave interface. I am using a 8-bit bus. I am finding that the data takes 3 clocks from setting the SLRD signal low. I read in the datasheet that it is supposed to be 2. So I am a bit confused why I am getting 3.
Thanks
Show LessHi all,
I think 'FW_TRG' is very convenient.
But' there is only one of FW_TRG'.
When there are other ways to control from firmwares like 'FW_TRG', please tell me.
I'm sorry.
This English is machine translation.
Thanks
Show LessHello, I read through the posts about the I2C EEPROM bootloader in the forum. I am still not clear how to do this. My purpose is as following:
When I try to use vsprintf() in USB EZ Suite I get this error (during link) ...
undefined reference to `_sbrk' SlaveFifoSync line 0 C/C++ Problem
Here's an example function to test it with:
#include <stdio.h>
#include <stdarg.h>
void myDebug(int num, const char * format, ...)
{
char buffer[256];
CyU3PReturnStatus_t apiRetStatus;
int res;
va_list args;
va_start (args, format);
res = vsprintf(buffer, format, args);
if (res >= 0)
{
CyU3PUartTransmitBytes ((uint8_t *)&buffer, res, &apiRetStatus);
}
va_end (args);
}
If you comment out the vsprintf line, the error disappears, indicating that vsprintf is the culprit.
Show LessHi,i am doing a project that use the GPIF II interface as the master to write and read data from a SRAM.In my firmware project ,the DMA size is 512 and count is 2.I have tested successfully to write and read data for less than 1024 bit.And know i want to write and read more data like 8M bit,i do not know how to set my firmware project or whether the GPIF II project should have to set something.
Show LessHello,
Our firmware allows the host to configure the FX3 in a couple different ways. In the default configuration, the host writes data to the GPIF-II over EPs 2/4 and reads back over EPs 6/8. The firmware can also configure the FX3 to loopback what's written on EPs 2 and 4 to EPs 6 and 8. In most circumstances, this works fine. The firmware can switch back and forth between these two configurations without any issue, unless things happen in the following order:
-Switch to the loopback mode.
-Write/read from one of the endpoints.
-Switch back to the default mode.
-Switch back to the loopback mode.
-Attempt to write/read from one of the endpoint.
At this point, libusb will through up an error, LIBUSB_ERROR_OTHER[-99]. That error only appears on the first write or the first read. All subsequent writes and reads using the loopback configuration are correct. Does anyone have any idea what could be causing this?
Slainte,
Jake
Show LessI have a question about the CyAPI.lib and communication to the FX3. I understand that USB 3.0 splits bulk transfers into packets with payloads of 1024 bytes each. I also understand that when a partial payload, or empty payload is received the receiver (in my case the FX3) knows the bulk transfer is complete. I just want to make sure I understand how this is handled.
If I call XferData() from the CyAPI.lib on the host, and pass in a buffer of data to send that has more than 1024 bytes in it, will the CyAPI.lib automatically begin a bulk transfer, split the buffer into packets, and send an empty packet at the end?
Also, does this mean that the FX3 knows (or will know when it receives the empty packet), how long the buffer of data was that I passed in to XferData()?
Show LessIs there an easy way to create S19 files of the FX3 .img files?
Hi..
After compiling the given program, cyfxlowpowertest.c with FX3 EZ USB Suite, I got the following error message. And this
is the case when compiling any other program.
Please tell me what causes such an error, and how to solve it.
Jerry Lin
Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: .s.u....¥¢±..A.].°.s.u...H...@.q......¥.¥..T.^...A...O.s.u..¥.¥¢±..A.cy].°.s.u..¥D.÷.L.k.^...C\r\n.
localhost:3333: .s.u....¥¢±..A.].°.s.u...H...@.q......¥.¥..T.^...A...O.s.u..¥.¥¢±..A.].°.s.u..¥D.÷.L.k.^...C\r\n.