I want to use a seperate ATmega328P for to replace some older interface chips (SD <-> 8-bit parallel, and PS/2 -> 8-bit parallel) so i tested if i could program it without having to have the Arduino boot loader on it
i used the Arduino IDE to write a small program that just blinks an LED (1sec on, 1sec off), exported the file as Binary and loaded that onto the chip with the TL866II Plus
Program:
void setup() {
pinMode(8, OUTPUT);
}
void loop() {
digitalWrite(8, HIGH);
delay(1000);
digitalWrite(8, LOW);
delay(1000);
}
i then build the circuit exactly like this:

(sorry for bad quality)
Caps: 22 pF
Resistor: 1 kOhm
Crystal: 20 MHz (like it says on the
site)
and once i powered it it worked... sort of
now here is the problem, the LED is on and off for around 15 seconds instead of the programmed 1 second.
did i do something wrong with the circuit? or the program? when using the binary files i used the one without bootloader, is that the problem or why is the chip so much more slower than it should be.