This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to write eboot in Nand Falsh using EVM flash tool (Flash v1.2) on OMAP EVM 3530 Rev D?

Hi all,

 I want to write the eboot (TI_EVM_nand.raw) into nand flash in an OMAP EVM 3530 Rev D board by using flash tool (Flash v1.2). I tried to write into the nand flash, but writing eboot to the nand flash is not successful. From the log file it is showing write operation success but data is corrupted, I read back the data using EVM flash tool (EVMFlash 3530 for Micron memory v1.2.1.0) and data is corrupted. Erasing the nand flash using Flash tool (Flash 1.2) is successful.

The configurations which i'm used for writing the nand flash are.

1. EVM_MDDR_MICRON_512M 343007 57 GP Targets\2nd-Downloaders\dnld_startup_omap3_gp_512m.2nd -pheriphalboot_reopen -board_config Targets\Configurations\configuration_evm35xx_micron_512m_revD.txt

5141.configuration_evm35xx_micron_3530_revD.txt

Configuration (configuration_evm35xx_micron_512m_revD.txt) is attached

2. memory NANDINFO driver Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x20000000 bberase 1 onfi 0 bpp 1024 sbpp 32 ppb 64 bpl 4096 l 1 acv 0x23 f 0x0019

Log file (log_8_12_2010.txt) is attached.

4861.log_8_12_2010.txt 

3. memory NANDINFO driver Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x20000000 bberase 1 onfi 1

Log file (log_9_12_2010.txt) is attached

3554.log_9_12_2010.txt

In both the cases (2 and 3) write operation is failing. 

Can anyone suggest the correct configuration for the EVM Rev D board or how to make the configuration work?

  • I'm not clear on the problem and why you have to use any special configuration (for the EVM). Just to get a baseline:

    1. I assume you have flashed eboot earlier on this EVM Rev D board successfully.

    2. You are sure that it is Micron NAND and not ONENAND.

    3. Can you try the prebuilt image eboot under any of the BSP 6.xx demo releases and see if that works (for e.g., 6.15.00\Images\EVM_3503\NAND)

    4. Where/how exactly are you using the configurations you mentioned? 

     

  • Hi Jatin,

    Thank you for your reply.

    See my inline reply in in blue

    I'm not clear on the problem and why you have to use any special configuration (for the EVM). Just to get a baseline:

    1. I assume you have flashed eboot earlier on this EVM Rev D board successfully.

     [Jethin] Yes i have flashed eboot on EVM Rev D board using EVM flash tool (EVMFlash 3530 for Micron memory v1.2.1.0) and in my project i am going to change the nand flash in OMAP 3503. I don't have the actual board for the development so i am using an EVM 3530 RevD board and using the configurable Flash tool(Flash v1.2). The flash v1.2 tool seems to be configurable and i planned to go with EVM Rev D board and make use of this Flash tool.Once i have got control on it, i reconfigure the files for new NAND Flash used for our project.

     Is it possible to use EVM flash tool (EVMFlash 3530 for Micron memory v1.2.1.0) for programming the NAND flash(MT29C4G48MAZAPAKQ-5 IT_Micron 168-Ball NAND Flash and LPDDR PoP (TI OMAP) MCP)?
     
     Data Sheet Attached (7416.MT29C4G48MAZAPAKQ-5 IT_Micron 168-Ball NAND Flash and LPDDR PoP (TI OMAP) MCP.pdf)
     
    2. You are sure that it is Micron NAND and not ONENAND.
     [Jethin] I'm using Micron NAND

    3. Can you try the prebuilt image eboot under any of the BSP 6.xx demo releases and see if that works (for e.g., 6.15.00\Images\EVM_3503\NAND)

     [Jethin] I'm able to program and run eboot using EVM flash tool (EVMFlash 3530 for Micron memory v1.2.1.0).
     
    4. Where/how exactly are you using the configurations you mentioned?
     
     [Jethin]The configurations attached are used for the flash tool (flash 1.2)

     1. EVM_MDDR_MICRON_512M 343007 57 GP Targets\2nd-Downloaders\dnld_startup_omap3_gp_512m.2nd -pheriphalboot_reopen -board_config Targets\Configurations\configuration_evm35xx_micron_512m_revD.txt

     used in \Texas Instruments\Flash v1.2\omapflash2nd.txt to select the 2nd Downloader and GPMC settings
     
     2. memory NANDINFO driver Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x20000000 bberase 1 onfi 0 bpp 1024 sbpp 32 ppb 64 bpl 4096 l 1 acv 0x23 f 0x0019

     used in \Texas Instruments\Flash v1.2\Targets\Configurations\configuration_evm35xx_micron_3530_revD.txt to select the driver and parameters

    Regards

    Jethin

  • It has been very difficult to modify/maintain the legacy evmflashtool to support various NAND and in addition it has licensing issues (for source). Hence for newer releases we have been going with a different approach. (We have not tried the approach you have taken with the configuration files).

    You can find more information in this thread. http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/p/62072/253222.aspx#253222 

    Follow that thread and towards the end of it you will see a post with an attachment.  omap35x_bsp_6.15_serial_flash.zip