1.2.2 Target Voltage Not Detected

This error message indicates that the programmer does not detect the supply voltage of the microcontroller. During programming, the microcontroller must be powered and the grounds between the programmer and board must be connected. The programmer can be used to self-power the board, but the output capacity is limited, and must be enabled in the programmer settings. If self-power is not enabled, the programmer will only attempt to detect power on the board. Sometimes faulty USB hubs can momentarily disconnect the programmer/debugger, causing unusual behavior as well.