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.
- 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} */
- For the next steps, refer to the AN5457 Programming of ATA8510-EK1 Using ATA Evaluation GUI Application Note (DS00005457).
- For the transmitter part of the system, perform the following steps:
- Load the generated Flash software and the EEPROM file to the ATA5831-XPRO board (EV14T68A). For more details, see Figure 4-1.
- 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 - For the receiver part of the system, perform the following steps:
- Program only the EEPROM.
- The user does not need Flash or a specific fuse configuration.
Figure 5-3. Receiver Fuse Settings
