Chenyang Lu CSE 467S 1
HW2
- To be assigned tomorrow (Thursday)
- Due on 3/16 (Wed), 2:30pm
Chenyang Lu CSE 467S 2
Wireless Reprogramming
- Maté: mobile code
- Agilla: mobile agent
Chenyang Lu CSE 467S 3
Motivation for Mobile Code
- Need to reprogram sensors after deployment
- Change parameters
- Change/add/remove modules, e.g., filters, fusion
algorithms
- Change whole program
- Manual installation on a large number of nodes
is impractical
Chenyang Lu CSE 467S 4
XNP and Deluge
- Transmit native binary code
- Re-flashes the instruction memory
- Large code size code dissemination
- is slow
- is unreliable
- has high communication and energy cost
Chenyang Lu CSE 467S 5
Maté
- Byte code are disseminated through
wireless network
- Virtual machine interprets mobile byte
code
- Like mobile Java code
Chenyang Lu CSE 467S 6
Requirements
- Instruction Set
- Expressive: supports most sensing applications
- Concise: utilizes the least amount of network
bandwidth
- Tailorable: can be modified for special operations
- Virtual Machine
- Small footprint: fits in rene2 (1KB data, 16KB code)
- Resilient: cannot crash the mote
- Efficient execution: energy conserving