Finally, I managed to get it done. Below are some of the modifications I
made to fpga_loader.c and led_ahex.cmd (for led.pjt). In fpga_loader.c,
flashpage is set to 0x2 so that the boot() function will start reading at
0x9010 0000. In led_ahex.cmd, address is changed so that the application
will be flashburn to 0x9010 0000.
/* Call BSL init */
/* Load FPGA from Flash */
/* Disable interrupts */
-bootsection .boot_load 0x90100000
FLASH: org = 0x90100000, len = 0x400000, romwidth = 8, files =
Reply by keigo●October 20, 20062006-10-20
I am having difficulties trying to flashburn led.hex (created from
led.out) onto DM642 EVM board.
From my understanding,
it is only after the FPGA is programmed via the fpga_loader program that I
will be able to modify the FPGA Flash Page Register to boot my application
code from PAGE1.
So if I were to flashburn my application onto DM642 EVM board,I would
1.) flashburn my application to 0x9008 0000 (Page 1)
is the following configuration sufficient?
FLASH: org = 0x90000000, len = 0x400000, romwidth = 8, files =
2.) modify fpga_loader.pjt such that after initialize the FPGA, it will
start copying data from 0x9008 0000 to SDRAM.
However I have no idea on how to go about doing the above.
Was unable to find any documents/example which does the above.
Or it there a simpler method to flashburn my application onto DM642 EVM
Any suggestion is much appreciated