- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear 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".
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
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So can you try the firmware attched in this KBA which is slavefifo+CDC? I think it may be your firmware that caused this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Are you trying to use the streamer C++ application? There are no firmware in SDK called streamer. In this situation, I suggest you check the Windows environmet. The C++ application contained in FX3 SDK contains source code which can be run in most of the Windows PC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, it is my mistake.
I means I used this example"EZ-USB FX3 SDK\1.3\firmware\basic_examples\cyfxgpiftousb", and the device will be "Cypress FX3 USB StreamerExample Device". And based on this example, I add the CDC according to the offical method.
Thanks
Chad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chad,
Can you successfully send data to bulk out endpoint before you add the CDC interface? Or can you try other firmware in the SDK like BulkSourceSink?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply.
Yes, I can send data to bulk out endpoint without CDC interface.
Is this problem possible with the Operating System?
Thanks
Chad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So can you try the firmware attched in this KBA which is slavefifo+CDC? I think it may be your firmware that caused this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I will try your KBA and re-check my code later. Now I am busying with other functions.
Thanks again.