Our new system will have multiple TM4C123 MCU and we want to communicate with them through USB bulk device class. Is it possible or we have to change to another USB device class?
We have two EX-TM4C123GXL launchpads and can rum usb_dev_bulk sample code with lmusbdll.lib on single evaluation board successfully. but we configure the second board as
// Set the USB stack mode to Device mode with VBUS monitoring.
USBStackModeSet(1, eUSBModeForceDevice, 0);
// Pass our device information to the USB library and place the device on the bus.
USBDBulkInit(1, &g_sBulkDevice);
and call lmusbdll function
m_hUSB = InitializeDeviceByIndex(BULK_VID, BULK_PID, (LPGUID)&(GUID_DEVINTERFACE_TIVA_BULK), 1, TRUE, &bDriverInstalled);
the returned m_hUSB is always NULL.
Any one can teach me how to communicate two launchpads at the same time by USB? Thanks lot in advance!
Ned