A few pointers:
- Can you make a simple program to just blink an output - nothing more?
- Can you make this simple program run with; (1) internal 8MHz osc and x4 PLL [32MHz], (2) external 10MHz osc and x4 PLL [40MHz]?
- Your ground return lines on the PCB look questionable. Looks like you could've used a ground plane, but you chose to run lines back to the connectors. The crystal capacitors are expected to have good ground connections and the PCB does not appear to accomplish this.
- Simple code and possibly a schematic would go a long way to help troubleshoot this. Best guess at the moment is that the PCB is not close to ideal.
Bookmarks