Figure 2-5 Tool and Interface Settings
on page 13 Tool and Interface
Settings.
Figure 2-5 Tool and Interface Settings
7.
To program and execute the application, there are two options:
–
Start a debug session on the board, where the user will be able to program and debug
–
Program the generated .hex file into the controller and execute the application
Both these options can be configured on ATmega328PB Xplained Mini as shown in
on page 13 and
Figure 2-7 Start Debugging and Break
on page 13.
Figure 2-6 Start without Debugging
Figure 2-7 Start Debugging and Break
Note:
If the debug mode is not exited by selecting
Disable debugWIRE and Close
in the
Debug
menu,
the DWEN fuse will be enabled and the target will still be in debug mode, i.e. it will not be possible to
program the target by using the SPI .
Atmel AT08401: Getting Started with Atmel ATmega328PB [APPLICATION NOTE]
Atmel-42482A-Getting-Started-with-ATmega328PB_AT08401_Application Note-08/2015
13