For one of my project, I need an atmega2560. So I made a PCB with the atmega2560 and ISP headers. But I can't communicate with the atmega2560 There is also an external 16000Mhz oscillator.
Here is what I checked :
- No short circuit
- MOSI, MISO, SCK and RESET all have continuity from the header to the pins
- The programmer used is an arduino Uno with the ISP Programmer sketch on it. (This arduino has been tested and is able to program another arduino uno via ISP)
Here is how everything is wired on the PCB. It's very minimalist : atmega2560, oscillator and two 22pf capacitors
What am I missing ?
I just have one VCC pin of the atmega2560 connected to VCC. Same for ground. Is this okay, or every VCC pin and every GND should be connected ?
Thank you in advance!