Use a due to reset a esp8266 wifi breakout?

hello.

Right now I have a setup were an esp8266 fetches the weather and time from the web, and the sends it to an arduino due, which displays the information on a display.

however, sometimes either the due or esp8266 (probably the esp) fails to update. If I reset the esp8266, I get update again. So, what I am imagining is pulling the esp8266's reset pin low if the arduino doesn't get its expected update.

And since I'm doing that I might as well make the esp be able to reset the due if it doesn't receive an reply.

assuming they are both powered from the same power source, is it safe to pull pins low (I'm sure I need some sort of resistor to prevent a short if one pin is high and the other is low) and do I need a pull up resistor to prevent floating pins resetting the mcus by accident?

when pulling an UNO/NANO/MINI reset pin low, there is no power surge or short, you can just connect the DUE reset to a pin on the ESP, use a 220 ohm, then just pull the pin low. could not hurt to try that.

but, the odd thing in my mind is start up. if the pins go low on start, then the DUE would be reset, and if that reset the ESP and that had to restart and it sent a pin low, it would restart the Due and if that restarted, and pulled a pin low, it would restart the ESP and if that...........

Yes, that's why I was thinking about a pull up resistor on the reset lines