I've made up a board with an ATmega328P-AU (TQFP package). It has one analog in and one PWM out (yes waste of a chip and yes arduino based).
Problem is that the MCU is getting VERY hot and drawing about 290 mA and the 5V has dropped to 3.3Vish because i have a series resistor on the regulator to help limit current like this. There are no shorts of any of the I/O's used and i've not been able to program it (via AVRISP from the arduino IDE), it comes out with:
avrdude: verification error, first mismatch at byte 0x0000
0x0c != 0xff
avrdude: verification error; content mismatch
Any idea's ?should I try the excruciating experience of removing the MCU ?