Support for the Mega1284P-Xplained board. More...
Support for the Mega1284P-Xplained board.
The Mega1284P-Xplained is an evaluation kit by Atmel (now Microchip) for their ATmega1284P microcontroller.
You can change the fuses and flash the board using an SPI ISP programmer such as the Bus Pirate, or using a JTAG programmer such as the Atmel-ICE with a JTAG adapter.
If using the Atmel-ICE as a JTAG programmer, connect the adapter with the square pin on the adapter connecting with the square pin on the board.
First, make sure the default fuse settings are correct.
WARNING: setting the fuses incorrectly can brick your board!
If using the Buspirate:
If using the Atmel-ICE:
After the fuses are set, flash the application.
If using the Buspirate:
If using the Atmel-ICE:
STDIO can be accessed through the USB connector. The on-board UART-USB adapter is not affected by flashing. It shows up as /dev/ttyACM0 on Linux. It will be used automatically with make term
:
More pins can be used for hardware interrupts using the Pin Change Interrupt feature. See ATmega common for details.
Files | |
file | adc_params.h |
Board specific configuration of direct mapped ADC. | |
file | gpio_params.h |
Configuration of SAUL mapped GPIO pins. | |
file | mega-xplained_pinmap.h |
Mapping from MCU pins to Mega Xplained pins. | |
file | periph_conf.h |
Common configuration of MCU periphery for Mega Xplained. | |