USB superspeed peripherals Forum Discussions
I am currently trying to get the openocd debugger to work on windows 11 on the superspeed explorer devkit, and i've followed what the guide showed, but i'm getting some halt related errors:
```log
Open On-Chip Debugger 0.8.0 (2014-12-03-15:43)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Warn : Adapter driver 'cy7c65215' did not declare which transports it allows; assuming legacy JTAG-only
Info : only one transport option; autoselect 'jtag'
adapter_nsrst_delay: 200
jtag_ntrst_delay: 200
adapter speed: 1000 kHz
trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
RCLK - adaptive
adapter speed: 1000 kHz
Error: CyGetDeviceInfo failed
Info : clock speed 1000 kHz
Error: CyJTAGRead returned: 6
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: CyJTAGRead returned: 11
Error: fx3.cpu: IR capture error; saw 0x0f not 0x01
Error: CyJTAGRead returned: 11
Warn : Bypassing JTAG setup events due to errors
Error: CyJTAGRead returned: 11
Info : Embedded ICE version 0
Error: unknown EmbeddedICE version (comms ctrl: 0x00000000)
Info : fx3.cpu: hardware has 2 breakpoint/watchpoint units
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Info : accepting 'gdb' connection from 3333
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
undefined debug reason 7 - target needs reset
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: CyJTAGRead returned: 11
Warn : target not halted
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: CyJTAGRead returned: 11
Error: fx3.cpu: IR capture error; saw 0x0f not 0x01
Error: CyJTAGRead returned: 11
Warn : Bypassing JTAG setup events due to errors
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Warn : srst pulls trst - can not reset into halted mode. Issuing halt after reset.
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: timed out while waiting for target halted
TARGET: fx3.cpu - Not halted
in procedure 'reset'
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Info : Halt timed out, wake up GDB.
Error: CyJTAGRead returned: 11
Error: timed out while waiting for target halted
in procedure 'halt'
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Warn : target not halted
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
```
it never goes into my breakpoints (which are on the main function) and terminates the process.
My config:
The required devices are indeed visible in the usb control center:
Any idea on what i might've missed? I've followed this guide:
https://www.infineon.com/dgdl/Infineon-SuperSpeed_Explorer_Kit_User_Guide-UserManual-v01_00-EN.pdf
Hi,
I have a UVC stream design based on AN75779, now I want to give commands (ex. Auto exposure, white balance etc.) to FX3 board with the same cable which is used for video stream.
I need an idea for how this can be done. Any application note or reference document would be helpful.
Thanks & Regards,
Akash
Show LessI am a newbie white, want to start from scratch to develop a use cyusb3014 as the main control chip uvc camera, more confused, read a lot of documents, still do not understand the use of gpif ii software, how to use, as well as the subsequent write configuration related issues, please ask there are related to the development of routines?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E8%B6%85%E9%AB%98%E9%80%9FUSB%E5%A4%96%E8%AE%BE/cyusb3014-uvc%E7%9B%B8%E6%9C%BA/td-p/725706
Show LessWe' ve been studying "Infineon-AN70707_EZ-USB_FX3_FX3S_SX3_hardware_design_guidelines_and_schematic_checklist-ApplicationNotes-v18_00-EN.pdf" for our PCB design but there is some confusion about some of the recommendations.
1) First of all the track width for the superspeed signals. On page 26/table 10 it is stated that according to USB spec the trace width should be 11 mils (and intra pair spacing 8 mils). Below the table there's a comment saying this can be ignored when the characteristic impedance is 90 Ohms. The 90 Ohms makes sense but we don't understand why it can also be 11 mils as this will yield an impedance mismatch in a variety of cases causing reflections/signal integrity problems. We've also studied the PCB of the "SuperSpeed Explorer Kit Layout", where 6.5 mil traces are used with a ~13.5 mil gap (aka intra pair spacing). But according to our calculations this would yield a differential impedance of ~128 Ohms. So again, why did you deviate from both the 90 Ohm differential impedance AND the 11 mil / 8 mil spacing in AN70707? So what's the best advice keeping all of the above in mind?
2) There's a recommendation to not use VIAs on the XTAL IN/OUT and superspeed traces but the "SuperSpeed Explorer Kit Layout" doesn't follow this recommendation. Why?
3) With super speed signals, when switching layers, a ground VIA should be placed at at least 40 mil distance (page 25, figure 25). But we interpret "at least" as it could also be 80, 800 mil or some other insanely large value. I assume you mean: it should be at least 40 mil but above 40 mil it should be as close as possible to 40 mil, right?
4) There's no VIA size recommendation for super speed signals in AN70707. According to a colleague of mine it's best to use a VIA with the smallest outer diameter as possible, with the biggest drill possible (available at the PCB manufacturer). Again this isn't the case in the "SuperSpeed Explorer Kit Layout" since the VIAs used there for the superspeed signals are larger than the ones used for the BGA fanout. Any recommendations?
Show Less
Hello,
the FX3 TRM has chapter 10.9.4 UIB_POWER with register definition.
It specifies RESETN bit as only readable (R) by software. The description says:
```
After setting this bit to 1, firmware will poll and wait for the ‘active’ bit to assert. Reading ‘1’ from
‘resetn’ does not indicate the block is out of reset – this may take some time depending on initializa-
tion tasks and clock frequencies.
```
Is this bit writable from software (firmware) or is it read-only?
Additionally, 10.17.2 UIBIN_POWER has RESETN defined as R/W and description says:
```
This bit is nonfunctional for UIBIN and will not reset anything. Use UIB_POWER register instead.
```
Can you please clarify this discrepancy?
Thank you
Show Less
Hi Sir/Mam,
We wish to do configuration for FX3 board with our FPGA which is giving video stream at resolution 3264 * 2448 (active resolution) and 2560 * 1440 (active resolution).
I have previously implemented the design for 1920 * 1080 @ 60 fps by taking reference of application note AN75779, but now I want to check compatibility with higher resolutions as mentioned above. I have few questions regarding that -
1. Is FX3 board compatible to stream video data at 2k and 4k resolution?
2. What is the maximum frame rate at which I can stream video data?
3. what is the maximum resolution supported by the board?
4. How to calculate DMA buffer size for changed resolution and frame rate?
Please guide me for the above questions.
Thanks & Regards,
Akash
Show LessHello,
I see SX3 Utility FPGA Configuration has only 4 types of FPGA:
Lattice Crosslink
Xilinx Artix 7
Intel (Altera) Cyclone 10 LP
Lattice ECP5
Does it support another types of FPGA? Microchip PolarFire FPGA, for example: MPF300TL-FCSG536I
Thanks,
Michael
Show Less
Hello,
I'm trying to implement error handling for UVC controls on CX3. When a control is set to an invalid value, the device should respond with a STALL condition. This in turn causes the host driver to query the error code in a separate control transfer.
To do this, I need to read all of the OUT data of the control transfer, validate it, and decide whether to set the STALL condition. However the documentation for CyU3PUsbGetEP0Data has this:
If the control request is to be failed with a STALL handshake, the stall
call has to be made before all of the OUT data has been read. The request
will be completed with a positive ACK as soon as all of the OUT data has
been received by the device.
Is there any way around this limitation? I expected to have some way to keep EP0 in forced NAK until the firmware decides what to do, but nothing I have tried seemed to work.
Thanks!
Show LessHello,
Can the EZ-USB SX3 CYUSB3017 Device stream Video on USB 2.0 Lines and support commands transferring by Virtual COM simultaneously ?
The scenario is: Two Different PC Programs are opened:
- For Video Streaming through USB 2.0.
- For Commands Delivering. Virtual COM exists on USB 2.0. Video Streaming is happening & commands are sent simultaneously.
Can the EZ-USB SX3 CYUSB3017 Device stream Video on USB 3.0 Lines and support commands transferring by Virtual COM simultaneously ?
The scenario is: Two Different PC Programs are opened:
- For Video Streaming through USB 3.0.
- For Commands Delivering. Virtual COM exists on USB 3.0. Video Streaming is happening & commands are sent simultaneously.
Thanks a lot!
Show Less