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.

unable to flash UBL on custom dm6446 board

Hi All,

I am using DM644x_FlashAndBootUtils_2_00 for my dm6446 custom board. I have made required changes (all that I know) for sfh utility to work on my board. slh utility works fine for both UBL and U-Boot so I assume DDR settings are proper. But sfh hangs after transferring to UBL/U-Boot image to memory. 

I feel somewhere I have missed flash settings and that's why erase and flash fails. Please see the logs of Erase mode and Flash mode.

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

Erase 

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

   TI Serial Flasher Host Program for DM644x

   (C) 2010, Texas Instruments, Inc.

   Ver. 1.67

 100% --████████████████████████████████████████████████████████████

                           CRC table sent.                            

 

Waiting for DONE...nux.

DONE received.  Sending the UBL...vice on the DM6446

 100% [ ████████████████████████████████████████████████████████████ ]

                              UBL sent.                               

Press any key to end this program at any time.

DONE received.  UBL was accepted.

 

Waiting for SFT on the DM644x...

BOOTME cTarget: BOOTUBLd. Returning ACK and header...

BOOTUBL commmand received. Returning CMD and command...

CMD value sent.  Waiting for DONE...

BEGIN coTarget:r   DONE. Sending CRC table...

DONE received. Command was accepted.-------------------------------- ]

Status UTarget:d   SIZE

Target: 00000001

Target: SENDING

Target:   FAIL

Target:   FAIL

Target: BOOTUBL

Command failed, retrying

 

Waiting for SFT on the DM644x...

Target: BOOTUBL

BOOTUBL commmand received. Returning CMD and command...

CMD value sent.  Waiting for DONE...

Target:   DONE

DONE received. Command was accepted.

Target:   SIZE

Target: 00000001

Target: SENDING

Target:   FAIL

Target:   FAIL

Target: BOOTUBL

Command failed, retrying

 

Waiting for SFT on the DM644x...

Target: BOOTUBL

BOOTUBL commmand received. Returning CMD and command...

CMD value sent.  Waiting for DONE...

Target:   DONE

DONE received. Command was accepted.

Target:   SIZE

Target: 00000001

Target: SENDING

Target:   FAIL

Target:   FAIL

Target: BOOTUBL

Command failed, retrying

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------------------------------
Flash
-----------------------------------------------------------
-----------------------------------------------------
   TI Serial Flasher Host Program for DM644x
   (C) 2010, Texas Instruments, Inc.
   Ver. 1.67
 100% --████████████████████████████████████████████████████████████
                           CRC table sent.                            
Waiting for DONE...nux.
DONE received.  Sending the UBL...: ubl_DM6446_NAND.bin and u-boot-1.2.0-davinci-nand.bin. the NAND flash device on the DM6446
 100% [ ████████████████████████████████████████████████████████████ ]
                              UBL sent.                               
Press any key to end this program at any time.
DONE received.  UBL was accepted.
Waiting for SFT on the DM644x...
BOOTME cTarget: BOOTUBLd. Returning ACK and header...
BOOTUBL commmand received. Returning CMD and command...
CMD value sent.  Waiting for DONE...
BEGIN coTarget:r   DONE. Sending CRC table...
DONE received. Command was accepted.-------------------------------- ]
Sending the UBL image
Waiting for SENDIMG sequence...
ACK command sent. Waiting for BEGIN command... 
BEGIN commmand received.
 100% [ ████████████████████████████████████████████████████████████ ]
                  Image data transmitted over UART.                   
Waiting for DONE...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Regards,
Dipen Patel