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.

SFH Tool Erase Mechanism

Other Parts Discussed in Thread: OMAP-L138, AM1808

We are using the TI’s serial flash loading utility “sfh_OMAP-L138_UART1.exe” to load the u-boot binary on the custom board based on TI’s AM1808. But before loading the u-boot, we are erasing the flash using the command “sfh_OMAP-L138_UART1.exe -erase -flashType NAND -targetType AM1808”.

How exactly is the SFH tool erasing the NAND. i.e does it write 0xFF into every block or does it follow any other procedure to erase?


  • How exactly is the SFH tool erasing the NAND.
    i.e does it write 0xFF into every block or does it follow any other procedure to erase?

    No, it will send the commands (BLOCK ERASE) to erase the whole NAND blocks.
  • Thank you for the quick response.
    Would you please elaborate on the BLOCK ERASE command.(Does it set each and every bit to 1)
    We have observed that a section of the NAND flash(a partition) retains the previous values even after erasing the NAND using the command
    "sfh_OMAP-L138_UART1.exe -erase -flashType NAND -targetType AM1808". Even a hard reset after the ERASE doesn't seem to have any effect.

  • Hi Surya,

    Are you using custom or EVM board ?
    If its custom, have you modified the SFH source code ?
    What is your NAND bus width ?
    8 or 16bit ?

    Regards,
    Shankari.

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------
  • Hi Surya,

    I would suggest you to download the source code of the sfh utility and look the definition of the function which does the block erase command.

    Regards,
    Shankari

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------