Thanks Mike, I found the relevant MSP430 datasheet which detailed the info memory as you say, and i now understand what the module is doing. I shall have a go, as you suggest, at using 128byte block writes, as I need to use the full 256 bytes. regards Chris
Date: Wed, 2 Nov 2011 10:54:40 +0000 Subject: Re: [Shimmer-users] Shimmer2r internal flash From: [email protected] To: [email protected] CC: [email protected] 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
