create new tag
, view all tags
After the software is downloaded and installed, the desired code can be flashed onto the device by following these steps:
  1. Open project in AVR Studio.
  2. Edit the project as desired.
  3. If any new files have been added, be sure to update the makefile included in the project.
  4. Select “Build -> Rebuild All”.
  5. The SPR.hex file should be generated and saved in the project directory.

Now that the code has been compiled successfully, it can be flashed onto the microcontroller using Flip. After the program is open:

  1. Hold the reset button on the Smart Packet Radio. Whilst the reset button is held down, hold the HWB button simultaneously. Let go of the reset button, followed by the HWB. This places the microcontroller into DFU mode and allows it to be programmed via USB. NOTE: No fuses on the microcontroller can be changed via USB.
  2. From the toolbar “Device -> Select” and choose AT90USB1286 from the list.
  3. Select the “Load hex file” button and navigate to the .hex file generated previously. Figure - Flip Toolbar
  4. Select the “Open communications medium” button and click USB. Then click “Open”. If this doesn’t work reset the device and repeat from step 1.
  5. Click “Run” in the bottom left hand corner and once the device is programmed click “Start Application” in the bottom right.
The software should now be loaded on to the device.

-- XiaohongWu - 2012-01-31

  • F4:
Topic revision: r1 - 2012-01-31 - XiaohongWu
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback