Re: Dual Role USB Stack for Harmony?
The project is a PIC32MZ EF platform.I am looking to use Host MSD and Device CDC, for data logging and boot loading with a flash drive, and PC serial communication.
In older MZ projects I've done this before by merging two Harmony projects together (one with Host stack and one with Device stack), but there were issues de-initializing one stack and switching to the other until I modded the stacks slightly (note this was around Harmony 1.04). I also never wrote the code to check the USBID pin to determine the role, and instead required user input to determine the USB functionality.
I'll have to plan on creating this myself again, but I'll keep my eyes open for Dual Role support in the near future.