kkursor.ru - Уголок Курсора

Example domain paragraphs

В случае, если атмега не отвечает, поможет снижение тактовой частоты.

The error message you are seeing means that the chip is not responding to the «enable programming mode» command that the programmer is sending. Either you have got the connections wrong, or the programmer is sending the commands too quickly (programming frequency too high).

New AVR chips come configured to use the chip’s internal oscillator as a clock source, with the CLOCKDIV8 («divide clock frequency by 8») fuse set. This means that they run at 1MHz. The maximum programming frequency the chip supports is clock speed / 4, i.e. 250kHz. The USBASP defaults to 375kHz, which is too fast, so you need to slow it down.