Serialization - Utah-WiESEL/wren_wsn GitHub Wiki

Install WRENSerializer

Step 1.

cd tinyos-prod/apps/tests/wiesel/WrenSerializer/

Step 2.

make wren install,0x00 i2cbsl,/dev/ttyUSB1

Note: where ttyUSB1 is the serial port for the bus pirate.

Starting Serializer

Step 1.

cd tinyos-prod/apps/tests/wiesel/WrenSerializer/

Step 2.

Open second Terminal and cd tinyos-prod/support/sdk/c/sf

Step 3.

In second terminal: ./sf 9002 /dev/ttyUSB0 115200

Step 4.

In first terminal, start python app: python wrenserializer.py <version #>

e.g. python wrenserializer.py sf@localhost:9002 2000 1

Status:

  • Unprogrammed: red blinking

  • Programmed: green blinking

  • Blue: received message from computer

⚠️ **GitHub.com Fallback** ⚠️