Main Site Documentation

Cerbuino + CDC


#1

Do I understand it right that the Cerbuino doesn’t support CDC under .NET 4.3?


#2

@ User_8034 - That is correct. The cerb family does not support USB client.


#3

o.k…
I found the article “Communicating with your MicroFramework Application over USB” https://guruce.com/blogpost/communicating-with-your-microframework-application-over-usb where I can manage this over the .NET framework. But my problem here is that the USB is detected, but that the USB controller is in use. I think it is because it is in debug mode.
Is it possible to switch the debug interface to a serial port so that the USB controller becomes free?


#4

@ User_8034 - If you are still using the Cerbuino, you cannot use serial debugging. See https://www.ghielectronics.com/docs/46/fez-cerb-family-developers-guide#399 for what is support on the Cerb-Family.


#5

Is there no possibility to use the USB-Port? For example switching off debugging?


#6

@ User_8034 - Not on the Cerb-Family. You can either use USB host or debugging over USB client.


#7

But I think I can’t connect the USB host port (big one) to a PC for data exchange?


#8

That means I have to use an external USB client module. Is it possible to use this module https://www.ghielectronics.com/catalog/product/330? It is cheap and I don’t need the Gadgeteer capabilities. So I could connect it to COM2. COM1 I need for my application.


#9

@ User_8034 - It is not. That module is only used to expose the existing USB client functionality of a product.

If you need serial communications with a PC, you can look into https://www.ghielectronics.com/catalog/product/287 and https://www.ghielectronics.com/catalog/product/437


#10

or any cheap/alternate TTL USB-Serial module if you’re OK using connecting wires instead of a full module. I like the CP2102’s that are mega-cheap on ebay and have decent drivers, like this one http://www.ebay.com.au/itm/Practical-USB-2-0-to-TTL-UART-6PIN-Module-Serial-Converter-CP2102-STC-PRGMR-E-/261484597085?pt=AU_CablesConnectors&hash=item3ce1b24f5d (edit: if you buy these, buy 5, you’ll always need another one sometime and won’t be able to easily lay your hands on it or extricate it from your other projects)


#11

Hello Brett and John,
does this devices act as a UsbController? Do I get this with this command:
UsbController[] controllers = UsbController.GetControllers();
?


#12

@ User_8034 - Do you mean a USB host controller?