Might be worth some scoping around on the 5 volts to the micro. I would be real curious looking at the output of the regulator vs at the board.Just installed the diodes in parallel with the resistors at the gates, and the fets are no longer warming up. But most importantly, the MCU is not resetting itself either, even with a duty cycle of up to 50% (I don't intend to use more than that)
I'll be installing those diodes on the high-side fets only, since they're the only ones being switched for PWM.
This tells me an important thing: the EMI responsible for MCU reset is produced only during switch-on. That is, the inrush current to the motor is the one affecting the circuit, and not its disconnection.

