5.2 Programming Using ATA UHF Evaluation GUI

This section describes how the user can program the boards using the ATA UHF evaluation GUI tool and the ATSAMC21-XPRO board included in the demo kit.

This method uses the ATSAMC21-XPRO board from the ATA8510-EK1 system.
  1. Comment the Fuse and Lock bit configuration from the source code.
    #include <avr/io.h>
    /*
    FUSES = {
    	.byte = 0xD3, // LOW {EXTCLKEN=CLEAR, RSTDISBL=CLEAR, BOOTRST=SET, EESAVE=SET, WDTON=CLEAR, SPIEN=SET, DWEN=CLEAR, CKDIV8=CLEAR}
    };
    LOCKBITS = 0xFF; // {LB=NO_LOCK, AP=NO_LOCK_ON_SPM_AND_LPM_IN_APPLICATION_SECTION, BLP=NO_LOCK_ON_SPM_AND_LPM_IN_BOOT_LOADER_SECTION}
    */
    
  2. For the next steps, refer to the AN5457 Programming of ATA8510-EK1 Using ATA Evaluation GUI Application Note (DS00005457).
  3. For the transmitter part of the system, perform the following steps:
    1. Load the generated Flash software and the EEPROM file to the ATA5831-XPRO board (EV14T68A). For more details, see Figure 4-1.
    2. As a final step, set the BOOTRST fuse to execute the code from Flash memory.
      Note: This is required because the source code no longer includes the Fuse and Lock bit configuration.
    Figure 5-2. Transmitter Fuse Settings
  4. For the receiver part of the system, perform the following steps:
    1. Program only the EEPROM.
    2. The user does not need Flash or a specific fuse configuration.
    Figure 5-3. Receiver Fuse Settings