Re: USB Hub support?
Just an extract from the GB002 errata 'While operating in Host mode and attached to a
low-speed device through a full-speed USB hub,
the PRE signal may not be generated correctly.
This will result in not being able to communicate
correctly with the low-speed device.
Connect low-speed devices directly to the
application and not through a USB hub.'
As suggested above use a PIC32 harmony project. Under V2.06 there is a hub/cdc/hid project on the MZ Ef starter kit.
Or as I think already suggested. Use 2 PIC24s. And connect together using uart or spi to concentrate the two interfaces together. Can be very hard debugging hubs without the correct h/w tools.