Hi Chris,

The MSP430 used on the Shimmers only has 256 bytes of information memory in
total.

See the comment at the start of InternalFlashC.nc for the explanation as to
why you are limited to 128 bytes (
http://code.google.com/p/tinyos-main/source/browse/trunk/tos/platforms/shimmer/chips/msp430/InternalFlashC.nc).
I don't know of any component that allows you to use all 256 bytes, but it
should be very straight forward for you to modify InternalFlash.write() in
the mentioned file to allow you to do so (you'll just need to write 128
byte blocks instead byte level writes).

Mike


On Tue, Nov 1, 2011 at 8:38 PM, Chris B <[email protected]> wrote:

>  Hello,
>
> I am using the shimmer\chips\msp430\InternalFlashC.nc module to save some
> configuration, calibration and alignment data to flash (which will then
> survive upon resetting the shimmer2r). From what i can see, this module is
> limited to write 128 bytes (i.e. 'IFLASH_SIZE = 128'), is that correct? I
> need at least another 128 byte segment, so can anyone inform me as to which
> module is best to use for accessing the Shimmer flash memory? NB i don't
> really want to put it on the SD card.
>
> kind regards
>
> Chris
>
> _______________________________________________
> Shimmer-users mailing list
> [email protected]
> https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users
>
>
_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users

Reply via email to