Imote2 platform, downloading tinyos through ARM-USB-TINY-H

Source: Internet
Author: User

Practice based on previous articles


Operating system Ubuntu 10.04
Tinyos 2.1.1


I. Install the cross-compilation chain

1. Download The XScale-elf-GCC compilation chain and go to the download directory.

# Cd <same_directory_as_downloaded_packages>

2. Installation

# Dpkg -- install-force-XScale-elf-*. Deb

3. Test

# Cd $ tosroot/apps/<your app>

# Make intelmote2


Ii. execute script configuration

1. Download the script

# Wget http://www.cs.columbia.edu /~ Msz/WSN/scripts/imote2-ocd-program.py

2. Modify the execution permission

# Chmod + x imote2-ocd-program.py

3. Modify the default configuration, edit/opt/tinyos-2.1.0/support/make/PXA27X/openocd. Extra

Set the default programmer? = ($ PATH)/imote2-ocd-program.py

Changed to programmer? = ($ Your_path)/imote2-ocd-program.py

4. modify configuration in imote2-ocd-program.py

Change the content in the quotation marks after "openocd_cmd ="

Openocd-F interface/olimex-arm-usb-tiny-h.cfg-F board/crossbow_tech_imote2.cfg


3. Download the program

# Cd $ tosroot/apps/<your app>

# Make intelmote2 install openocd


If the above content is unclear or incorrect, please correct it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.