Atmel ATmega168PB Xplained Mini¶
ATmega168PB Xplained Mini
Vendor: Microchip Technology
MCU: Atmel AVR ATmega168P(B): ATmega168P
Sample Firmware
8led_1hz.hex
: Example firmware for ATmega168P/PB
Program ATmega168PB (USB)¶
To program the ATmega168PB of the ATmega168PB Xplained Mini using its built-in programmer, hook up the Xplained Mini micro-USB port to any of the USB ports in the back of the PLT.
YAML test plans
atmega168pb-XPmini-erase.yaml
: Test plan to erase ATmega168PB over USB
title: "Erase ATmega168PB through USB"
suite:
- ident: ICT-T1
title: Erase ATmega168PB
steps:
- command: erase AVRATmega168PB_XPM
atmega168pb-XPmini-program.yaml
: Test plan to program ATmega168PB over USB
title: "Program ATmega168PB through USB"
suite:
- ident: ICT-T1
title: Program ATmega168PB
steps:
- command: program AVRATmega168PB_XPM 8led_1hz.hex
Program ATmega168PB (ISP)¶
To connect the ATmega168PB of the ATmega168PB Xplained Mini over ISP, hook up the Xplained Mini ISP connector to the JTAG port of the PLT.
PLT-200A JTAG pin |
PLT Signal |
AVR Function |
ISP Pin |
AVR Signal |
---|---|---|---|---|
1 |
|
VCC |
2 |
Vcc |
2 |
|
RESET |
5 |
PC6 |
3 |
|
GND |
6 |
GND |
4 |
|
SCK |
3 |
PB5 |
6 |
|
MISO |
1 |
PB4 |
8 |
|
MOSI |
4 |
PB3 |
YAML test plans
atmega168pb-erase.yaml
: Test plan to erase ATmega168PB
title: "Erase ATmega168PB through ISP"
suite:
- ident: ICT-T1
title: Power ON
steps:
- command: power JTAG on
- command: sleepms 500
- ident: ICT-T2
title: Erase ATmega168PB
steps:
- command: erase AVRATmega168PB_ISP
- ident: ICT-T3
title: Power off
steps:
- command: power off
atmega168pb-program.yaml
: Test plan to program ATmega168PB
title: "Program ATmega168PB through ISP"
suite:
- ident: ICT-T1
title: Power ON
steps:
- command: power JTAG on
- command: sleepms 500
- ident: ICT-T2
title: Program ATmega168PB
steps:
- command: program AVRATmega168PB_ISP 8led_1hz.hex
- ident: ICT-T3
title: Power off
steps:
- command: power off
References