I am trying to download my sample application code (LED sample code from spectrum digital) to my davinci EVM DM6446 I want to flash this code to NOR flash so that I can run the same code even after i power- reset the board.
So I have followed "Flashing DM644x EVM using NOR Writer utilities (CCS environment)" (http://processors.wiki.ti.com/index.php/UG:_DaVinci_PSP_Installation_on_DM644x_EVM#Building_UBL_for_DM644x_810MHz_EVM_.28CCS_environment.29
) I have used CCS v 5.5.0 and XDS560 v2 LC traveller as emulator
My log is as below:
Conslole:
[ARM9_0] Starting DM644x_NORWriter.
CFI Query...passed.
NOR Initialization:
Command Set: Intel
Manufacturer: INTEL
Size: 0x10 MB
Does your u-boot version require a UBL in the NOR flash (Y/N)?
Y
Enter the UBL file Name (enter 'none' to skip):
D:\PROJECTS\NOR_WR\UBL_DM6446_NOR.bin
Erasing the NOR Flash
Erased through 0x2020000
Erase Completed
Writing the NOR Flash
NOR Write OK through 0x2003800.
Enter the U-boot or application file name (enter 'none' to skip):
D:\PROJECTS\NOR_WR\led.bin
Enter the U-boot or application entry point:
0x81080000
Enter the U-boot or application load address:
0x81080000
Erasing the NOR Flash
Erased through 0x2040000
Erase Completed
Writing the NOR Flash
NOR Write OK through 0x2020010.
Writing the NOR Flash
NOR Write OK through 0x2028000.
NOR Write OK through 0x2028E30.
NOR boot preparation was successful!
When I try to boot via this nor by changing to NOR boot method, I get this in hyper terminal:
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
Bad magic number, read as 0xA1ACED66
NOR Boot failed.
Aborting...
Whats wrong?
Regards azhagiri S