Main Site Documentation

Cerb Mainboard - USB HID


#1

Hello,

I’m new in development with ghi products: I hope my question is in correct forum topics and the answer to my question in not obvious.

I would like to control, with my pc connected with DP module at port marked D, the LED on my mainboad (Cerberus).

I would know if I need other module than DP module and mainboard to develop and debug with VS. If I’ve correctly read documentation, it seems that debugging need another USB or serial module. But as DP module is red, I can’t attach two of them.

Thanks for any help,

Nicolas


#2

@ bauland - Welcome to the forum.

To achieve what you want, you need USB Client CDC support. This is discussed in https://www.ghielectronics.com/docs/20/usb-client .

With version 4.2 firmware, USB client is a premium feature, which is not supported in the Cerberus. With 4.2 there were devices that used the Premium library, and devices which used the OSHW library. The Cerberus is a OSHW device. The OSHW library did not have many extended features that GHI only provided in the Premium library.

With 4.3 firmware, which is in beta, there will only be one library, but not all features will be implemented on all devices. I don’t believe USB Client support has been announced for the Cerberus.

The direct answer to your question [quote]I would like to control, with my pc connected with DP module at port marked D, the LED on my mainboard (Cerberus).[/quote] is you will not be able to do it. You will need a second serial interface.

I have to run now, so I will let someone else discuss how to get a second serial interface.


#3

Thanks for all your replies.

So if I understand, I need a serial-USB module in addition to DP module to achieve communication with cerberus.


#4

@ bauland - short of writting USB code, the answer is yes. Use this module https://www.ghielectronics.com/catalog/product/287


#5

Module received… I’ll give a try !