imx6 nand driver using ecc on bsp

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

imx6 nand driver using ecc on bsp

426 Views
mrshafie
Contributor II

Hello.

i'm writing imx7 nand driver. i have no idea how to do it, so i read imx7 reference manual and nand driver that wrote for imx6 bsp. but that driver use c++ object oriented architecture for implement command chain. and i want to use c for that. so i rewrite it by c language and all thing is ok except ecc write and ecc read. 

so my problem is: is Nand ecc write/read in imx6 bsp work? is it ok? 

i have this problem because i saw dumpchain in ecc write/read sectioin that maybee this code is not ok and maybee buggy .. 

in other words, I rewrite Nand driver in C and and raw Nand read/write is ok and work correctly. but ecc didn't work,  its interrupts called and all thing seems is ok but data not read successfully. 

 

0 Kudos
1 Reply

419 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hdggd

 

for imx7 nand driver one can look at i.mx28 (it is the same) baremetal example (../drivers/nand)

On-Board Diagnostic Suit for the i.MX28

 

Best regards
igor

0 Kudos