HI,
I've designed a board with a C6748 and a mt29f4g16abadawp nand chip.
The nand flash is wired exactly the same way as on the LcdK schematic.
I've managed to have the nand example working (by the way I had to fix the pinmux configuration as it only initializes the lower 8bits of data).
After that bug fix the first tests I've made seem to be OK (erasing/writing and reading a single block at a fixed address as written in "nanReadWrite.c" code)
but as soon as I've tried writes on other blocks and of different sizes they all end up as bad blocks one after the other.
Right now I have 12 bad blocks: block0 to 8, block9 and blocks 4094 and 4095.
When i've started my tests I had only one bad block: block 0. (even this one could have been corrupted by my first tests..)
I see 3 possible reasons:
- my code is corrupted (except the fix in the pinmux intitialization I didn't make any "sigificant" change...)
- the parameters do not correspond to my nand chip (although the dev info seem to be ok: Man. id:0x2C, dev. id:0xCC, PageSize:2048Bytes, BlockSize:128K,PagesPerBlock:64 (I'm using a Micron chip).
- The NandBadBlocCheck routine does not handle correctly my chip....
any help would be greatly appreciated!!!
Thanks
Bruno