Re: Which ECC i.MX6 ROM code uses?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Which ECC i.MX6 ROM code uses?

Jump to solution
868 Views
abdulrasheed
Contributor I

YuriMuhin_ng‌ I used your attached BCH_enco.c and found that it generates incorrect code for some data blocks.
is there any updated version of this file is available?
This file generated incorrect/different ECC for program_image as compare to ECC generated by kobs-ng utility for NAND.

0 Kudos
1 Solution
752 Views
b36401
NXP Employee
NXP Employee

The algorithm Yuri attached is one used on i.MX6 processors.
And the same BCH ECC is used on i.MX7 and i.MX8M processors as well.
Please make sure that you set right parameters for encoding algorithm.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
752 Views
b36401
NXP Employee
NXP Employee

Additionally to doublecheck if it is right algorithm please create a technical case:
https://community.nxp.com/thread/381898
I will attach the file.

0 Kudos
753 Views
b36401
NXP Employee
NXP Employee

The algorithm Yuri attached is one used on i.MX6 processors.
And the same BCH ECC is used on i.MX7 and i.MX8M processors as well.
Please make sure that you set right parameters for encoding algorithm.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos