Atmel ATSAM3S-EK2 Hoja De Datos
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
Atmel AVR2055
65
8348D-AVR-06/12
12.2 Pre-built images
The SDK comes with ready-to-use binary images of the WSN Demo application.
There is a set of images for different roles with different preconfigured MAC
addresses so they can be used to set up a small ZigBee network right away.
Table 12-2. Firmware images supplied with BitCloud PS for SAM3S-EK.
Application
Platform
Location and filename
SE meter
SAM3S-EK
./Evaluation Tools/SEDevice/SE_Meter_RF231.bin
SE in-premise display
SAM3S-EK
./Evaluation Tools/SEDevice/SE_Meter_RF231.bin
SE thermostat
SAM3S-EK
./Evaluation Tools/SEDevice/SE_Meter_RF231.bin
SE energy service portal SAM3S-EK
./Evaluation Tools/SEDevice/SE_Meter_RF231.bin
HA dimmer switch
SAM3S-EK
./Evaluation Tools/HADevice/HA_DimmerSwitch_RF231.bin
HA dimmable light
SAM3S-EK
./Evaluation Tools/HADevice/HA_DimmableLight_RF231.bin
HA occupancy sensor
SAM3S-EK
./Evaluation Tools/HADevice/HA_OccupancySensor_RF231.bin
HA remote control
SAM3S-EK
./Evaluation Tools/HADevice/HA_RemoteControl_RF231.bin
HA TC
SAM3S-EK
./Evaluation Tools/HADevice/HA_TC_RF231.bin
HA thermostat
SAM3S-EK
./Evaluation Tools/HADevice/HA_Thermostat_RF231.bin
Runner
SAM3S-EK
./Evaluation Tools/Runner/Runner_RF212.bin
./Evaluation Tools/Runner/Runner_RF230B.bin
./Evaluation Tools/Runner/Runner_RF231.bin
./Evaluation Tools/Runner/Runner_RF230B.bin
./Evaluation Tools/Runner/Runner_RF231.bin
ZAppSI demo
SAM7X-EK
./Evaluation Tools/Demo/SEMeter(hosted)_SAM7X.bin
PC
./Evaluation Tools/Demo/SEMeter(hosted)_PC.exe
NOTE
Default images of reference devices are preconfigured to operate a network with
standard link security mode on channel
0x0F
with Extended PAN ID
0xAAAAAAAAAAAAAAAA
.
12.3 Programming the boards
12.3.1 Extended (MAC) address assignment
Running any application on top of BitCloud requires that a unique 64-bit MAC address
be assigned to each device using the
CS_UID
parameter. The node does not join the
network unless the address is non-zero and different from
0xFFFFFFFFFFFFFFFF
.
At startup, the software assigns the MAC address as follows: If
CS_UID
is set to zero
at compile time, then the stack attempts to load the MAC address from a dedicated
external EEPROM chip. If such EEPROM is not available, or the address cannot be
obtained, then the MAC address is assigned to 0, and, hence, for correct networking,
the MAC address needs to be changed by the application at run time. If
CS_UID
is set
to a non-zero value at compile time, then this value will be used as the MAC address.
NOTE
In all reference applications, supplied with BitCloud PS,
CS_UID
is assigned at
compile time based on the selected device.
NOTE
The BitCloud stack and applications can be configured to store stack and application
parameters in non-volatile memory (typically, EEPROM). This functionality cannot be
demonstrated with stock SAM3S-EK kits, as there is no external EEPROM on these
boards. It is also not enabled in the reference applications and pre-built binaries
provided with the SDK.