A "virgin ATMEGA328P" can be write without clock crystal please ?

Hi there all,
I just play with MiniCore bootloader and I program some 328P that I have around,
using internal 4mHz clock by using an USBASP programmer.

The problem is that some of my 328P is write and some of 328P is not write.

But if I program the "328P not writed" with an external 16mHz crystal at first time,
then I can reprogram it at second time without using an external crystal.

So, because I don't need an external crystal on my final project,
and because I'll order some PCB with already soldered ATMEGA328P (SMD format),
I want to know if I must put an external crystal or not on this PCB in order to write
the bootloader at first time.

Thanks all in advance
Denis

No crystal is needed on a fresh from factory ATMEGA328 chip. It is set at 8MHz internal with a divide by 8 scaler, giving 1MHz operation.

Great... thanks a lot :slight_smile:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.