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.

Problem in Serial Flasher hangs during programing UBL to NAND flash.

Other Parts Discussed in Thread: OMAPL138, OMAP-L138

Hi All,

We have already used OMAPL138 device with NOR flash in our customized board.

We are using sfh_OMAP-L138.exe utility to download UBL and u-boot.bin file to NOR flash and we are successfully able to do that.

But our concern is when we are using the same method to program UBL and u-boot.bin in NAND flash using sfh_OMAP-L138.exe utility, we are not able to do it.

Observation:-

Transfer over UART 100%.

Programming UBL into Flash it get stuck here.

Regards

Rishabh Jain

  • Hi Rishabh,

    If it is a customized board, modifications may be required in the source code of serial flasher utility. The needed changes are captured and listed in the following TI WIKI link.

    http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138#Modifications_for_Custom_Boards

     

    Regards,

    Shankari


     

    -------------------------------------------------------------------------------------------------------

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

  • Hi Shankari,


    Thanks for the reply.

    Just tell me if I am getting correct what you mean to say, as I am using sfh_omapL138.exe serial flash utility to program UBL and u-boot.bin in NAND flash and I am facing problem in that, so you want me to change the code of serial flash utility and re-built it with the changes?

    But I have already gone through the code and I am still checking what changes we can make in that and will revert back to you on the same.

    New Observation:-

    1) First I was using 4GB NAND flash but does not get any success in Programming that.

    2) But just replacing 4GB NAND flash with 512MB NAND flash I am able to program that.

    So can you tell me where I might to look specifically for that?

    Regards

    Rishabh Jain

  • Hi Rishabh Jain,

    Rishabh said:
    Just tell me if I am getting correct what you mean to say, as I am using sfh_omapL138.exe serial flash utility to program UBL and u-boot.bin in NAND flash and I am facing problem in that, so you want me to change the code of serial flash utility and re-built it with the changes?

    I mean to say, the serial flasher utility ( sfh_omapL138.exe ) will work as is on EVMs and LCDKs released by TI. i.e., If you use any of the following boards, the utility need not undergo any changes. You can directly use the executable. If you have a OMAPL138 based customized hardware board, then the source code of the utility needs changes according to your hardware design.

    1. OMAPL138LCDK board 

    2. OMAPL138 EVM from Logic PD 

    3. OMALP138 EVM from SDI 


    Rishabh said:

    New Observation:-

    1) First I was using 4GB NAND flash but does not get any success in Programming that.

    2) But just replacing 4GB NAND flash with 512MB NAND flash I am able to program that.

    So can you tell me where I might to look specifically for that?

    What is the difference between the two NAND flashes mentioned here; out of which you said ,one worked and the other didnot!. ? What do you mean by "4GB NAND flash with 512MB NAND flash" ?

    There is an alternate option of using NAND flash writer program to flash the ARM UBL and U-Boot images into NAND flash memory via CCS. You can give a try on that too. For more info, please visit http://processors.wiki.ti.com/index.php/GSG:_Building_Software_Components_for_OMAP-L1/AM1x#Rebuilding_the_NAND_Flash_writer

     

    Regards,

    Shankari

     

    -------------------------------------------------------------------------------------------------------

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