My next step would be to install the electrolytic capacitors as recommended in the Schematic Checklist you mentioned.
If it still doesn't work,
I would go ahead and install all the inductors, etc. recommended in the checklist --
maybe there is a reason Atmel published that checklist :-).
If it still doesn't work, I would fall back on the sorts of errors I often make:
- When I probe the VCC and AVCC power pins with a multimeter, does each and every one of them show I have the correct 3.3 V?
- Is each and every one of the GND pins solidly connected to GND?
- Did I maybe install the PDI connector backwards or upside down again ? Or maybe forget to connect one of its pins to the MCU? (Use a multimeter to beep out the connection, one probe directly on the MCU chip pin, the other at the far end of the cable to the part of the programmer that pin is supposed to be connected to)
- Have I used the multimeter beeper to confirm that I haven't shorted any two adjacent pins?
- Is there maybe something wrong with the Dragon programmer or the cable between it and the board? Does the Dragon program work right when I use it to program some other similar AVR chip, perhaps a through-hole chip crammed into a solderless breadboard?
Could you post a photo of your PCB?
With most digital electronics, even if the PCB is known to be incorrect, it's usually quicker and easier to cut traces and add jumper wires on the prototype until you at least get to the "blink an LED" stage than to wait for another PCB to be fabbed that has fewer problems with it.
10 mm extra trace length is irrelevant in this application. I'm almost certain that is not the problem.
After I've exhaustively made sure that everything is connected properly, as recommended by the manufacturer, and there's no shorts between adjacent traces, and the program still doesn't "recognize" the chip, only then would I conclude the chip is a dud and get a replacement chip.
Later, after you get the programmer to "recognize" the chip and start to program it, then you can think about:
Is there a pin that will toggle to show me it's OK? Kind of a hardware "Hello World"?
Yes.
Blinking an LED is considered the equivalent of "Hello World" in electronics. a b c d
This doesn't happen automatically, though -- you need to connect a pin to an LED and you need to write some code to blink it.
Even after a person programs the other pins to do useful things,
they often leave the code in to blink a "heartbeat" LED a b that once a second or so.
That makes it pretty much instant to confirm that the program is loaded and running,
the right frequency of crystal is connected,
etc.
(Some people deliberately change the blink rate every time they reprogram the chip, just to reassure themselves that the chip is now running with the latest code rather than the old code).
Best Answer
If you have multiple circular indents on the package, and they are all the exact same size and shape, then they are not the identifying indents. In that case the identifying dot will be printed.
In general, though, you have 2 types of indent in the package. Large flat ones are part of the moulding process and are to be ignored. The identifying one is usually smaller and deeper - often with a more concave profile to it.
For instance, take this chip from Creative:
The larger dot in the upper right is a moulding artefact - the one in the lower left is smaller, and they have even gone to the trouble to accent it by drilling a further hole in it.
This one from ITE is more tricky:
Both the dots are the same size and the same depth - however the lower left one has a small bar across it - not easily visible to the naked eye - which highlights it as the identifying corner.
This one is more akin to the Atmel:
You can see the two dots are different sizes. The identifying one is the smaller one of the two. The larger is the moulding artefact.
So in summary: