kpoo...@gmail.com
unread,Feb 5, 2015, 1:40:02 AM2/5/15You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi All,
We need to bring up 1GB NAND on our custom imx233 board based on WINCE 6.0.
But we are getting ROM error code 0x80501003 ( The file signature or file version is incorrect)
Please can anyone help to solve this issue ...
Following is our NAND configuration:
1 Page = 4K +224 bytes
pages per block = 128
No of blocks = 2048
No of planes = 2
Code chages done for this NAND:
1. Modified Nandtypes.h to include new NAND geometry
2. \soc\mx233_fsl_v2_pdk1_8\inc\mx233_nandlayout.h
#define CHIP_BCB_SECTOR_STRIDE (64)
#define CHIP_BCB_BLOCK_LIMIT (2)
3. iMX233-EVK-PDK1_8\SRC\BOOTLOADER\COMMON\nand.c
NandWriteNCB()
{
m_u32DataPageSize = 4096; //(1 GB change)
m_u32TotalPageSize = 4096 + 224;
m_u32SectorsPerBlock = 2 * pFlashInfo->fi.wSectorsPerBlock; // as per imx233 reference manual
m_u32SectorInPageMask =2;
m_u32SectorToPageShift =1;
m_u32TotalInternalDie = 1;
m_u32InternalPlanesPerDie = 2;
NCB.NCB_Block2.m_u32ECCType = BCH_Ecc_6bit;
NCB.NCB_Block2.m_u32EccBlock0EccLevel = BCH_Ecc_6bit;
NCB.NCB_Block2.m_u32EccBlock0Size = 0; //!< Number of bytes for Block0 - BCH
NCB.NCB_Block2.m_u32EccBlockNSize = 512; //!< Block size in bytes for all blocks other than Block0 - BCH
NCB.NCB_Block2.m_u32NumEccBlocksPerPage = 8;
}
4. No of row address is 3 cycles and column address is 2 cycles
Are these changes correct?
Attached NAND datasheet for reference
Thanks,
Kishore