Arduino Due NRST, NRSTB Rsest pin and Backup RTC battery

Hi guys,

If You wanna use internal SAM RTC without clear time after each reset - You have connect battery and crystal and replace connection from NRSTB to NRST pin. Of course its work, but when You compiling program and load into mCpu they not reset - necessary plug OFF power. Is any solution that board will be rebooted after each load new compilation? Its depends from Atmega 16u2 or SAM-BA?