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.

UBL and U-BOOT flash issue through UART

hi all.

i am using DM365 on my custum board, i am trying to flash UBL and U-BOOT through UART using TI' S serial flash programmer, some days before its working fine, but now a days its giving problem like as below

this is what i understood from the flash process,

1. Nand Erase is working fine

2. Board is accepting UBL but when its trying to boot that UBL through UART its failing and going into infinite loop(means UBL is accepting but U-boot its not going to accept)

if something is wrong in my understanding about board boot procedure, pls correct it,

 

Actual Debug prints are as follows,

 

root@inttel-ubuntu# ./sfh_DM36x.exe -nanderase -p /dev/ttyS0

-----------------------------------------------------
   TI Serial Flasher Host Program for DM36x
   (C) 2009, Texas Instruments, Inc.
   Ver. 1.50
-----------------------------------------------------


Globally erasing NAND flash.


Attempting to connect to device /dev/ttyS0...
Press any key to end this program at any time.


Waiting for the DM36x...
BOOTME commmand received. Returning ACK and header...
ACK command sent. Waiting for BEGIN command...
    Target:      BEGIN
BEGIN commmand received. Sending CRC table...
 100% [                                                              ]
                           CRC table sent....



Waiting for DONE...
DONE received.  Sending the UBL...
 100% [                                                              ]
                              UBL sent....


DONE received.  UBL was accepted.
UBL transmitted successfully.


Waiting for SFT on the DM36x...
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME
    Target:     BOOTME

 

root@intel-ubuntu# ./sfh_DM36x.exe -nandflash -p /dev/ttyS0 ubl_DM36x_nand.bin u-boot.bin

-----------------------------------------------------
   TI Serial Flasher Host Program for DM36x
   (C) 2009, Texas Instruments, Inc.
   Ver. 1.50
-----------------------------------------------------


Flashing NAND with ubl_DM36x_nand.bin and u-boot.bin.


Attempting to connect to device /dev/ttyS0...
Press any key to end this program at any time.


Waiting for the DM36x...
BOOTME commmand received. Returning ACK and header...
ACK command sent. Waiting for BEGIN command...
    Target:      BEGIN
BEGIN commmand received. Sending CRC table...
 100% [                                                              ]
                           CRC table sent....



Waiting for DONE...
DONE received.  Sending the UBL...
 100% [                                                              ]
                              UBL sent....


DONE received.  UBL was accepted.
UBL transmitted successfully.


Waiting for SFT on the DM36x...
    Target:    Starting UART Boot...
    Target:    BOOTUBL
BOOTUBL commmand received. Returning CMD and command...
CMD value sent.  Waiting for DONE...
    Target:       DONE
DONE received. Command was accepted.
Sending the UBL image
Waiting for SENDIMG sequence...

Waiting for SFT on the DM36x...
    Target:    Starting UART Boot...
    Target:    BOOTUBL
BOOTUBL commmand received. Returning CMD and command...
CMD value sent.  Waiting for DONE...
    Target:       DONE
DONE received. Command was accepted.
Sending the UBL image
Waiting for SENDIMG sequence...

Waiting for SFT on the DM36x...
    Target:    Starting UART Boot...
    Target:    BOOTUBL
BOOTUBL commmand received. Returning CMD and command...
CMD value sent.  Waiting for DONE...
    Target:       DONE
DONE received. Command was accepted.
Sending the UBL image
Waiting for SENDIMG sequence...

Waiting for SFT on the DM36x...
    Target:    Starting UART Boot...
    Target:    BOOTUBL
BOOTUBL commmand received. Returning CMD and command...
CMD value sent.  Waiting for DONE...
    Target:       DONE
DONE received. Command was accepted.
Sending the UBL image
Waiting for SENDIMG sequence...

Waiting for SFT on the DM36x...
    Target:    Starting UART Boot...
    Target:    BOOTUBL
BOOTUBL commmand received. Returning CMD and command...
CMD value sent.  Waiting for DONE...
    Target:       DONE
DONE received. Command was accepted.
Sending the UBL image
Waiting for SENDIMG sequence...