4.2 Running the Test Application

  1. Perform the Running the Bootloader Application steps for the UART fail-safe bootloader application if not done already.
  2. If the above step is successful, then the LED0 on the SAM E54 Xplained Pro board must start blinking.
  3. Open the Terminal application (for example, Tera Term) on the computer.
  4. Configure the Serial Port settings as follows:
    • Baud: 115200
    • Data: 8 Bits
    • Parity: None
    • Stop: 1 Bit
    • Flow Control: None
  5. Reset or power cycle the device.
  6. The LED must start blinking, and the following output will display on the console:
    • The NVM Flash Bank Can be BANK A or BANK B based on where the program is running.
    Figure 4-5. Application Running on BANK A
  7. Press and hold Switch SW0 to trigger the bootloader to program the firmware in the other Bank and the following output will be displayed on the console.
    Figure 4-6. Application Triggered to Enter Bootloader

Repeat Steps 6 to 8 provided in the section Running the Bootloader Application to switch to the Banks.

  • This step is used to verify that the bootloader is running after triggering the bootloader from the Test Application, and to program the new firmware in opposite Bank.
  • Observe the change in Bank displayed in the Test Application console as compared to the first run as shown in the following figure:
    Figure 4-7. Application Running on BANK B