USB superspeed peripherals Forum Discussions
Hi all,
just downloaded SuperSpeed Explorer Kit and tried to compile USBBulkSourceSinkLED project with the following output.
Any help would be highly appreciated.
Thanks.
Best regards,
TBencher
//**************************************************************************************************
21:43:15 **** Build of configuration Debug for project USBBulkSourceSinkLED ****
cs-make all
"\\Mac\Home\Desktop\Workspace\USBBulkSourceSinkLED\Debug"
CMD.EXE wurde mit dem oben angegebenen Pfad als aktuellem Verzeichnis gestartet.
UNC-Pfade werden nicht unterst?tzt.
Stattdessen wird das Windows-Verzeichnis als aktuelles Verzeichnis gesetzt.
'Building file: ../cyfx_gcc_startup.S'
"\\Mac\Home\Desktop\Workspace\USBBulkSourceSinkLED\Debug"
CMD.EXE wurde mit dem oben angegebenen Pfad als aktuellem Verzeichnis gestartet.
UNC-Pfade werden nicht unterst?tzt.
Stattdessen wird das Windows-Verzeichnis als aktuelles Verzeichnis gesetzt.
'Invoking: ARM Sourcery Windows GCC Assembler'
arm-none-eabi-gcc -x assembler-with-cpp -I"C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\\firmware\u3p_firmware\inc" -Wall -Wa,-adhlns="cyfx_gcc_startup.o.lst" -c -fmessage-length=0 -MMD -MP -MF"cyfx_gcc_startup.d" -MT"cyfx_gcc_startup.d" -mcpu=arm926ej-s -mthumb-interwork -g -gdwarf-2 -o "cyfx_gcc_startup.o" "../cyfx_gcc_startup.S"
"\\Mac\Home\Desktop\Workspace\USBBulkSourceSinkLED\Debug"
CMD.EXE wurde mit dem oben angegebenen Pfad als aktuellem Verzeichnis gestartet.
UNC-Pfade werden nicht unterst?tzt.
Stattdessen wird das Windows-Verzeichnis als aktuelles Verzeichnis gesetzt.
arm-none-eabi-gcc: error: ../cyfx_gcc_startup.S: No such file or directory
arm-none-eabi-gcc: warning: '-x assembler-with-cpp' after last input file has no effect
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
cs-make: *** [cyfx_gcc_startup.o] Error 1
21:43:15 Build Finished (took 516ms)
Show Less
Hello, recently I met a problem that when I call CyU3PEventGet, it always return 5 (CY_U3P_ERROR_BAD_SIZE), instead of return 7 (CY_U3P_ERROR_NO_EVENTS). Do you know which cases would trigger this?
Thanks in advance.
Show LessHello, recently I'm developing on the fx3 chip, and I'm wondering when should I call CyU3PUsbSendEP0Data to get the data from a control transfer. Must I call it in side the callback that is register in CyU3PUsbRegisterSetupCallback? Or could I also only check there is a new control transfer in that callback and call the CyU3PUsbSendEP0Data later in the main thread (AppThread_Entry)?
Thanks in advance!
Show LessHi team,
I am using CX3 based custom board. To update the firmware I have developed a DFU host application in Windows using VS. I need to develop a host application which can update my device's firmware. I am trying replicate the windows logic in Linux but I haven't found some equivalent libraries in linux like setupapi.h etc.
Could you please suggest me some tools to get an DFU application ?
Thank you,
Abdul.
Show Less
I have an cyusb3.0kit, which use fx3 MCU, and I am trying to communicate with another IC via 16bit-bus.
I need to make WRN (Write enable) pin high for 30ns, send the data to the BUS then make WRN low.
But i tried to use CyU3SimpleGPIOSetValue() and it seems to be the smallest rate of GPIO pin is 1us. So how should I do now. I tried something like that:
For(;;) {
CyU3SimpleGPIOSetValue(LED_Pin, 1);
CyU3SimpleGPIOSetValue(LED_Pin, 0);
}
and used an ossiloscope to measure the LED_Pin. How can I make a 30ns delay while the CyU3SimpleGPIOSetValue() function take 1us itself to implement?
Show Lesshi,I use fx3 transfer video to PC with UVC.
my camera is 1920*720@30fps YUV2.
I updata cyfxuvcdscr.c file of AN75799.
0x10, /* X dimension of the picture aspect ratio; Non-interlaced */
0x06, /* Y dimension of the pictuer aspect ratio: Non-interlaced */
/* Class specific Uncompressed VS frame descriptor - 1 (720p) */
0x1E, /* Descriptor size */
0x24, /* Descriptor type*/
0x05, /* Subtype: uncompressed frame I/F */
UVC_SS_720P_FRAME_INDEX, /* Frame Descriptor Index */
0x02, /* Still image capture method 2 supported */
0x80, 0x07, /* Width in pixel: 1280*/
0xD0, 0x02, /* Height in pixel: 720 */
0x00,0x00,0x8D,0x27, /* Min bit rate bits/s - 1280*720*16*30 = 0x1a5e0000*/
0x00,0x00,0x8D,0x27, /* Max bit rate bits/s */
0x00,0x76,0x2F,0x00, /* Maximum video or still frame size in bytes(Deprecated)*/
0x15, 0x16, 0x05, 0x00, /* 30fps */
0x01,
0x15,0x16,0x05,0x00,
0x80, 0x07, /* Width in pixel - 1280 */
0xD0, 0x02, /* Height in pixel - 720 */
it works, PC can show video.
but 30fps is unstable, first is 30fps for seconds, and then down to 6fps ,and up.but 81001KB is stable.
Please help,thanks!
Show LessHi All,
I have been working with CYUSB3065. During board bring up I ran into an issue where the device is not visible in the control center. We have checked all the clock, and voltages and they are as expected. After further debugging we found that USB_IN_P is remaining high when it is connected to a PC. We have removed L2 from the attached image and still, we are getting 3.3V on USB_IN_P.
Please help me understand how this pin can be high.
FYI in our older revision board, it is low.
Show LessWe are using the the FX3 chip for a camera design.
The code we use is based on the AN75779 example design.
Basically, it works well, but we have a problem with that single DMA packets from the GPIF interface sometimes "disappear", resulting in a mismatch between the packets coming from the two interleaved DMA channels. In the picture we then get a horizontal striping effect that persists until the next time we get a packet loss and everything jumps back to normal.
This packet loss happens at any time, but is much more likely to happen right in the beginning, when streaming is started.
We see two cases, resulting in the same sympthom:
- First DMA packet (from GPIF) in the image has size zero, all frames after that will have the striping effect.
- One packet anywhere in the frame is lost, resulting in one frame being one packet shorter. All frames after that will have the striping effect.
We have in the CyFxUvcApplnDmaCallback() function implemented a log-function that recodrs every packet, its length, which buffer is used and also the consumer packet status.
If anything then is detected to be unusual, we print the history to the terminal so we can scrutinize the details. This is done in the non-timing critical part of the code.
We have spent quite a bit of time analyzing and also measuring with oscilloscope (indicating different actions in the code at extra HW pins) to try to understand what goes wrong, but it seems to be something internal in the DMA handling, outside our control.
Do you have any hints on what can cause this and how it can be avoided?
Best Regards,
Magnus
Hi, I'm an engineer developing USB controller using CX3 yours.
I develop USB controller to serve image data between host and image sensors.
But I have faced some problems so I wanna debug on CX3.
I wanna check data from image sensor to CX3.
So I'm looking the 'CyCx3UvcAppDmaCallback()' function but the function is stuck if it is without consumer via usb.
How can I solve this situation? It is possible to drop DMA data without consumer event?
Thanks.
Show LessHello
For LED control, I am thinking of controlling GPIO High/LOW with FW. However, I would like to synchronize the GPIO High/LOW switching with the Frame signal of the image sensor, but is it possible to control the GPIO by synchronizing it with the "Frame signal" with the CX3 F/W?
If possible, how do we specifically sensor Frame singnal synchronize with the CX3 F/W?
Best Regards
Show Less