Atmel ATSAM3S-EK2 Hoja De Datos

Descargar
Página de 71
 
 
 
 
 
26 
Atmel AVR2055 
 
 
8348D-AVR-06/12 
Figure 4-3. Integrated ESP and Meter application architecture.  
MSG Price
DRLC
APS
NWK
MAC & PHY
ZCL
Service
endpoint
ESP
endpoint
Server 
clusters
Client 
clusters
Server
clusters
Server
clusters
OTAU
KE
Bind to Metering cluster 
on ESP endpoint
Discover and bind 
to other devices in 
the network
Meter
endpoint
Time
Metering
Metering
Application
BitCloud
 
4.11 Demonstrating OTA upgrade functionality 
Over-the-air upgrade can be executed on supported hardware platforms by loading a 
special version of the reference application with OTAU support. 
The details of running OTAU differ for each platform. Please refer to an appropriate 
Section listed i
 for the platform-specific instructions. To control the OTAU 
process, the Bootloader PC tool included into the Atmel Serial Bootloader package is 
used (see Chapter
). 
Table 4-12. Platform-specific OTAU settings. 
Platform 
Refer to Section 
XMEGA 
megaRF 
The reference applications should be compiled with the 
APP_USE_OTAU
 flag set to 1 in 
the 
configuration.h
 file. The application image should be converted from 
*.srec
 
format to 
*.zigbee
 format, using the Image Converter utility provided with the Serial 
Bootloader package. 
The ESP device supports the OTAU cluster as the server and will be used to update 
other  devices. For this purpose, the ESP is  connected to a PC serially. The 
Bootloader PC tool from the Serial Bootloader package transfers the provided 
application image to the ESP, which distributes it to other devices. In this case use 
the ‘Passive’ mode in the Bootloader PC tool. 
Another scenario is also possible: a device programmed with the Runner application 
is used as the OTAU server. This ‘Active’ mode shall be used in the Bootloader PC 
tool. The user shall select one of the networks discovered by the Runner device and 
specify security information for the network.