Other Parts Discussed in Thread: TMS320C6424
hello ,
I am facing problems while booting from nand as stated in my previous post

I suspect that there is problem with ECC value written in the in the spare area , and there is a mismatch between it and the value generated by the (ROM bootloader) while reading the page .
The EMIF support 512byte ECC calculation , I used it to calculate the ecc for each page but here comes the problems :
- when i calculate the ECC after 512 consective write it give me some value , but when calculating the ECC after 512 consective read for the same data it gives me different result . when writing the ECC calculated while writting it never works* but the ECC calculated from read works* sometimes .
*works = the AIS image loaded successfully
my questions are :
1- why ECC is different from read and write ? is that OK ?
2- HOW the ROM BOOTLOADER calculate the ECC ( same as read ,or same as write , niether ...) ?
3- does the ROM BOOTLOADER always calculate the ECC for 512 byte even if the page is partialy written ?
4- is there any stand alone software utility which can calculate the ECC as same as the ROM BOOTLOADER does ?
5- if there is no available utility , is there clear discription for the algorithm used to calculate the ECC ?
note that we are using TMS320C6424 .
