I am putting my Photon into a box along with other components on a PCB. I am placing the Photon so that its USB connector is accessible from the side of the box. I wished to leave the USB available for diagnostic purposes. The unit will be powered by batteries inside the box.
If someone wished to use the diagnostic port and plugs in a PC to the Photon USB connector, will I need to disconnect the internal battery that is normally powering the Photon or can both the battery and power from the PC via the USB operate at the same time?