Changing from Samsung to Micron Flash

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

Changing from Samsung to Micron Flash

785 Views
royho
Contributor I

Hi Folks,

Need your help:

We are currently using Samsung Flash K9F2G08U0M on our imx287 platform

This is the info in nand_device_info.c

.end_of_table             = false,
 .manufacturer_code        = 0xec,
 .device_code              = 0xda,
 .cell_technology          = NAND_DEVICE_CELL_TECH_SLC,
 .chip_size_in_bytes       = 256LL*SZ_1M,
 .block_size_in_pages      = 64,
 .page_total_size_in_bytes = 2*SZ_1K + 64,
 .ecc_strength_in_bits     = 4,
 .ecc_size_in_bytes        = 512,
 .data_setup_in_ns         = 20,
 .data_hold_in_ns          = 10,
 .address_setup_in_ns      = 20,
 .gpmi_sample_delay_in_ns  = 6,
 .tREA_in_ns               = -1,
 .tRLOH_in_ns              = -1,
 .tRHOH_in_ns              = -1,
 "K9F2G08U0M",

The Samsung is EOL and we change to Micron MT29F2G08ABAEAWP

This is the info in nand_device_info.c

.end_of_table             = false,
 .manufacturer_code        = 0x2c,
 .device_code              = 0xda,
 .cell_technology          = NAND_DEVICE_CELL_TECH_SLC,
 .chip_size_in_bytes       = 256LL*SZ_1M,
 .block_size_in_pages      = 128,
 .page_total_size_in_bytes = 2*SZ_1K + 64,
 .ecc_strength_in_bits     = 4,
 .ecc_size_in_bytes        = 512,
 .data_setup_in_ns         = 20,
 .data_hold_in_ns          = 10,
 .address_setup_in_ns      = 10,
 .gpmi_sample_delay_in_ns  = 6,
 .tREA_in_ns               = -1,
 .tRLOH_in_ns              = -1,
 .tRHOH_in_ns              = -1,
 "MT29F2G08ABAEAWP",

I compiled and try to use MFGTOOL to download to the flash

It shown 0xffffffea (-22) Flash not recognized

Can someone help what else I am missing?

I attached the micron spec, please help

Thanks

Roy

Labels (1)
0 Kudos
Reply
1 Reply

614 Views
b36401
NXP Employee
NXP Employee

Accordingly to i.MX28 Linux BSP Release Notes only one NAND flash is officially supported: SAMSUNG K9LBG08U0D.
Other NANDs from this same family should work, but this is the only one we list as tested.
To add a new NAND flash to the BSP you need to define ID bytes, timings, and dimensions of the NAND flash.

Have a great day,
Victor

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

0 Kudos
Reply