Hi all,
Ok I realise the memory is split into n segments each 512bytes wide. Now I am recording sensor data(2) every 2.30 mins and every 4mins for second sensor. Each recording is also made up of time so every write to flash requires 10bytes (8 for time and two for the sensor reading).
This means 51 readings fill up a segment. In addition I am using one segment to save data before each write to flash and from that segment I am copying the old and new data into the original segment.
Now I require data to be saved over a long period of time which can then be downloaded for analysis.
The problem is how do I know the specific address for each n segment as I will need toknow this. From the data sheet the only thing that is clear is the entire main memory flashrange from 0xffff to 0xC000. Can anyone help me out here or provide a resource where I could find out?