no miracle to wait for ....
Hi, Steve
Always use series resistors not to reach the maximum port allowable current ...
Sorry, but I do not have better.
Using Brown out detect ... may be (inputs as defaults ... but does not protect from surges from peripherals ...).
Alain
I wouldn't be too sure....
I've even plugged a couple of them backwards. It seems to take a whole lot to fry one. The only way I can think of to really test your chip would be to put the identical program in an identical chip and see if it has the same results.