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.

Problems in using UBL - OMAPL138

Other Parts Discussed in Thread: OMAP-L138, OMAP-L132, OMAPL138

Hi,

   I'm using my own board that was designed base on TI OMAPL138-LCDK, with OMAPL138B 456MHz,DDR2(MT47H128M16RT-25EIT), NAND FLASH(MT29F4G08ABADAWP-IT) on board.

   Now, i have problems when i attempt to download UBL to Nand.

1.) When i use Nand writer in CCS, i found it can only download one file and then end. I can download thd UBL file successful, and the UBL runs to search uboot sucessful too. But i don't know how to download uboot again, then i modified the Nand writer program to start from block 6, and download uboot.bin to try, there was noting response. I tried uboot.img too, but no response too. I wonder how to download uboot using CCS? And what format? Is there any document?

2.) Unfortunately, i download uboot in AIS format directly into Nand without UBL, after that, the board can't work any more.I try to erase it by Nand writer in CCS, but the Nand writer program just run to start and no response any more. That's why ?

3.)I change to another board, and download with sfh_OMAP-L138.exe/UART Boot Host.exe, but it has problem too,like this:

(Serial Port): Opening COM14 at 115200 baud...
(AIS Parse): Read magic word 0x41504954.
(AIS Parse): Waiting for BOOTME... (power on or reset target now)
(AIS Parse): BOOTME received!
(AIS Parse): Performing Start-Word Sync...
(AIS Parse): Performing Ping Opcode Sync...
(Serial Port): Read error: The operation has timed out.
(AIS Parse): I/O Error in read!
(AIS Parse): Boot aborted.
(Serial Port): Closing COM14.

after this, i use serial assistant to simulate the boot protocol in "Using the OMAP-L132/L138 Bootloader" document, and i can receive "BOOTME" without problem, when i send Start-Word:0x58, i can receive 0x52 also, but when i send Ping Opcode:0x0B,0x59,0x53,0x58, there is nothing response again, so, does anyone can help me?

  Thanks a lot!

  • Hi Leon Lee2,

    By any chance, you looked into the steps for using the Serial flasher utility given at TI WIKI : http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138

    Have you passed all the arguments correctly?

    Would you please post the command and parameters used for serial flashing utility?

    If you use NAND flash, the command will be something like below:

    >sfh_OMAP-L138.exe -flash boot.ais rasterDisplay.bin -targetType OMAPL138_LCDK -flashType NAND -p COM3

     

    Regards,

    Shankari

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

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

  • Hi Shankari,

       Many thanks for your prompt reply!

       In Cygwin environment, i "cd" to OMAPL138 folder ,and execute " make clean", "make" command, and it finished without error finally.

    I use sfh_OMAPL138 command like this:

    sfh_OMAP-L138.exe -erase -targetType OMAPL138 -flashType NAND -p COM14

    also like this:

    sfh_OMAP-L138.exe -erase  -flashType NAND -p COM14

    The error occured just at the begining of this command.

    Thank you for your answer, i'm waitting for any suggestion.

    Best Regards,

    leon

  • Hi leon,

    Could you please attach the screen shot of the error which you got.

  • Hi Titus,

    Thank you!

    I attached all the error screen shots what i described before, list below:

    1.  run cmd : sfh_OMAP-L138.exe -erase -targetType OMAPL138 -flashType NAND -p COM14

    2. run cmd (without -targetType) : sfh_OMAP-L138.exe -erase -flashType NAND -p COM14

    3. Use UART_Boot_Host:


    4. UBL download by CCS before, and boot mode switch to NAND, it's OK, but i don't how to download uboot by CCS next step :

    5.  Another board, which download the uboot converted by AISgen, i download it by CCS, and can't erase or download again, it's no response in CCS after the start:

    that's all, and pls hlep me.

    Regards,

    leon

  • Hi, everyone,

    The problems are solved. Because there is a loopback circuit connected to the uart on my bottom board, so it can't download while there is a same signal back to OMAPL138 always.

    I feel ashamed about it, sorry.

    But i still want to know,  how to download uboot by CCS?  By modifying the NANDWriter program?

    Thank you!

    Regards,

    leon