5.4 Downloading and Executing the Application

The firmware corresponding to this application note is available at www.atmel.com. The following steps will explain how to program and execute this application.
  1. Open the project in Atmel Studio and compile it. Refer section Demo Project for more information on how to open the solution in Atmel Studio.
  2. To program the target device, go to Project > Project Properties>Tools tab. Select the tool as mEDBG and interface as debugWire as shown in the following image.
    Figure 5-4. Tool and Interface Configuration for Programming
  3. To begin programming, click Start Without Debugging in the toolbar as shown in the following image.
    Figure 5-5. Programming the Device
  4. To debug the code, go to Tools tab. Select mEDBG as Debugger/Programmer with debugWire Interface as in shown in the following image.
    Figure 5-6. Tool and Interface Configuration for Debugging
  5. To start debugging, click Start Debugging in the toolbar as shown in the following image.
    Figure 5-7. Debugging the Device