Microchip AVR ATmega168P/PA/PB

The AVR ATmega168P, ATmega168PA and ATmega168PB are based on an 8-bit AVR CPU.

Target name

SoC

Probe

AVRATMega168P_ISP

ATmega168P

JTAG(ISP)

AVRATMega168P_PK4

ATmega168P

Microchip PICkit 4

AVRATMega168P_XPm

ATmega168P

Microchip ATmega168PB Xplained Mini

AVRATMega168PA_PK4

ATmega168PA

Microchip PICkit 4

AVRATMega168PB_ISP

ATmega168PB

JTAG(ISP)

AVRATMega168PB_PK4

ATmega168PB

Microchip PICkit 4

AVRATMega168PB_XPm

ATmega168PB

Microchip ATmega168PB Xplained Mini

Supported Debug Probes

Fuses and Lock Bits

AVR fuses and lock bits can be set using the avrdude command. Use caution when setting fuses and lock bits, as incorrect settings can render the device unresponsive.

In the following example, the high, low, and extended fuses, as well as the lock bits, are set.

title: "Set AVRATMega168P_ISP Fuses and Lock Bits"
suite:
- title: Set fuses and lock bits
  steps:
  - command: avrdude AVRATMega168P_ISP
    with:
    - "-U hfuse:w:0xdf:m"
    - "-U lfuse:w:0x62:m"
    - "-U efuse:w:0xf9:m"
    - "-U lock:w:0xff:m"

Example PLTcloud Projects

References