Hi Mike,

That Reconfigurable code is old and unsupported, and there are much much
better examples in shimmer's tos2 contrib folder.

But that said, the problem with compiling the code is down to changes made
to the shimmer platforms in tinyos-1.x a long time ago. The shimmer and
shimmer2 have the same accelerometer chip on them, the freescale mma7260,
but the shimmer2r has a different one, specifically the freescale mma7361.
As a result the shimmers accel interface was generalised to allow the same
applications to be compiled for both chips. What this means to you is that
you need to perform the following changes to get the code to compile:
- in Reconfigurable.nc change all references to "MMA7260_AccelM" to "AccelC"
- in ReconfigurableM.nc change the two references to "MMA7260_Accel" to
"MMA_Accel"

After those changes the code will at least compile, but as to how well it
will work for your intended application is a different story.

I would strongly recommend that you instead start with the JustFatLogging
(or HostTimeLogging) application in the tinyos-2.x-contrib/shimmer/apps
directory, and add Bluetooth functionality to it (but remember that having
the BT active while saving to the microSD card will have a fairly large
battery life penalty). Take a look at
tinyos-2.x-contrib/shimmer/swtest/Bluetooth for a simple BT example app.

Or instead if you are looking to keep the "reconfigurable" nature of the
app, start with the BoilerPlate app (in tinyos-2.x-contrib/shimmer/apps) and
add JustFatLogging's functionality, but this might be a more difficult route
to go down to begin with.

Mike


On Sun, Apr 17, 2011 at 5:03 PM, Mike <[email protected]> wrote:

>  Hi there,
>
> I'm having some trouble trying to use the firmware "Reconfigurable" from
> /home/tiny1/tinyos-1.x/contrib/handhelds/apps/BioMOBIUS/Reconfigurable
> on my Shimmer 2r device. I'm using the VMware player virtual linux
> environment that came with the SHIMMER devices to try and program them
> and have successfully installed the Blink app and also the
> BioMOBIUS/AccelGyro app. However, for the functionality that I need
> (Connect via bluetooth to start storing data to SD simultaneously from a
> number of SHIMMER devices) the firmware "Reconfigurable" seems to be
> able to do all this. However, when I repeat the same command used to
> successfully program other firmware (make shimmer2r install
> bsl,/dev/ttyUSB0) I get the following error:
>
> In the component `Reconfigurable':
> Reconfigurable.nc:74: no match
> make: *** [exe0] Error 1
>
> I've googled this and found nothing that seems to indicate my problem
> (except maybe that I have a drive that is inaccessible?) and I can't
> seem to find anyone else that has used the Reconfigurable firmware. Line
> 74 of Reconfigurable.nc is:
>
> ReconfigurableM.Accel    -> MMA7260_AccelM;
>
> I am not experienced in Tinyos, NESC or linux and so am unsure what this
> means and how to continue, any help would be greatly appreciated! In
> ReconfigurableM.nc the only reference to the above line that I can see is:
>
> includes MMA7260_Accel;
>
> and:
>
> interface MMA7260_Accel as Accel;
>
> I'm also wondering if theres an easier work around to get a number of
> SHIMMER devices to start recording to SD simultaneously?
>
> Many thanks for any help or advice,
>
> Mike
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to