For a handheld device, powered by a Li-ion cell, I need a charge power input. Most standard chips for charging and powering the device are meant for USB power or simular. Since the current standard charging connector for mobile phones is a micro USB connector, it seems best to use that. It means you can use a lot of standard chargers. Agreed?
For the device, I also need a serial debug connection. It is OK to have the 3V3 UART connection on an internal header. This means the device must be opened for debugging and maybe a slot must be made in the enclosure for longer test sessions with enclosure.
But is it possible and/or advisable to use the spare pins on the micro USB connector to bring out the 3V3 UART signals? It would save a header and make debugging in the enclosure a lot simpler. But it must not lead to damage to the device and or (windows/linux/mac) PC when the device is plugged in to a PC. There must not be any strange behaviour on the PC and preferably there must not be any detection by the OS of USB activity.
You could ofcourse use a real USB/serial connection, but that would mean adding an FTDI chip or a big software effort on the DSP (which has USB hardware). It would also mean every PC user has acces to the debug channel, I'm not sure we want that.
So putting the 3V3 UART signals (TX/RX only) on the micro USB and use a special breakout box (possibly with FTDI chip) for debugging seems the most practical solution for now. Any arguments against it? Any experiences with such a setup? And which signal on which pin for least chance on damage and strange behaviour? I know some USB chargers have shorts or resistors on the datalines, so at least a few protection resistors on the device side are required.