AhnSeung / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
0 stars 0 forks source link

264 page size (AT45_PAGE_SIZE) #121

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
TOS is prepared to accept default page size (256+8=264 bytes) for AT45DB041D 
device:
enum {
  AT45_MAX_PAGES = 2048,
  AT45_PAGE_SIZE = 264,
  AT45_PAGE_SIZE_LOG2 = 9
};

There is at least bug in BlockStorageP.nc (BlockStorage/ConfigStorage) to 
handle not power-of-two page size.

M.C>

PS: "tos-storage-at45db" (volumes-at45db.xml preprocessor) has hard-coded 256 
bytes page size (sector_size).

Original issue reported on code.google.com by M.Cerv...@computer.org on 18 Feb 2012 at 11:15

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by philip.l...@gmail.com on 8 Mar 2012 at 10:53

GoogleCodeExporter commented 8 years ago
fixed in r5944

Original comment by sallai.j...@gmail.com on 13 Apr 2012 at 3:46