Thank you Chris,

Yes, the problem was in my datasheet.
I was looking at the "MSP430x1xx Family User's Guide (Rev. F)" ( http://focus.ti.com/lit/ug/slau049f/slau049f.pdf ), which is listed in the MSP430F1611 product page.
Well, now everything is clearer ;)

Mate.



2006/3/14, Chris Pettus < [EMAIL PROTECTED]>:
Which data sheet are you reading?
 
The TI datasheet msp430f1611.pdf on page 14 says:
 
MSP430F1611
information memory - size - 256 byte
information memory - Flash - 010FFh - 01000h

The internal flash code divides the 256 bytes in half to allow byte level reading and writing.  I have use the internalflash interface before and it does right to the correct memory location, which I checked by doing a memory dump through JTAG.  I believe you can also perform the memory dump through the BSL as well.
 
Hope this helps,
Chris
 

 
On 3/13/06, Matthew Poropat < [EMAIL PROTECTED]> wrote:
Hi everybody,


I am trying to figure out how to read from the Internal flash, on a tmote sky.
For as much as I have understood, BlockStorage and EEPROM ( ByteEEPROM and PageEEPROM ) are both used for reading/writing/formatting only the external flash.
On the other side there is the InternalFlash module, but it seems to me that it can be used only for accessing the information segment of the MSP internal flash ( address range is 0x1000 - 0x107E )


Going throug the source code of   tinyos-1.x/tos/platform/msp430/InternalFlashC.nc  it seems that, after checking some conditions, it just accesses the flash without using any function (at least when reading).
And, indeed, the MSP430 user manual ( which can be found at Texas Instruments' site - http://focus.ti.com/lit/ug/slau049f/slau049f.pdf  ) says that the internal flash is mounted in the same address space as RAM memory, peripheral modules and function registers.

So, apparently it turns out that if I need to read from internal flash, I can just peek at any (even) address in between 0x3FDF and 0xFFDF (48kB of flash memory).


But, there seems to be an inconsistency:
When InternalFlashC.nc has to access the information sector of the internal flash, it looks for an address that is in between 0x1000 and 0x10FF. An address which, according to TI's user manual, should be somewhere in RAM memory, and not in the flash.


I am really confused.
Can anybody help me find a way out of this mess?


Thanks,
Mate.



PS: A couple of days ago I posted a similar question, but I never received it back. So, I suppose that it got lost or something similar...
 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to