DS1388 RTC strange clock reset behaviour

I have been using a DS1388 RTC with EEPROM for a project and have been getting interesting behavior out of it...

I have eliminated code as the problem, as well as the battery. (I think)
The only problem area I can think of is the power source. I am using digital outputs to power it, 24-26-28, whenever I leave the RTC hooked up and download a new program to the DUE the clock/calender registers get reset. The EEPROM retains its value. If i remove the RTC, download a new program to the DUE, then add the RTC with a query-only program running I see it retains the time. There is a backup battery going to the chip the whole time. Could downloading a new program to the DUE cause the RTC to reset somehow?

I am using the 3.3v version of the RTC and when I use the regular 3.3v power on the board I don't get this behavior, only when powered with the I/O.

edit- just wanted to add that the voltage on the I/O pins is about 1.6v during download, I think maybe the floating voltage is doing it. I tried grounding the I/O with a 5k and it drops to .43v, still does it though