background image

Demonstration Kit User Guide

6-3

5183A–ZIGB–12/07/06

5.

Go back to the Program tab, in the Flash section, browse to the location of the 
input HEX file and select the filename: rz200_v1_0.hex. Press Program and ver-
ify that the process terminates successfully.

6.

Alternatively, fuse settings can be  altered using JTAG ICE mkII.  In this case, 
the Serial program downloading (SPI) enabled; [SPIEN=0] fuse must be 
checked.

6.2.3

How to re-program 
the RCB MAC 
address

The 64-bit IEEE MAC address associated with the RCB is stored in the internal
EEPROM of the ATmega1281 that is on the RCB at address 0 (LSB). If the MAC
address has been inadvertently erased, the following steps can be followed to repro-
gram it into the EEPROM.  This procedure should not be attempted if the RCB has a
valid MAC address.  The following steps can only be performed with the JTAGICE mkII
while AVRStudio is running in Debug mode.  This operation cannot be performed with
the AVRISP mkII included in your Demonstration kit.

The following steps reprogram the MAC address and MUST be completed from start to
finish once the program memory has been loaded (step 4), otherwise the RCB’s MAC
address will be overwritten with all FFs.  

1.

Open AVR Studio.

2.

Connect the JTAGICE mkII to the RCB programming header located on the Dis-
play Board.

3.

From the File Menu, select Open File and open the file rz200_v1_0.hex from the 
CDROM. 

4.

In the Save AVR Studio Project File dialog box, select Save to create a project 
file.

5.

In the Select Device and Debug Platform dialog box, select JTAGICE mkII as the 
debug platform, ATmega1281 as the device, and then select Finish to start the 
AVR Studio disassembler and load the program memory.

6.

Enter drop menu Debug -> JTAGICE mkII Options

7.

Select Debug tag

8.

In the General area, select the ‘Preserve EEPROM contents when reprogram-
ming device’ box and hit OK.

9.

If the EEPROM Memory window is not already open:  from the View tab, open 
the active HEX file’s EEPROM contents by selecting EEPROM from the Memory 
Window drop down list.  The EEPROM memory window should contain all FF’s.

10. Starting at location 0 (the upper most left corner of the window), enter the 16 

byte MAC address printed on the back of the RCB PCB in reverse order.

Note:

The MAC address MUST be written in reverse order in 2 byte pairs, i.e., if the 
MAC address is 00-04-25-FF-FF-17-01-52, the sequence written into the 
EEPROM must be entered as 52-01-17-FF-FF-25-04-00 from location 0. The 
MAC address will automatically be saved to the EEPROM with each keystroke.

11. From the Project tab, select Close Project.  You will be prompted to close and 

end the debug session, select OK.

Caution: 

In the following step, you must select No.  Selecting Yes will cause the MAC

address you just entered to be to permanently saved into the demokitfirmware.hex file.
This will make the file unuseable for other RCBs.

12. You will then be prompted to save the changes to demokitfirmware.hex.  Select 

No.  

Содержание AT86RF230

Страница 1: ...ATAVRRZ200DemonstrationKit AT86RF230 2450 MHz band Radio Transceiver User Guide ...

Страница 2: ......

Страница 3: ... Link RCBs 3 1 3 2 Display Board 3 1 Section 4 4 1 Channel Scan 4 1 4 2 End Device Association Network Configuration 4 2 4 3 Network Operation 4 2 Section 5 5 1 Starting the network 5 1 5 2 Reconfiguring the network 5 3 5 3 Using the network 5 3 Section 6 6 1 Atmel AVR Studio installation 6 1 6 2 Overview of the programming process 6 1 6 2 1 Programming the Display Board 6 2 6 2 2 Programming the ...

Страница 4: ...ii Demonstration Kit User Guide 5183A ZIGB 12 07 06 ...

Страница 5: ...equirements the LR WPAN Low Rate Wireless Per sonal Area Network may operate in either of two topologies the star topology or the peer to peer topology Both are shown in Figure 1 1 In the star topology the communi cation is established between devices and a single central controller called the PAN coordinator A device typically has some associated application and is either the initia tion point or...

Страница 6: ... network IEEE 802 15 4 compliant 1 4 Included in the kit The kit features two component types the Display Board and the Radio Controller Boards RCBs The following items are included in the kit Display Board 1 with AA Batteries 2 AT86RF230 RCBs 5 with PCB Antenna and two AAA Batteries each CDROM containing AVR Studio 4 WinAVR 20060421 Atmel RCB and Display Board firmware User Guide AVRISP mkII In S...

Страница 7: ...ng steps describe device monitoring and the reconfiguration of network devices over the wireless link For more detailed information about the following steps see Section 5 running the demonstration 1 On the Display Board move the power switch toward the edge of the board BAT 2 When the Atmel splash screen is displayed move the power switch on the attached RCB away from the antenna to the ON positi...

Страница 8: ...ction to either an LED unit or one of the three switch units 10 Press SW1 to return to Network Monitor mode and observe the new function of the units 11 When finished return all power switches to the OFF position 12 Please consult Table 7 1 if problems are encountered 13 RCBs must contain a valid MAC address If the MAC address was reset to FF FF FF FF FF FF FF FF you must reprogram the MAC address...

Страница 9: ...ware needed to run the demonstration This aplication is linked to the MAC Medium Access Control PHY and HAL layers that communicate with the AT86FR230 The key components of the RCB are shown in Figure 3 1 Figure 3 1 Key Components of the RCB 3 2 Display Board The Display Board is used to configure and monitor the network devices Key compo nents of the Display Board are shown in Figure 3 2 An RCB m...

Страница 10: ...3 2 Demonstration Kit User Guide 5183A ZIGB 12 07 06 Figure 3 2 Key Components of the Display Board Figure 3 3 RCB Mounted on the Display Board ...

Страница 11: ...Demonstration Kit User Guide 3 3 5183A ZIGB 12 07 06 Figure 3 4 Display Board connectors ...

Страница 12: ...3 2 Demonstration Kit User Guide 5183A ZIGB 12 07 06 ...

Страница 13: ...ion between End Devices is never allowed Figure 4 1 Simple star network 4 1 Channel Scan The process of creating a network begins with the PAN Coordinator Upon power up the PAN Coordinator must select a channel on which to create its network The PAN Coordinator does this by broadcasting a Beacon Request message The PAN Coordi nator repeats this broadcast on all channels from 11 to 26 in search of ...

Страница 14: ... Switch 1 input the third Switch 2 and the fourth Switch 3 Pressing SW1 on the PAN Coordinator completes the config uration of the network and allows the End Devices to operate as defined 4 3 Network Operation Now that the network configuration is complete pressing the pushbutton switch T1 on the End Device corresponding to Switch 1 will send a message to the PAN Coordinator to notify the End Devi...

Страница 15: ... is connected to the Display Board the power switch on the Display Board should be moved to BAT for battery power or EXT for AC Adaptor power The Atmel splash screen is displayed on the LCD display similar to that shown in Figure 5 1 Figure 5 1 Atmel splash screen Note While the Display Board can be powered from an ac adaptor or batteries all of the RCBs must have batteries installed While the spl...

Страница 16: ...ound assign as LED Figure 5 5 Second device found and assigned as Switch 1 Toggles LED1 Figure 5 6 Third device found and assigned as Switch 2 Toggles LED2 Figure 5 7 Fourth device found and assigned as Switch 3 Toggles LED3 The Configure screen is used to reconfigure the network nodes After the nodes have been configured in this screen SW1 toggles the display between the Configure screen and the ...

Страница 17: ... 7 and their captions The switch functions on the Display Board are shown below SW1 Toggles the display between the Configure screen Figure 5 7 and the Network Monitor screen Figure 5 8 SW2 1 When the Configure screen Figure 5 7 is displayed pressing this button changes the highlighted function of the device The functions are LED Switch 1 Switch 2 Switch 3 Joystick The joystick up and down switch ...

Страница 18: ...hen the PAN coordinator receives the frame data indication it updates toggles the state of the LED associated with the switch device The data representing the new state of the LEDs is transmitted to all devices that are configured for LEDs When the LED device receives the dataframe it updates its internal record of LED states displays the state on the physical LEDs and the transaction is finished ...

Страница 19: ...be used for pro gramming the RCBs If the STK500 ISP port is used be sure to remove the VTARGET jumper This should be done to prevent voltage conflicts between the STK500 platform and RCB 6 1 Atmel AVR Studio installation Double click on the AVR Studio installer included on the CD Atmel recommends that you accept the default installation parameters 6 2 Overview of the programming process Both the D...

Страница 20: ...4 5 Go back to the Program tab in the Flash section browse to the location of the input HEX file and select the filename rz200_display_board_v1_0 hex Press Program and verify that the process terminates successfully 6 Alternatively fuse settings can be altered using JTAG ICE mkII In this case the Serial program downloading SPI enabled SPIEN 0 fuse must be checked 6 2 2 Programming the RCB The foll...

Страница 21: ... hex from the CDROM 4 In the Save AVR Studio Project File dialog box select Save to create a project file 5 In the Select Device and Debug Platform dialog box select JTAGICE mkII as the debug platform ATmega1281 as the device and then select Finish to start the AVR Studio disassembler and load the program memory 6 Enter drop menu Debug JTAGICE mkII Options 7 Select Debug tag 8 In the General area ...

Страница 22: ...6 2 Demonstration Kit User Guide 5183A ZIGB 12 07 06 ...

Страница 23: ...OFF Ensure power switch is ON Dead Batteries Check battery condition and replace if necessary The configuration shown in the Configure screen is not transmitted to the network nodes RCB is not attached to the Display Board Ensure that the RCB is attached to the Display Board Network nodes are out of range Bring network nodes back into range of the Coordinator The Test Button does not work The RCB ...

Страница 24: ...7 2 Demonstration Kit User Guide 5183A ZIGB 12 07 06 ...

Страница 25: ...rations 2325 Orchard Parkway San Jose CA 95131 USA Tel 1 408 441 0311 Fax 1 408 487 2600 Regional Headquarters Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH 1705 Fribourg Switzerland Tel 41 26 426 5555 Fax 41 26 426 5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel 852 2721 9778 Fax 852 2722 1369 Japan 9F Tonetsu Shinkawa Bldg 1 24 8 Shinka...

Страница 26: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Atmel ATAVRRZ200 ATAVRRZ201 ...

Отзывы: