The following steps walk the reader through how to assemble and prepare the STK500 board and the STK501 top module to be used with the RZ502. Then finally how to mount the RZ502 board and configure it to run the evaluation application.
Note:
The following steps must be completed successfully to ensure correct operation of the hardware.
The jumpers are now set correctly and the target voltage is set to 3 volts. This ensures that the AT86RF230 radio transceiver is not damaged and the ATmega1281 will run at 8MHz. The next steps describes how to mount the STK501 top module.
Insert an ATmega1281 into the Zero Insertion Force (ZIF) socket on the STK501. Press the spring-loaded top frame of the ZIF down and gently aligning the device underneath the fine-pitched wires. Verify that pin 1 on the TQFP package (dot in one of its corners) points towards the notched corner of the ZIF.
Ensure that power is turned off on the STK500 board.
Connect the STK501 to the STK500 by using expansion header 0 and 1. Ensure that the EXPAND0 written on the STK501 top module aligns with the EXPAND0 written beside the expansion header on the STK500 board.
Connect PINE1 and PINE2 to the RXD and TXD pins respectively. This can be done using one of the 2-wire cables included in the STK500 starter kit. The RXD and TXD pins are found close to the 9-pins RS-232 connector on the STK501.
To enable the In-System Programmer (ISP) interface, connect a 6-wire cable between the ISP6PIN connector on the STK500 board and the SPROG connector on the STK501 top module.
The RZ502 radio board is added to the STK501 by using its EXPAND1 header.
Find pin 1 on the radio board (Only square pad and with the digit 1 printed to its right). This is pin must align with pin 1 on STK501's EXPAND1 header.
The precompiled firmware used in the following subsection can be found in the "examples\bin" folder of the .zip.
Note:
This particular example assumes that the RZ502 HW is used and that the firmware is the simple Wireless UART.
Connect a serial cable to the connector marked RS232CTRL on the STK500 to a COM port on the PC.
Apply power to the STK500 by moving the power switch toward the edge of the board.
Start AVR Studio and press the "Cancel" button in the Welcome dialog window.
From the Tools menu, select "Program AVR" and "Connect...".
Select STK500 or AVRISP as platform and then press "Connect". Verify that a dialog named "STK500 with STK501 top module" appears.
Open the "Program" tab. Select ATmega1281 from the Device pull down menu.
Select the "Fuses" tab and ensure that the following Fuses are checked/not checked:
Checked: Brown-out detection disabled
Checked: Boot Flash section size=4096 words
Checked: Int. RC Osc.;Start-up time: 6CK + 65 ms
Not checked: Divide clock by 8 internally
Go back to the "Program" tab. Program the flash of the ATmega1281 with the "WirelessUart_stk541/rz502.hex" or "WirelessUartExtended_stk541/rz502_node1/node2.hex" file found in the "examples\bin" folder.
Close the STK500 window.
@DOC_TITLE@
Generated on Wed Jul 25 21:15:50 2007 for AVR2001 Software Programmer's Manual by 1.4.7