Hi Wolfgang,

I think that your problem is that the sample application was written
for TinyOS 1.x and you are running TinyOS 2.x. Interfaces and general
architecture have much evolved between TOS 1.x and TOS 2.x and some
interfaces no longer exist or have been renamed/extended. Newer
interfaces have also been added.

I had a quick look at EasySen support website and it seems they also
have TinyOS 2.x support at http://www.easysen.com/support/TinyOS_2/
and at the related documentation
http://www.easysen.com/support/TinyOS_2/docs/Guide_to_TinyOS20_code_for_EasySen_SensorBoards.pdf

Kind regards from Switzerland,
    Romain

On Wed, Apr 20, 2011 at 8:31 PM, Wolfgang Zweimuller <zweim...@uwm.edu> wrote:
> Hello!
>
> I am an German speaking guy, who is currently in the US.
> I have to develop a software to get the acceleration data of this board: 
> http://www.easysen.com/SBT80.htm
> I have an example code which should make this easy for me: 
> http://www.easysen.com/support/SBT80v2/samplecode_SBT80v2/
> I am using Virtual Box with the Ubuntu-Image from this site: 
> http://systembash.com/content/ubuntos-ubuntu-9-10-tinyos-2-x-virtualbox-image/
>
>
> -----------------------------------------------------------------------
> But if I enter the command 'make tmote' it gives me this error message:
> -----------------------------------------------------------------------
> mkdir -p build/telosb
>    compiling MobileNode to a telosb binary
> ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -fnesc-separator=__ 
> -Wall -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c 
> -board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"MobileNode\" 
> -DIDENT_USERNAME=\"wcu\" -DIDENT_HOSTNAME=\"wcu-desktop\" 
> -DIDENT_USERHASH=0xae794e66L -DIDENT_TIMESTAMP=0x4daf2189L 
> -DIDENT_UIDHASH=0x4f1f5062L  MobileNode.nc -lm
> In file included from MobileNode.nc:2:
> SBT80ADCmap.h:9: warning: implicit declaration of function 
> `ASSOCIATE_ADC_CHANNEL'
> SBT80ADCmap.h:10: `INPUT_CHANNEL_A0' undeclared here (not in a function)
> SBT80ADCmap.h:11: `REFERENCE_VREFplus_AVss' undeclared here (not in a 
> function)
> SBT80ADCmap.h:12: `REFVOLT_LEVEL_2_5' undeclared here (not in a function)
> SBT80ADCmap.h:12: enumerator value for `TOSH_ACTUAL_ADC_EXTERNAL_ADC0_PORT' 
> not integer constant
> SBT80ADCmap.h:16: `INPUT_CHANNEL_A1' undeclared here (not in a function)
> SBT80ADCmap.h:17: `REFERENCE_VREFplus_AVss' undeclared here (not in a 
> function)
> SBT80ADCmap.h:18: `REFVOLT_LEVEL_2_5' undeclared here (not in a function)
> SBT80ADCmap.h:18: enumerator value for `TOSH_ACTUAL_ADC_EXTERNAL_ADC1_PORT' 
> not integer constant
> SBT80ADCmap.h:22: `INPUT_CHANNEL_A2' undeclared here (not in a function)
> SBT80ADCmap.h:23: `REFERENCE_VREFplus_AVss' undeclared here (not in a 
> function)
> SBT80ADCmap.h:24: `REFVOLT_LEVEL_2_5' undeclared here (not in a function)
> SBT80ADCmap.h:24: enumerator value for `TOSH_ACTUAL_ADC_EXTERNAL_ADC2_PORT' 
> not integer constant
> SBT80ADCmap.h:28: `INPUT_CHANNEL_A3' undeclared here (not in a function)
> SBT80ADCmap.h:29: `REFERENCE_VREFplus_AVss' undeclared here (not in a 
> function)
> SBT80ADCmap.h:30: `REFVOLT_LEVEL_2_5' undeclared here (not in a function)
> SBT80ADCmap.h:30: enumerator value for `TOSH_ACTUAL_ADC_EXTERNAL_ADC3_PORT' 
> not integer constant
> SBT80ADCmap.h:34: `INPUT_CHANNEL_A6' undeclared here (not in a function)
> SBT80ADCmap.h:35: `REFERENCE_VREFplus_AVss' undeclared here (not in a 
> function)
> SBT80ADCmap.h:36: `REFVOLT_LEVEL_2_5' undeclared here (not in a function)
> SBT80ADCmap.h:36: enumerator value for `TOSH_ACTUAL_ADC_EXTERNAL_ADC6_PORT' 
> not integer constant
> SBT80ADCmap.h:40: `INPUT_CHANNEL_A7' undeclared here (not in a function)
> SBT80ADCmap.h:41: `REFERENCE_VREFplus_AVss' undeclared here (not in a 
> function)
> SBT80ADCmap.h:42: `REFVOLT_LEVEL_2_5' undeclared here (not in a function)
> SBT80ADCmap.h:42: enumerator value for `TOSH_ACTUAL_ADC_EXTERNAL_ADC7_PORT' 
> not integer constant
> In component `MobileNode':
> MobileNode.nc:7: component Main not found
> In file included from MobileNode.nc:8:
> In component `MobileNodeM':
> MobileNodeM.nc:10: too few arguments to interface `SampleTimer'
> MobileNodeM.nc:11: too few arguments to interface `SwitchTimer'
> In file included from MobileNode.nc:8:
> MobileNodeM.nc:14: interface ADC not found
> MobileNodeM.nc:22: interface MSP430GeneralIO not found
> MobileNodeM.nc:25: interface ADCControl not found
> MobileNodeM.nc:27: interface SendMsg not found
> MobileNodeM.nc:36: syntax error before `msg'
> MobileNodeM.nc:42: syntax error before `StdControl'
> MobileNodeM.nc:57: warning: type defaults to `int' in declaration of 
> `sampledChannelNo'
> MobileNodeM.nc:57: conflicting types for `sampledChannelNo'
> MobileNodeM.nc:35: previous declaration of `sampledChannelNo'
> MobileNodeM.nc:57: warning: data definition has no type or storage class
> MobileNodeM.nc:58: warning: type defaults to `int' in declaration of 
> `sampleTime'
> MobileNodeM.nc:58: conflicting types for `sampleTime'
> MobileNodeM.nc:34: previous declaration of `sampleTime'
> MobileNodeM.nc:58: warning: data definition has no type or storage class
> MobileNodeM.nc:60: syntax error before `return'
> MobileNodeM: `SwitchTimer.fired' not implemented
> MobileNodeM: `SampleTimer.fired' not implemented
> MobileNodeM: `StdControl.start' not implemented
> MobileNodeM: `StdControl.stop' not implemented
> In component `MobileNode':
> MobileNode.nc:8: component TimerC not found
> MobileNode.nc:10: component GenericComm not found
> MobileNode.nc:11: component ADCC not found
> MobileNode.nc:12: component MSP430GeneralIOC not found
> MobileNode.nc:15: cannot find `StdControl'
> MobileNode.nc:16: cannot find `StdControl'
> MobileNode.nc:17: cannot find `StdControl'
> MobileNode.nc:19: cannot find `Timer'
> MobileNode.nc:20: cannot find `Timer'
> MobileNode.nc:23: no match
> MobileNode.nc:24: cannot find `SendMsg'
> MobileNode.nc:26: cannot find `ADCControl'
> MobileNode.nc:27: cannot find `ADC'
> MobileNode.nc:28: cannot find `ADC'
> MobileNode.nc:29: cannot find `ADC'
> MobileNode.nc:30: cannot find `ADC'
> MobileNode.nc:31: cannot find `ADC'
> MobileNode.nc:32: cannot find `ADC'
> MobileNode.nc:34: cannot find `Port23'
> MobileNode.nc:35: cannot find `Port26'
> make: *** [exe0] Error 1
> -----------------------------------------------------------------------
> -----------------------------------------------------------------------
>
> As I have never worked with this software before, I don't know how to solve 
> this problem.
> I really hope you can help me with this problem.
>
> Thank you!
>
> Best regards,
> Wolfgang
>
>
> Wolfgang Zweimueller
> R2D2 Center
> University of Wisconsin Milwaukee
> Enderis Hall 135
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to