Hi D-allred,

I meet a problem while  I'm trying to update uboot for my nand on davinci.

C:\Documents and Settings\Administrator\Desktop\New
Folder\exe>DVFlasher_1_14.exe -p COM3 -fnandbin u-boot.bin

As the DVFlasher.cs shows a second DONE should be given by ubl while trying
to flash UBL.

// Wait for ^^^DONE\0

                if (waitForSequence("   DONE\0", "BOOTPSP\0", MySP))

                    Console.WriteLine("DONE received.  All bytes of
Application code received...");

                else

                    goto BOOTPSPSEQ2;


                // Wait for second ^^^DONE\0 to indicate the S-record decode
worked

                if (waitForSequence("   DONE\0", "BOOTPSP\0", MySP))

                    Console.WriteLine("DONE received.  Application S-record
decoded correctly.");

                else

                    goto BOOTPSPSEQ2;

But my DVFlasher will never meet the second DONE.
-----------------------------------------------------
   TI DVFlasher Host Program for DM644x
   (C) 2007, Texas Instruments, Inc.
-----------------------------------------------------


Flashing NAND with u-boot2.bin.


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


Waiting for DVEVM...
BOOTME commmand received. Returning ACK and header...
ACK command sent. Waiting for BEGIN command...
        DVEVM:    BEGIN
BEGIN commmand received. Sending CRC table...
CRC table sent.  Waiting for DONE...
DONE received.  Sending the UART UBL file...
DONE received.  UART UBL file was accepted.
UART UBL Transmitted successfully.

        DVEVM:  TI UBL Version: 1.14, Flash type: NAND
        DVEVM:  Booting PSP Boot Loader
        DVEVM:  PSPBootMode = UART

Waiting for UBL on DVEVM...
UBL's BOOTPSP commmand received. Returning CMD and command...
CMD value sent.
SENDUBL received. Returning ACK and header for UBL data...
ACK command sent. Waiting for BEGIN command...
UART UBL's BEGIN commmand received. Sending the Flash UBL code...
Flash UBL code sent.  Waiting for DONE...
DONE received.  All bytes of Application code received...

Waiting for UBL on DVEVM...
UBL's BOOTPSP commmand received. Returning CMD and command...
CMD value sent.
SENDUBL received. Returning ACK and header for UBL data...
ACK command sent. Waiting for BEGIN command...
UART UBL's BEGIN commmand received. Sending the Flash UBL code...
Flash UBL code sent.  Waiting for DONE...
DONE received.  All bytes of Application code received...

Waiting for UBL on DVEVM...
UBL's BOOTPSP commmand received. Returning CMD and command...
CMD value sent.
SENDUBL received. Returning ACK and header for UBL data...
ACK command sent. Waiting for BEGIN command...
UART UBL's BEGIN commmand received. Sending the Flash UBL code...
Flash UBL code sent.  Waiting for DONE...
DONE received.  All bytes of Application code received...
-- 
David

Manager, Business Development
Embedio. Inc.
+86 13581953152
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to