hi, Satish. The program can run without sram or sram just used for storing data.
When I want boot copier to load boot section onto sram, it does't work.
I do an experiment that sopc just with on chip memory and EPCS, pio, cpu. I set reset vector and exception vector to on chip memory, it works. but I set these vector to EPCS, it does't work when power on. just work after debug with JTAG.
Did any one have experience that boot with sram? When program bigger and bigger, the .text section can't be set to on chip memory, I found some reference said that the program can boot with CFI(.text set to CFI), but CFI is not fast enough, I think there be a method let the program boot on SRAM , of course, the program stored in EPCS or CFI.