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.

How to use sfh_DM36x.exe and slh_DM36x.exe utilities?

I am working on my new DM365 custom board with empty nand flash.

When I try to flash it with sfh_DM36x.exe...

-----------------------------------------------------
   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-dm6446-evm-nand.bin.


Attempting to connect to device COM3...
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: 

 

It looks like the RBL has accepted the sft_DM36x_nand.bin, but does not run it.

Any adivce?

Thanks.

  • Hi All

        We are also facing same problem while flashing the uboot in to NAND Flash for DM365 leopard board, using serial flasher utility sfh_Dm36x.exe.

    Flashing NAND with  ubl_DM36x_nand.bin and  u-boot-dm365-evm-4K.bin.

     

    -----------------------------------------------------
       TI Serial Flasher Host Program for DM36x
       (C) 2009, Texas Instruments, Inc.
       Ver. 1.50
    -----------------------------------------------------
     
     
    Platform is Windows.
    Flashing NAND with sft_DM36x_nand.bin and u-boot-dm365-evm-4K.bin.
     
     
    Attempting to connect to device COM1...
    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
            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
            Target:  BOOTME
            Target:  BOOTME
            Target:  BOOTME
            Target:  BOOTME
            Target:  BOOTME
            Target:  BOOTME
            Target:  BOOTME
            Target:  BOOTME
            Target:  BOOTME

     

    Any help would be greatly appreciated.

     

    Thanks & Regards,

    hemanth

     

  • Hi Hemanth,

    AFAIK, DM365 EVM should be having a switch which selects NAND boot mode . If the boot mode is selected as other than NAND (for eg. UART) then

    it shows BOOTME on the terminal. SO check your boot mode settings if you are sure that the NAND flash has been successfully programmed with u-boot.

    Regards,

    Sid

     

  • Hi Sid,

    We are trying "Flashing DM365 EVM (PG 1.2 Silicon or newer) using Serial flash utilities" not NAND boot, and I am very sure that the boot mode is UART boot mode, and DM365 has accepted data from the host, but does not run the data received.

    Thanks,

    Lei

  • had the same problem with dm355. check your cpu power supply. check the power up sequence and check the cpu voltage as near to davinci as possible. davinci starts with 24 MHz ARM clock. sft initialises the pll and sets ARM clock to right frequency. this is when the cpu voltage typically breaks.

  • I am having the exact same problem.  When did you get your board. I got mine 2 weeks ago and it is a rev e

  • Unfortuantely, this is somewhat difficult to answer since the tools are only tested and developed for the TI EVM.   When someone needs to port these to a custom platform, it can get tricky.  This post was similar:

     http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/p/47740/168859.aspx#168859

     The short answer is to look at the sft code and start by removing certain initialization steps, like PLL init, for instance, as in the post above, and then try to get it going from there.

  • If you take a look at http://processors.wiki.ti.com/index.php/UG:_DaVinci_PSP_Installation_on_DM365_EVM#Flashing_DM365_EVM_.28PG_1.2_Silicon_or_newer.29_using_Serial_flash_utilities  the following is stated:

    NOTE: The serial utility has an issue where the utility just hangs and is unable to flash the NAND on the DM365 EVM. This is an issue with the core drivers inherited from the flash utilities repository in the GFORGE server. It affects other SOCs as well. Resetting the EVM and running the serial flasher again results in success.

    We have encountered this this evening. It is solved however NOT by resetting your hardware & rerunning the serial flasher but rather to just leave the hardware as is after a "hang" & solely rerun the serial flash command. This picks up the process from where it left off.

    I hope this helps.
    Sincerey,
    NickA

  • Thanks NickAllen, I will try it.

  • Hi  Friend:

    I am use sfh_dm36x to boot the DM368. But I am get a hold and no error messages. I am sure to set the BTSEL to UART-Boot and I can see the "BOOTME".  Below is my log...

     

    -----------------------------------------------------
       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-dm6446-evm-nand.bin.


    Attempting to connect to device COM2...
    Press any key to end this program at any time.


    Waiting for the DM36x...

     -------------------------------------- end

    Regards,

    Jemy

  • I also have the same problem Jemy Chen "Waiting for the DM36x...". I tried with Windows XP, 7 and 10, still no luck