Recent discussions
Hello all,
I have a custom FX3 board with S25FS064S. I programmed the spi flash via control center. I changed the PMODE[0:2] 11F to 1F0 to enable boot from spi flash. When i program a new flash, FX3 can boot from the flash. But when i want to change the img file in the flash, FX3 can't be programmed anymore. I tested the img files with a evaluation board and it worked well with both of the img files. What could be the problem?
Best Regards
Show LessHello all
I am currently attempting to automate and a plug-in to the Cypress EZ USB Suite this is an older IDE version 2012
I keep getting a popup when attempting to connect to the marketplace
"Connection failed
This is most often caused by a problem with your internet connection. Please check your internet connection and retry.
Read timed out"
is there any way to direct this to the correct location. the build server I am on clearly has internet access as I am typing this email.
regards
joshua
Show LessHi Cypress forum,
I want to test the UsbUart code example provided in the FX3 examples (EZ-USB FX3 SDK/1.3/firmware/serialif_examples/cyfxusbuart).
I've read on some other forum discussions, that in order to send under 16 bytes, I need to use the CyU3PDmaChannelSetWrapUp() function (which the code-example does in the USBUARTAppThread_Entry() function).
I have several questions regarding this issue:
- The default input parameter is CyU3PDmaChannelSetWrapUp (&glChHandleUarttoUsb), specifying the AUTO_SIG channel. If I wanted to send some binary data, for example "0xD5", how would I do that? How would I send a stream of data, for example "{0x01, 0x02, 0x03, 0x04}"?
- How do I receive data from the USB? Which function checks data coming from the USB, and how do I verify this? For example if I sent 0x01 from USB --> through UART --> FX3, how do I check that I received the correct input?
- How do I emulate USB data to send through to the FX3? I want to implement modbus, but since it's not readily implemented, I want to send some data with an emulator (or some other way, if you have suggestions?).
- Can I use the debug print UART configuration in my program while using the USB to UART example? If not, can I use it if I run the program on seperate threads? Or should I comment out all cases of my CyU3PDebugPrint (2, "debug print"), as well as my configuration of it?
Hope these questions are straight forward. If you need more information, let me know.
Best regards,
Søren
Show LessHi All,
I'm feeling very stupid asking this question, here goes. I'm using Visual Studio 2019, have used the functions in CyAPI.lib without any problem.
I'm now using CyU3PDeviceGpioOverride and CyU3PGpioSetSimpleConfig but these don't exist in CyAPI.lib.
So in a pure Windows environment how do I link with these functions or must I write them myself as they are overrides?
I've downloaded everything from the downloads page, still none the wiser.
Simon
Show LessDear sir,
I am debugging the CY3014. Now the firmware is stream example, and I also enable the CDC.
When I tring to control it in control center, I got an Error dialog about the ".net framework".
Error dialog
about the details:
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。
************** 异常文本 **************
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 CyUSB.CyUSBInterface.get_Tree()
在 CyUSB.CyUSBConfig.get_Tree()
在 CyUSB.CyUSBDevice.get_Tree()
在 CyControl.Form1.RefreshDeviceTree()
在 CyUSB.USBDeviceList.PnP_Event_Handler(IntPtr pnpEvent, IntPtr hRemovedDevice)
在 CyUSB.MsgForm.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已加载的程序集 **************
mscorlib
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9151 (WinRelRS6.050727-9100)
基本代码: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
mscorlib.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9151 (WinRelRS6.050727-9100)
基本代码: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
CyControl
程序集版本: 1.2.3.0
Win32 版本: 1.2.3.0
基本代码: file:///D:/Program%20Files%20(x86)/Cypress/EZ-USB%20FX3%20SDK/1.3/bin/CyControl.exe
----------------------------------------
System.Windows.Forms
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9136 (WinRelRS6.050727-9100)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9147 (WinRelRS6.050727-9100)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9136 (WinRelRS6.050727-9100)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
CyUSB
程序集版本: 1.2.3.0
Win32 版本: 1.2.3.0
基本代码: file:///D:/Program%20Files%20(x86)/Cypress/EZ-USB%20FX3%20SDK/1.3/bin/CyUSB.DLL
----------------------------------------
System.Windows.Forms.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9136 (WinRelRS6.050727-9100)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。
例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。
If I closed this dialog, and try to run the Control center again, the Control Center could not run.
There is another warning:
I am not sure what happened. Looks like there is exception uncaught. Is there anyone meet this problem before?
Thanks
Chad
Show LessHello all
i am currently trying to automate the build and compile of the Cypress EZ USB IDE and 3 associated projects.
At present I can open the IDE to a certain Workspace, but I cannot find a way to Clean, Build, Compile via Command Line.
Is there a reference document somewhere >?
thanks
joshua
Show LessHello,
There is a question that shows in UART debug.CyU3PSetEpConfig failed, Error code = 77.
I modify the routine named USBIsochloopAuto.My destination is using the iso transfer to transfer data from FPGA to the host.
when i download the FW by control center, there is an error happened.
there is an accessory about my FW and my GPIF design and a picture about the error.
thanks a lot!
The cy7c1062dv33 was used on the CYUSB3KIT-003 board that I have used and tested with. Now I am trying to develop my own board and the SRAM IC is obsolete. What would be the recommended SRAM IC to use? For context I am mostly using the synchronous 32 bit FIFO where the FPGA is only writing data to the CYUSB3014.
Show LessWe are using FX3 with a hub. Hub can power the downstream VBUS with 12VDC. There is 12V/5V DC/DC converter on the FX3 board. So, the power network would be like the following,
FX3 Vbus: supplied by 5V from the DC/DC convert,
FX3 3.3V, 1.8V, 1.2V : supplied by 5V to 3.3V ,5V to 1.8V, 5V to 1.2V DC/DC converter.
Will this power supply topology have any problem with FX3?
I can't load block diagram picture using this new forum system by the way. It would be easy to understand the power network with diagram.
Thanks,
Show Less
USB3CV test fails with following error, When uncompressed format Y16 or Y8 used.
GUID format used for Y8
0x1B, /* Descriptor size */
ES_UVC_CS_INTRFC_DESCR, /* Class-specific VS interface Type */
0x04, /* Subtype : VS_FORMAT_UNCOMPRESSED */
0x01, /* Format desciptor index */
0x04, /* Number of Frame Descriptors that follow this descriptor: 1 */
/* GUID, globally unique identifier used to identify streaming-encoding format: Y8 */
0x59,0x38,0x20,0x20,//Y8
0x00,0x00,0x10,0x00,
0x80,0x00,0x00,0xAA,
0x00,0x38,0x9B,0x71,
0x08, /* Number of bits per pixel */
0x02, /* Optimum Frame Index for this stream: 1 (1596x1300) */
0x00, /* X dimension of the picture aspect ratio; Non-interlaced */
0x00, /* Y dimension of the pictuer aspect ratio: Non-interlaced */
0x00, /* Interlace Flags: Progressive scanning, no interlace */
0x00, /* duplication of the video stream restriction: 0 - no restriction */
/* Class specific Uncompressed VS format descriptor */
0x1B, /* Descriptor size */
ES_UVC_CS_INTRFC_DESCR, /* Class-specific VS interface Type */
0x04, /* Subtype : VS_FORMAT_UNCOMPRESSED */
0x03, /* Format desciptor index */
0x04, /* Number of Frame Descriptors that follow this descriptor: 1 */
/* GUID, globally unique identifier used to identify streaming-encoding format: Y16 */
0x59,0x31,0x36,0x20, // Y16
0x00,0x00,0x10,0x00,
0x80,0x00,0x00,0xAA,
0x00,0x38,0x9B,0x71,
0x10, /* Number of bits per pixel */
0x02, /* Optimum Frame Index for this stream: 1 (1596x1300) */
0x00, /* X dimension of the picture aspect ratio; Non-interlaced */
0x00, /* Y dimension of the pictuer aspect ratio: Non-interlaced */
0x00, /* Interlace Flags: Progressive scanning, no interlace */
0x00, /* duplication of the video stream restriction: 0 - no restriction */