Hello, Dave.
Since you are sometimes getting a message that indicates your battery voltage is too low, could you try programming it with freshly charged batteries? Could you also try this workaround that Jeremy suggests for a bug with Atmel Studio that you might be encountering when programming.
- Grant
