According the SAM4S xplained pro user guide, the board has a 2gb NAND Flash:
The Chip is a Micron 29F2G08ABAEA (2Gb, x 8 NAND flash, 3.3V 48-TSOP1). In the micron datasheet it describes how the memory is laid out and how the total memory is calculated:
They calculate the memory as follows:
(2k + 64) * 64 * 2048 = 2112 mb
By I get the following:
2k = 2048
(2048+64) * 64 * 2048 = 276824064 bytes = 270336 kb = ~270.336mb
How do they get 2112 mb from (2k + 64) * 64 * 2048 ???
Also, printed on the xplained pro, it says the NAND has 256mb not 2gb:
The number sdont add up. Is is 256mb or 2gb flash ?