G80 cdc

Been a long time since I tinkered with NETMF :slight_smile: - request for help

I am trying to use CDC with the G80


Cdc vsp = new Cdc();
Controller.ActiveDevice = vsp;

Throws exception as

[em]
A first chance exception of type ‘System.InvalidOperationException’ occurred in GHI.Usb.dll
An unhandled exception of type ‘System.InvalidOperationException’ occurred in GHI.Usb.dll

Uncaught exception
The thread ‘’ (0x1) has exited with code 0 (0x0).
Done.
[/em]

ClrInfo.targetFrameworkVersion: 4.3.1.0
SolutionReleaseInfo.solutionVersion: 4.3.8.0
SolutionReleaseInfo.solutionVendorInfo: Copyright © GHI Electronics, LLC
SoftwareVersion.BuildDate: Dec 23 2015

What am I missing. I remember that with USBizi the debug port had to be changed to serial 
 is it still the same ?

TIA

Nope. CDC is gone.

CDC is definitely not gone.

@ iamin - CDC Works on the G80?

@ Mr. John Smith - [quote]The USB client interface is typically used as the G80 debug interface and for application deployment through Visual Studio. However, it is controllable and may be used to simulate other USB devices such as mice, keyboards, and Communications Device Class (CDC) interfaces using low level access instead of the debug interface.[/quote]

@ iamin - So how do you turn it on then?

@ Mr. John Smith - Connect PE15 to GND.

@ Rajesh - Got that?

@ Mr. John Smith @ iamin

Thanks

I was looking for USB debug and CDC dual interface and assume that it does not exist :-(:

https://www.ghielectronics.com/community/forum/topic?id=1321

Here is an old video that I had made to demonstrate the feature :slight_smile:

https://www.youtube.com/watch?v=TtotOUAGS7g

That feature is no longer supported.

@ iamin - So then. It seems I was correct. :-[

@ Mr. John Smith - No, you wasn’t. CDC is supported, but dual interface (Debug and CDC at the same time on the same port) is not. That’s not the same.

@ iamin - However, based on the OP’s message; I knew that he was trying to do just that. Debug and CDC over the same interface. How I miss that functionality.

@ Mr. John Smith - Well, unfortunately, I don’t have such extrasensory powers. However, if your first reply was something like “Dual interface is gone” instead of “CDC is gone” it would be much more accurate.

@ iamin - Touche!