The idea here would be to use a USB 2 port hub to break out both the USB UART debug port and the USB HS mass storage port (what would allow us to easily move captured thermal images to a host PC) through a single USB connector. The hub would enumerate as a generic hub and expose both the FTDI UART device and the PIC32MZ DA HS USB port like any other device.
The idea would be that the hub IC would be powered by VBUS, and could remain unpowered when a USB connector is not connected (I think?). There may be complications with this due to DC leakage paths from the PIC to the unpowered hub IC.
An alternative would be to just use two USB connectors, which I'm also ok with
The idea here would be to use a USB 2 port hub to break out both the USB UART debug port and the USB HS mass storage port (what would allow us to easily move captured thermal images to a host PC) through a single USB connector. The hub would enumerate as a generic hub and expose both the FTDI UART device and the PIC32MZ DA HS USB port like any other device.
The idea would be that the hub IC would be powered by VBUS, and could remain unpowered when a USB connector is not connected (I think?). There may be complications with this due to DC leakage paths from the PIC to the unpowered hub IC.
An alternative would be to just use two USB connectors, which I'm also ok with