Difference between two usb's on pixhawk 4

Hi,

I have Pixhawk 4 . I wanted to know why there are two usb’s (micro-usb at the side & USB connection on the board). I also wanted information on IO-debug. What’s its use ? I only know that it can be used to establish terminal with which we can interact with Nuttx , but this can also be done with micro-usb and QGC(MAVLink in QGC)?
Please let me know if there is any other function.

Thanks in advance .

As far as I know from previous Pixhawk designs, the USB port is duplicated on a different connector. This allows to extend the USB wiring to another socket. This can handy if the Pixhawk is inside a plane and the USB port is not accessible.

Regarding debug ports: you can read about the debug port works here:
https://dev.px4.io/en/debug/system_console.html

Basically you can get more information on system startup as well as JTAG.

And note that there are two debug ports, one for the FMU and one for the IO processor.

So the two usb’s point to same thing in hardware . Its just an extension . right?

So the two usb’s point to same thing in hardware . Its just an extension . right?

Exactly.