Based upon the TinyOS-Bootloader for the Imote2, a new, completely rewritten Bootloader was developed.

Outline

  1. Comparison old vs. new version
  2. Documentation
  3. Installation
  4. Download
  5. References
  6. Authors

Comparison old vs. new version

Disadvantages of the standard-bootloader (preinstalled/TinyOS):

Advantages of the new version:

Documentation

Currently the documentation is only available in german - and is released by a bachelor thesis. A technical report will be published in english.
Implementation details can be found in the doxygen-documentation (soon).

Codeloader vs. Bootloader

This small image should illustrate the difference between the two names "bootloader" and "codeloader". The bootloader resides on the Imote2 and is static, except for your new releases. The codeloader is a small Java program and is located on the pc-side. The new image is sent by the codeloader via USB cable to the bootloader on the Imote2.

Installation instructions

Building an image for the Imote2 platform

NOTE: Your "old" TinyOS applications won't run directly by using the new code-/bootloader. We have changed the image location, which makes it neccessary to relink (recompile) your source code with the new linker script and the changed object files.

First, you have to download imote.a and imote2.ld. After compiling the image with xscale-elf-gcc / xscale-elf-g++, the linker stage needs to be adjusted. If you have the objects a.o and b.o, and your final image should have the name image.out the command line for the C++ version will be:
xscale-elf-g++ -o image.elf a.o b.o -Wl,-whole-archive imote.a -Wl,-no-whole-archive -nostartfiles -T imote2.ld
xscale-elf-objcopy -Obinary image.elf image.out

Using Codeloader to flash Imote2

Uploading a simple image to the new bootloader. Consider you want to flash image.out:

java -jar codeloader.jar -file image.out
After starting the Imote, the image will be transferred.
Details on using the codeloader (i.e. configuration files)

NOTE: The new bootloader will only accept new images at boottime. This is wanted and expected behaviour and not considered as a fault.

Download

References

Authors

Concepts and realization by



 

 
Email an den Verantwortlichen dieser Seite (kraemer@informatik.uni-kl.de)

 
This page in english. Diese Seite auf englisch.