9.
Select Programming Options.
10. Click "Run", observe status in status field.
1.5.
Board Assembly
The Xplained Mini board can easily be assembled into a product prototype for software development and
hardware verification.
1.5.1.
Custom Assembly
All signals of the ATmega328PB are available in the Xplained Mini board connector grid, enabling easy
connection of external sensors and output devices in order to prototype the customer specific application.
1.5.2.
Standalone Node
The ATmega328PB Xplained Mini board can be used as a standalone node with an external power
source, e.g. the 4xAAA or 2xAAA battery pack available from Atmel.
1.5.3.
Connecting an Arduino Shield
®
Arduino
shields can be mounted in the marked positions (J200, J201, J202, and J203) .
1.6.
mEDBG Command Line Interface
The mEDBG has a command line interface enabling configuration of the mEDBG.
1.6.1.
mEDBG Low Power Modes
There are two modes enabling the Xplained Mini to save power when connected to an external power
source other than an USB connection.
Sleep Mode where the mEDBG is disabled. When enabled the ATmega32U4 will enter sleep mode if not
enumerated within about 5sec. In this mode the external clock is not available to the target MCU.
1MHz Mode where the mEDBG/ATmega32U4 is set to run at 1MHz, saving power while maintaining the
USB connection for the COM port. The external clock will be 1MHz.
Table 1-1 Available Commands
Mode
Sleep
1MHz
Factory settings 0xFF
1.6.2.
mEDBG Fuse Filter
The mEDBG does not initially allow users to program the CLK related fuses in the target. This is done to
avoid problems with the debugger when the target and mEDBG is not in CLK sync. This filter can be
disabled by issuing the command 0xFE ( bit0 = 0) enabling configuration of all ATmega328PB fuses.
1.6.3.
How to Issue Commands
The command line interface is supported by mEDBG version 1.6 or later.
The mEDBG command line interface can be accessed with the Python script found on
Releases
(mEDBG_script.zip).
Command
External CLK
0xFB (bit2=0)
disabled
0xFD (bit1=0)
1MHz
16MHz (@5V)
8MHz (@3V3)
COM port
mEDBG program mEDBG debug
disabled
disabled
enabled
useless
enabled
enabled
Atmel ATmega328PB Xplained Mini [USER GUIDE]
Atmel-42469A-ATmega328PB-Xplained-Mini_User Guide-07/2015
disabled
useless
enabled
Atmel Spaces
8
Need help?
Do you have a question about the ATmega328PB Xplained Mini and is the answer not in the manual?