DM6446 Programming (Mercury)

From Wiki
Jump to: navigation, search

Results programming Mercury:

jcw@gen9300 ~ $ mono sfh_DM644x.exe -nandflash ubl_DM644x_nand.bin u-boot-test.bin

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


Platform is Unix/Linux.
Flashing NAND with ubl_DM644x_nand.bin and u-boot-test.bin.


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


Waiting for the DM644x...
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 DM644x...
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...
SENDIMG received. Returning ACK and header for image data...
ACK command sent. Waiting for BEGIN command... 
BEGIN commmand received.
 100% [                                                              ]
                           Image data sent...


Waiting for DONE...
DONE received.  All bytes of image data received...
Target:Writing UBL to NAND flash
Target:Unprotecting blocks 0x00000001 through 0x00000005.
Target:Number of blocks needed for header and data: 0x0x00000001
Target:Attempting to start in block number 0x0x00000001.
Target:Erasing block 0x00000001 through 0x00000001.
Target:Writing header and image data to Block 0x00000001, Page 0x00000000
Target:Erasing block 0x00000002 through 0x00000002.
Target:Writing header and image data to Block 0x00000002, Page 0x00000000
Target:Erasing block 0x00000003 through 0x00000003.
Target:Writing header and image data to Block 0x00000003, Page 0x00000000
Target:Erasing block 0x00000004 through 0x00000004.
Target:Writing header and image data to Block 0x00000004, Page 0x00000000
Target:Erasing block 0x00000005 through 0x00000005.
Target:Writing header and image data to Block 0x00000005, Page 0x00000000
Target:Protecting the entire NAND flash.
Target:   DONE
Sending the Application image
Waiting for SENDIMG sequence...
SENDIMG received. Returning ACK and header for image data...
ACK command sent. Waiting for BEGIN command... 
BEGIN commmand received.
 100% [                                                              ]
                           Image data sent...


Waiting for DONE...
DONE received.  All bytes of image data received...
Target:Writing APP to NAND flash
Target:Unprotecting blocks 0x00000006 through 0x00000032.
Target:Number of blocks needed for header and data: 0x0x00000003
Target:Attempting to start in block number 0x0x00000006.
Target:Erasing block 0x00000006 through 0x00000008.
Target:Writing header and image data to Block 0x00000006, Page 0x00000000
Target:Erasing block 0x00000009 through 0x0000000B.
Target:Writing header and image data to Block 0x00000009, Page 0x00000000
Target:Erasing block 0x0000000C through 0x0000000E.
Target:Writing header and image data to Block 0x0000000C, Page 0x00000000
Target:Erasing block 0x0000000F through 0x00000011.
Target:Writing header and image data to Block 0x0000000F, Page 0x00000000
Target:Erasing block 0x00000012 through 0x00000014.
Target:Writing header and image data to Block 0x00000012, Page 0x00000000
Target:Erasing block 0x00000015 through 0x00000017.
Target:Writing header and image data to Block 0x00000015, Page 0x00000000
Target:Erasing block 0x00000018 through 0x0000001A.
Target:Writing header and image data to Block 0x00000018, Page 0x00000000
Target:Erasing block 0x0000001B through 0x0000001D.
Target:Writing header and image data to Block 0x0000001B, Page 0x00000000
Target:Erasing block 0x0000001E through 0x00000020.
Target:Writing header and image data to Block 0x0000001E, Page 0x00000000
Target:Erasing block 0x00000021 through 0x00000023.
Target:Writing header and image data to Block 0x00000021, Page 0x00000000
Target:Erasing block 0x00000024 through 0x00000026.
Target:Writing header and image data to Block 0x00000024, Page 0x00000000
Target:Erasing block 0x00000027 through 0x00000029.
Target:Writing header and image data to Block 0x00000027, Page 0x00000000
Target:Erasing block 0x0000002A through 0x0000002C.
Target:Writing header and image data to Block 0x0000002A, Page 0x00000000
Target:Erasing block 0x0000002D through 0x0000002F.
Target:Writing header and image data to Block 0x0000002D, Page 0x00000000
Target:Erasing block 0x00000030 through 0x00000032.
Target:Writing header and image data to Block 0x00000030, Page 0x00000000
Target:Protecting the entire NAND flash.
Target:   DONE
Target:   DONE

Operation completed successfully.
jcw@gen9300 ~ $