No device found on COM5 with Bossac on Winwdows 7

I learned from this forum that it is mandatory to have the memory erased to make the Bossac bootloader run. In the case of the Arduino, the Due executes a soft erase command when the IDE opens and closes the COM port. May be someone here have grasp more details on this matter.