- Add uint_8 volatile myVar=255; in Implementation.
- In boot method, add myVar+=1;
- Use this command to check if symbol is added: tos-set-symbols --read /build/telosb/main.exe
- Change value of variable using:tos-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump --target ihex build/telosb/main.ihex build/telosb/main.ihex MoudleName__myVar=30 TOS_NODE_ID=5 ActiveMessageAddressC__addr=5
- Run your ihex file.
1 comment:
Thank you for your post. Easyshiksha is online education portal.It providesfree test series
Post a Comment