Hi there,
The Bluetooth module and atmel chip share the same reset pin and connect to 3.3v. you can not reset the through software.
you have to cut the 3.3v signal and add a cable to digital port and then use the software to reset.
you can refer to below schematic for detail.
Thanks
best rgds
Bill