This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Zig-Saw Puzzle. Cant put the pieces of Flash file system on Nand

Do i have to enable the "Flash Drive" along with the "Nand Flash" in the file_Config.c (Flash Configuration File) to implement flash file system on parallel nand flash?

So what is a sector on parallel nand chip? is it a block or a group of block or pages?
I have to make the FS_FlashDev.h file but the documentation speak about "sector".

#define FLASH_DEVICE
   DSB(0x10000, 0x000000),     /* Sector Size 64kB */ \ 
   DSB(0x10000, 0x010000),     /* Sector Size 64kB */ \ 
#define SF_NSECT    32 //-> is this the total number of sectors?

Parents
  • #define EMC_ALE_ADDR    0x00080000         //how is this value decided
    #define EMC_CLE_ADDR    0x00100000         //IC datsheet doesnt specify any such thing
    

    Take a look at your hardware connections of the ALE and CLE lines.

    For the example above:
    ALE would be on the address line 19 (0x80000: bit 19 is set!)
    CLE would be on the address line 20 (0x100000: bit 20 is set!)

Reply
  • #define EMC_ALE_ADDR    0x00080000         //how is this value decided
    #define EMC_CLE_ADDR    0x00100000         //IC datsheet doesnt specify any such thing
    

    Take a look at your hardware connections of the ALE and CLE lines.

    For the example above:
    ALE would be on the address line 19 (0x80000: bit 19 is set!)
    CLE would be on the address line 20 (0x100000: bit 20 is set!)

Children