Can you damage a device using the wrong USB cable? I understand the main difference between a USB and USB-OTG cable is that the later has an ID pin which is grounded, so.does this mean I cannot use a regular USB cable in a OTG (micro-B I believe) port instead of a regular USB cable with the same connector?  Will any damage occur?

Also can power a device from a OTG port like you can with regular USB devices?

Thanks
does this mean I cannot use a regular USB cable in a OTG (micro-B I believe) port


The USB-micro ports (A and B) always have 5 pins so there is no "regular" (4 pin) cable with a micro connector. Any micro usb cable can be used to power the device and no damage will occur.

This means every micro usb connector does physically support OTG. However this does not mean that the controller or the software will support it (You cannot assume that every micro usb device will support OTG).