Microchip AVR ATmega168P/PA/PB
The AVR ATmega168P, ATmega168PA and ATmega168PB are based on an 8-bit AVR CPU.
| Target name | SoC | Probe | 
|---|---|---|
| 
 | ATmega168P | JTAG(ISP) | 
| 
 | ATmega168P | |
| 
 | ATmega168P | |
| 
 | ATmega168PA | |
| 
 | ATmega168PB | JTAG(ISP) | 
| 
 | ATmega168PB | |
| 
 | ATmega168PB | 
Supported Debug Probes
- Microchip PICkit 4, hooked up for ISP (AVR) programming 
- The built-in JTAG probe of the PLT, hooked up for ISP (AVR) programming 
- The built-in programmer of the Microchip ATmega168PB Xplained Mini board 
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