[Tinyos-help] Acoustic Ranging: Not getting 16 samples within one
set of 16 chirps
Muhammad Azhar
leo_az_83 at hotmail.com
Tue Dec 11 18:15:43 PST 2007
Hi all,
I'm currently working on Vanderbilt's acoustic localization module. From my understanding, this is how it works:
1) Actuator sends a radio message to sensor to inform sensor to "get ready" to receive the 16 chirps including the silence period (chirps are constant duration, silence period following each chirp is varied).
2) There is a start-up delay for the mic to receive the chirps.
3) The sound is emitted at the same time as the radio message (but due to the much slower speed of sound, the sensor receives the radio message first before receiving the sound).
4) In AcousticMultiSamplerM.nc, upon each Timer.fired() event (i.e. for each specific chirp + silence period), it will call MicADC.getContinuousData().
5) Each time the data is ready, it will then signal dataReady() in OutsideRangingSensorM, which will then be stored to the 850 samples in the buffer. Once 850 samples have been filled in the buffer, the sampler will ignore any more data and wait for the next chirp + silence period to arrive. (Thus for each chirp + silence period, the data would then be added to the specific "sequence" in the buffer - i.e. we would expect the peak to appear somewhere below 200 (sequence number) in the array for short distances).
6) A moving average function is then carried out. (I left out the peak detection process as I wanted to see the "raw" data of the 850 samples that was filled).
However, in my case, I realised that in step (5), my ADC does not sample at the required rate - hence, I'm not getting 16 samples at the sensor side (if I wasn't mistaken, 3 sequences of chirp + silence period were required to fill up the 850 size of the buffer). My actuator is able to emit the 16 chirps as required. Thus, I really do not know what is wrong as I'm using the specific micaz folder done by VU which contains a different timer from the default timer. I have renamed the default micaz folder to micaz2, so that the micaz will now "point" to the micaz folder for acoustic localization. Also, based on the diagram generated by typing "make docs micaz", it seems that my timer is wired appropriately to the "special" timer for acoustic localization.
When I included PFLAGS += -v in my Makefile, this was what I got (no compilation errors):
************** /opt/tinyos-1.x/apps/local$ make micaz/opt/tinyos-1.x/tools/make/Makerules:9: 'XNP defined, adding on XNP library'mkdir -p build/micaz compiling AcousticLocalizationC to a micaz binaryncc -o build/micaz/main.exe -Os -I%T/lib/ARanging -v -I%T/lib/XNP -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -DTOSH_DATA_LENGTH=100 -DIDENT_PROGRAM_NAME="AcousticL" -DIDENT_PROGRAM_NAME_BYTES="65,99,111,117,115,116,105,99,76,0" -DIDENT_USER_HASH=0x1d1a923dL -DIDENT_UNIX_TIME=0x475f35efL -I/opt/tinyos-1.x/tos/lib/CC2420Radio AcousticLocalizationC.nc -lmnescc -DPLATFORM_MICAZ -DBOARD_MICASB -fnesc-include=tos -topdir=/opt/tinyos-1.x -o build/micaz/main.exe -Os -v -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -fnesc-cfile=build/micaz/app.c -DTOSH_DATA_LENGTH=100 -DIDENT_PROGRAM_NAME=AcousticL -DIDENT_PROGRAM_NAME_BYTES=65,99,111,117,115,116,105,99,76,0 -DIDENT_USER_HASH=0x1d1a923dL -DIDENT_UNIX_TIME=0x475f35efL AcousticLocalizationC.nc -lm -gcc=avr-gcc -mmcu=atmega128 -fnesc-target=avr -fnesc-no-debug -mingw-gcc -I/opt/tinyos-1.x/tos/lib/ARanging -I/opt/tinyos-1.x/tos/lib/XNP -I/opt/tinyos-1.x/tos/lib/CC2420Radio -I/opt/tinyos-1.x/tos/sensorboards/micasb -I/opt/tinyos-1.x/tos/platform/micaz -I/opt/tinyos-1.x/tos/platform/mica2 -I/opt/tinyos-1.x/tos/platform/mica128 -I/opt/tinyos-1.x/tos/platform/mica -I/opt/tinyos-1.x/tos/platform/avrmote -I/opt/tinyos-1.x/tos/interfaces -I/opt/tinyos-1.x/tos/types -I/opt/tinyos-1.x/tos/systemavr-gcc -specs=C:\tinyos\cygwin\usr\local\lib\ncc\tdspecs -DPLATFORM_MICAZ -DBOARD_MICASB -_fnesc-include=tos -obuild\micaz\main.exe -Os -v -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -_Wnesc-all -_fnesc-cfile=build/micaz/app.c -DTOSH_DATA_LENGTH=100 -DIDENT_PROGRAM_NAME=AcousticL -DIDENT_PROGRAM_NAME_BYTES=65,99,111,117,115,116,105,99,76,0 -DIDENT_USER_HASH=0x1d1a923dL -DIDENT_UNIX_TIME=0x475f35efL AcousticLocalizationC.nc -lm -mmcu=atmega128 -_fnesc-target=avr -_fn
esc-no-debug -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\XNP -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica128 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\avrmote -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\types -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\system -DNESC=110Reading specs from /usr/local/lib/gcc-lib/avr/3.3-tinyos/specsReading specs from C:\tinyos\cygwin\usr\local\lib\ncc\tdspecsConfigured with: ./configure --target=avr --disable-nlsThread model: singlegcc version 3.3-tinyos perl -S nesc-compile -_fnesc-include=tos -_Wnesc-all -_fnesc-cfile=build/micaz/app.c -_fnesc-target=avr -_fnesc-no-debug -mmcu=atmega128 -DPLATFORM_MICAZ -DBOARD_MICASB -DDEF_TOS_AM_GROUP=0x7d -DTOSH_DATA_LENGTH=100 -DIDENT_PROGRAM_NAME=AcousticL -DIDENT_PROGRAM_NAME_BYTES=65,99,111,117,115,116,105,99,76,0 -DIDENT_USER_HASH=0x1d1a923dL -DIDENT_UNIX_TIME=0x475f35efL -DNESC=110 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\XNP -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica128 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\avrmote -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\types -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\system -Os -Wall -Wshadow -v -finline-limit=100000 -o /cygdrive/c/DOCUME~1/SCE07-~1/LOCALS~1/Temp/ccYJ3Yx4.o AcousticLocalizationC.ncnesc1 -_fnesc-include=tos -_Wnesc-all -_fnesc-target=avr -_fnesc-no-
debug -mmcu=atmega128 -DPLATFORM_MICAZ -DBOARD_MICASB -DDEF_TOS_AM_GROUP=0x7d -DTOSH_DATA_LENGTH=100 -DIDENT_PROGRAM_NAME=AcousticL -DIDENT_PROGRAM_NAME_BYTES=65,99,111,117,115,116,105,99,76,0 -DIDENT_USER_HASH=0x1d1a923dL -DIDENT_UNIX_TIME=0x475f35efL -DNESC=110 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\XNP -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica128 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\avrmote -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\types -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\system -Wall -Wshadow -v -finline-limit=100000 AcousticLocalizationC.nc -o build/micaz/app.cpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/tos.hpreprocessing AcousticLocalizationC.ncpreprocessing RangeMsg.hpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/Main.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/StdControl.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/RealMain.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/Pot.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/PotC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/PotM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/HPLPot.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/HPLPotC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\avrmote/HPLInit.ncpreprocessing AcousticLocalizationM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/Leds.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/Random.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/AcousticRangingSensor.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/AcousticRa
ngingActuator.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/SendMsg.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/AM.hpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/Timer.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/Timer.hpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\XNP/Xnp.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/GenericComm.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/ReceiveMsg.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/AMStandard.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/BareSendMsg.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/PowerManagement.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/RadioCRCPacket.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/CC2420RadioC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/SplitControl.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/CC2420Control.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/MacControl.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/MacBackoff.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/RadioCoordinator.nc
preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/CC2420RadioM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/byteorder.hpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/HPLCC2420.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/HPLCC2420FIFO.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/HPLCC2420Interrupt.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/HPLCC2420Capture.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/TimerJiffyAsync.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/CC2420ControlM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\CC2420Radio/HPLCC2420RAM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/HPLCC2420C.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/HPLCC2420M.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/HPLCC2420FIFOM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/HPLCC2420InterruptM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/TimerCapture.nc
preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/HPLTimer1M.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/HPLTimer1.hpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/Clock16.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/Clock.hpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/TimerC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/TimerM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/Clock.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/ClockC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/LocalTime.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/ClockM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/RandomLFSR.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/TimerJiffyAsyncC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/TimerJiffyAsyncM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/HPLTimer2C.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/HPLTimer2.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/LedsC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/UARTFramedPacket.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/FramerM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\avrmote/crc.hpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/TokenReceiveMsg.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/ByteComm.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/FramerAckM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/UART.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/UARTM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/HPLUART.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/HPLUARTC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/HPLUART0M.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/No
Leds.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/HPLPowerManagementM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/OutsideRangingSensorC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/BeaconMsg.hpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/DMsg.hpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/CommandMsg.hpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/OutsideRangingSensorM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/AcousticMultiSampler.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/AcousticMultiSamplerC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/AcousticMultiSamplerM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/ADC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/ADC.hpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/Mic.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb/MicC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb/sensorboard.hpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/MicInterrupt.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb/MicM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/ADCControl.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/I2CPot.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/ADCC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/ADCREFM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/HPLADC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/HPLADCM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb/I2CPotC.nc
preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica128/I2CC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/I2C.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica/I2CM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb/I2CPotM.nc
preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\micaz/HPLMicC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/OutsideRangingActuatorC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/UnknownMsg.hpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/OutsideRangingActuatorM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/AcousticBeacon.nc
preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/AcousticBeaconC.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\ARanging/AcousticBeaconM.ncpreprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb/Sounder.nc
preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb/SounderM.ncC:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/micaz/HPLCC2420InterruptM.nc:161: warning: `CCATimer.start' called asynchronously from `CCA.startWait'C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioM.nc:115: warning: `Send.sendDone' called asynchronously from `sendFailed'avr-gcc -BC:\tinyos\cygwin\usr\local\lib\ncc -mmcu=atmega128 -Os -Wall -Wshadow-v -finline-limit=100000 -o /cygdrive/c/DOCUME~1/SCE07-~1/LOCALS~1/Temp/ccYJ3Yx4.o -c build/micaz/app.cReading specs from /usr/local/lib/gcc-lib/avr/3.3-tinyos/specsConfigured with: ./configure --target=avr --disable-nlsThread model: singlegcc version 3.3-tinyos /usr/local/lib/gcc-lib/avr/3.3-tinyos/cc1.exe -quiet -v -isystem C:/tinyos/cygwin/usr/local/lib/ncc/include -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 build/micaz/app.c -quiet -dumpbase app.c -mmcu=atmega128 -auxbase-strip /cygdrive/c/DOCUME~1/SCE07-~1/LOCALS~1/Temp/ccYJ3Yx4.o -Os -Wall -Wshadow -version-finline-limit=100000 -o /cygdrive/c/DOCUME~1/SCE07-~1/LOCALS~1/Temp/ccAzUXbl.signoring nonexistent directory "C:/tinyos/cygwin/usr/local/lib/ncc/include"GNU C version 3.3-tinyos (avr) compiled by GNU C version 3.2 20020927 (prerelease).GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=65406ignoring nonexistent directory "NONE/include"ignoring nonexistent directory "/usr/local/avr/sys-include"#include "..." search starts here:#include <...> search starts here: /usr/local/lib/gcc-lib/avr/3.3-tinyos/include /usr/local/avr/includeEnd of search list.C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc: In function `OutsideRangingSensorM$process':C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc:239: warning: unused variable `range'C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc:240: warning: unused variable `tmp'C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc:241: warning: unused variable `z'
C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc:242: warning: unused variable `i'C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc:242: warning: unused variable `j'C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc:243: warning: unused variable `pos'C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc:244: warning: unused variable `neg'C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc:245: warning: unused variable `a'C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc:245: warning: unused variable `b'C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc:245: warning: unused variable `x'C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc:245: warning: unused variable `y'C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc:245: warning: unused variable `sum'C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/ARanging/OutsideRangingSensorM.nc:245: warning: unused variable `average1'AcousticLocalizationM.nc: In function `AcousticLocalizationM$AcousticRangingSensor$receiveDone':AcousticLocalizationM.nc:127: warning: unused variable `randTime' C:/tinyos/cygwin/usr/local/lib/ncc/avr/3.3-tinyos/as.exe -mmcu=atmega128 -o /cygdrive/c/DOCUME~1/SCE07-~1/LOCALS~1/Temp/ccYJ3Yx4.o /cygdrive/c/DOCUME~1/SCE07-~1/LOCALS~1/Temp/ccAzUXbl.s /usr/local/lib/gcc-lib/avr/3.3-tinyos/../../../../avr/bin/ld.exe -m avr5 -Tdata 0x800100 -obuild\micaz\main.exe /usr/local/lib/gcc-lib/avr/3.3-tinyos/../../../../avr/lib/avr5/crtm128.o -L/usr/local/lib/gcc-lib/avr/3.3-tinyos/avr5 -L/usr/local/lib/gcc-lib/avr/3.3-tinyos -L/usr/local/lib/gcc-lib/avr/3.3-tinyos/../../../../avr/lib/avr5 -L/usr/local/lib/gcc-lib/avr/3.3-tinyos/../../../../avr/lib /cygdrive/c/DOCUME~1/SCE07-~1/LOCALS~1/Temp/ccYJ3Yx4.o -lm -lgcc -lc -lgcc compiled AcousticLocalizationC to build/micaz/main.exe 14144 bytes in ROM 2811 bytes in RAMavr-objcopy --output-target=sre
c build/micaz/main.exe build/micaz/main.srecavr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071212/2f5e3f22/attachment.html
More information about the Tinyos-help
mailing list