Bootloaders
TelosB
Telosb can be flashed using a bootloader without the need of a hardware debugger or JTAG.
To flash your Telosb mote follow the following steps:
- Browse the openwsn-fw folder to /firmware/openos/bootloader/telosb or download it from here:
- You will see there the script named bsl
- Connect your telosb mote to the usb port (in this instructions we assume it appears as /dev/ttyUSB0)
Execute
python bsl --telosb -c /dev/ttyUSB0 -r -e -I -p your_firmware_hex_file.ihex
Known Issues
Problem: after flashing telosb with an ihex file, the software does not behave as desired. This can mean that it starts but it hangs somewhere or the behavior is not the expected.
Solution: this can be related to compiler optimizations. Try compiling without compiler optimizations and flashing telosb. Note that this can produce larger flash image.
Remove -Os parameter in the following line. If this produces too large code try different optimization levels (-O1, -O2, -O3, -Os)
OpenMote K20
coming soon.