Hi,
I have my previous discussions on the same topic in below link and could not get much suggestion:
further I have tried serial flash utility for Davinci evm DM6446 demo board(spectrum digital DVEVMDM6446) and I struck after "magic number found" message.
below is my experiment:
followed:
and
with UART mode, command typed in terminal:
C:\DM644x_FlashAndBootUtils_2_00\DM644x\GNU>sfh_DM644x -flash -flashType NOR -targetType DM6446 -appStartAddr 0x80008674 -appLoadAddr 0x80000000 ubl_DM6446_NOR.bin led.bin
here led.bin is my led blinking code for test, .bin file has been generated and used this file.
-----------------------------------------------------
TI Serial Flasher Host Program for DM644x
(C) 2010, Texas Instruments, Inc.
Ver. 1.67
-----------------------------------------------------
Platform is Windows.
Flashing UBL and application image: ubl_DM6446_NOR.bin and led.bin. the NOR flas
h device on the DM6446
Attempting to connect to device COM1...
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.
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.
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...
DONE received. All bytes of image data received...
Target: Erasing the NOR Flash
Target: Erased through 0x02020000
Target: Erase Completed
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02001000.
Target: SENDING
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02002000.
Target: SENDING
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02003000.
Target: SENDING
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02003800.
Target: SENDING
Target: DONE
Sending the Application image
Waiting for SENDIMG sequence...
ACK command sent. Waiting for BEGIN command...
BEGIN commmand received.
100% [ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ ]
Image data transmitted over UART.
Waiting for DONE...
DONE received. All bytes of image data received...
Target: Erasing the NOR Flash
Target: Erased through 0x02040000
Target: Erase Completed
Target: Writing APP to NOR flash
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02020010.
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02021010.
Target: SENDING
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02022010.
Target: SENDING
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02023010.
Target: SENDING
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02024010.
Target: SENDING
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02025010.
Target: SENDING
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02026010.
Target: SENDING
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02027010.
Target: SENDING
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02028000.
Target: NOR Write OK through 0x02028010.
Target: SENDING
Target: Writing the NOR Flash
Target: NOR Write OK through 0x02029010.
Target: SENDING
Target: Writing the NOR Flash
Target: NOR Write OK through 0x0202A010.
Target: SENDING
Target: Writing the NOR Flash
Target: NOR Write OK through 0x0202A650.
Target: SENDING
Target: DONE
Operation completed successfully.
------------------------------------------------
later i changed UART mode to NOR mode and checked. log is as below, it stops after "magic number found..."
DM6446 initialization passed!
Booting TI User Boot Loader
UBL Version: 1.65
UBL Flashtype: NOR
Starting NOR Copy...
CFI Query...passed.
NOR Initialization:
Command Set: Intel
Manufacturer: INTEL
Size: 0x00000010 MB
Valid magicnum, 0x55424CBB, found..
whats wrong? suggest me please.
regards,
Azhagiri
