The WritePages and ReadPages API in NFC_LDD only asks for page number, and not block number. But erase blocks wants blocks. I need to know the mapping of pages to blocks for this to work, otherwise how can I know which page to erase and then write?
Is is simply blockNumber x NAND_FLASH_PAGE_SIZE + pageNumber?
or blockNumber x NAND_FLASH_PHY_PAGE_SIZE + pageNumber?