2.3
Compiling and Testing the Project
1.
Click the “
” button <F7> to compile the project.
2.
Verify that no build error appears in Atmel Studio output window.
Figure 2-7. Atmel Studio Output Window
3.
Connect the SAM L21 XPRO to PC (if not already done).
4.
To access the project properties, go to
Project >
STARTUP_TEMPLATE_SAML21_XPLAINED_PRO_B1 Properties
.
Figure 2-8. Compiling the Project
5.
In project properties, click the
Tool
tab, and select the EDBG of SAM L21 Xplained Pro board as
debugger/programmer.
Figure 2-9. Selection of Debugger/Programmer
6.
Open any Terminal application (for example, TeraTerm). Select the COM port enumerated on the
PC and set the following parameters:.
–
EDBG associated COM Port (Check Windows Device Manager)
ATBTLC1000
Creating the Project and Initializing
©
2017 Microchip Technology Inc.
Training Manual
DS00002599A-page 16