Chipcon AS
SmartRF
®
CC2420DBK Demonstration Board Kit User Manual
(rev. 1.3) 2004-11-03 Page 43/ 52
The device used for programming must be connected to the CC2420DB programming socket.
The programming interface uses 4 signal lines. These four lines can be accessed at the 6-pin
connector, P6. The pin out and description is listed in the table below.
Signal/pin AVR
programming
socket, pin
MISO 1
SCK 3
MOSI 4
RESET 5
VCC 2
GND 6
Table 7: ISP header connector
Bootloader
The CC2420DB is shipped with a bootloader. This loader communicates with AVR Studio.
After reset the bootloader must have a way to determine to start the program mode or to run
the application software residing in the application code section of the flash. To start the
bootloader the push button S2 on CC2420DB is used to enter program mode. This button is
held low after reset while starting the AVR Prog from the Tools menu in AVR Studio until the
bootloader program window is loaded. Please see Figure 30 and Figure 31.
Step-by-Step procedure:
1. Connect the CC2420DB serial port to your PC COM port
2. Connect power to CC2420DB
3. Start AVR Studio
4. Hold down the S2 push button.
5. Push and release the S1 (reset button) while still holding the S2 push button
6. In AVR Studio select Tools
→
AVR Prog… from the menu (See figure 22)
7. Release the S2 push button
8. Browse to find your application program *.hex file
9.
Click on the Flash Program button to program the flash
10. Disconnect serial port
11. Reset CC2420DB
12. Start your application program