Hi everyone,
I wrote a simple program for C5515 EVM board to test SDRAM support. The program simply displays (on the LCD) an 128x128 image located in SDRAM.
The program worked fine when I ran it directly from CCS using "Debug Launch" button.
Then, I tried to flash the program onto NOR flash. As the image data would be loaded to SDRAM by the boot loader, I had to ask it to configure EMIF first via hex55 options as follow (register values are copied from GEL file):
-boot -v5515 -b -serial8 -reg_config 0x1c04,0x0020 -reg_config 0x1C05,0x0002 -delay 0x100 -reg_config 0x1c1e,0x0001 -reg_config 0x1c33,0x0000 -reg_config 0x1020,0x4710 -reg_config 0x1021,0x3911 -reg_config 0x103C,0x0007 -reg_config 0x100C,0x04E3 -reg_config 0x1008,0x4720 -reg_config 0x1009,0x0001 -delay 0x100 -reg_config 0x100C,0x061A
After I flashed the program onto NOR flash and restarted the EVM board, it behaved wrongly: the board still booted from the previous binary but not the new program flashed.
Then, I tried to replaced the hex55 option -v5515 by -v5505 and flashed the program again. This time, the board did boot from the new binary, but nothing was displayed on the LCD as expected. The DSP seemed to stall before the boot loader returns control.
Is there an example to flash C5515 EVM with SDRAM support somewhere?
BTW, my program does have SDRAM initialization code (thus it works properly without GEL file when loaded directly in CCS).
Kind regards,
Cong-Van