itm / testbed-runtime

WISEBED Wireless Sensor Network Testbed Infrastructure Software
https://github.com/itm/testbed-runtime/wiki
15 stars 11 forks source link

TR doesn't recognize iSense nodes when MAC broken #352

Closed danbim closed 10 years ago

danbim commented 10 years ago

On iSense nodes sometimes the MAC address gets corrupted by a corrupted node image. The gateway process currently recognizes nodes by reading the MAC address that is stored on the core modules flash memory. This way, when the MAC gets corrupted the gateway can not recognize a node anymore. An alternative is to use the serial number string descriptor stored on the serial-to-USB converter FTDI chip instead. This descriptor can not be broken by a corrupted image but has to be written manually using e.g., "FTProg" from FTDI to overwrite the EEPROM. Using this, the gateway process can detect a broken MAC address (comparing MAC read and MAC configured in the DeviceDB for a given serial number) and automatically repair the MAC address.

danbim commented 10 years ago

All fixed. Detailed description on how to use this: https://github.com/itm/testbed-runtime/wiki/Frequently-Asked-Questions#isense-nodes-and-broken-mac-addresses.