Hello,
I am working on my first project that uses external serial flash for storage. I am having a hard time understanding how the memory in the chip is laid out. I also wanted to verify some of my thinking. I was hoping to ask a few questions. Any input would be greatly appreciated. I am using the Micorchip SST25VF032B
1. Is there anyway to see a diagram of the memory blocks with the address names? The description says "The SST25VF032B SuperFlash memory array is organized in uniform 4 KByte erasable sectors with 32 KByte overlay blocks and 64 KByte overlay erasable blocks." While I am sure that is descriptive to some I have not idea what that looks like.
2. The chip itself is 32 Mbit is size. The memory area table shows addresses from 000000H-3FFFFFH. I believe this mean that there are 4,194,303 bytes of memory available (hex to decimal conversion). Is this correct?
3. The datasheet uses the names for the addresses such as Ams-A12, Ams- 15, Ams-A16, A23-A1, A23-A0. Page 10 is where this naming convention starts. I understand Ams stand for "most significant memory address" but I have not idea what it means or what it would look like on a memory map. Any clarification would be helpful.
4. The program I am writing will consecutively store data and it is measured. The device will turn on and off numerous times through it's life. I would like to find the last place data was written and write to the proceeding byte. Is there a way to do this? Should I store the last know location to the MSP430 or is there an easy way to search for the next available byte?
Sorry for all of the questions. I looked for a tutorial on the chip itself but I could not find anything that made sense for a newbie.
Take care,
Jon