Ok now I get the emulator working using the gel file supplied in LSP2.10 PSP: DM365_26Feb_VPSS_wrknd3a.gel. I can program NAND using NANDEraser, NANDWriter and the UBL and u-boot supplied by LSP2.10 PSP.
Problem now is, I try to rebuild the UBL, using the source code supplied by LSP2.10 PSP. But my UBL does not work. When bootup, it shows:
------------------------------------------
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
------------------------------------------
Then it stops.
My UBL.out file size is 25K. The LSP2.10 supplied UBL_DM36x_NAND.bin file size is 20k. I dont know why the size difference.
For UBL project CCS build properties, it chooses Unknown TMS470R2X Device, little endianness, TI v4.6.3, eabi(ELF)
When I open my UBL.out file using hex editor, I can see it's ELF file format. But the LSP2.10 supplied UBL_DM36x_NAND.bin seems not ELF format. What is the format?
Or is there any other configurations I should set.
I am using Ti DM365 EVM.
Thanks.