Hi,
I'm working on a project where a tms320c6678 are used to communicate with a xilinx FPGA through SRIO.
On the DSP side, i tried to initiate a NREAD opration to read data from the FPGA.
I modified the DIO loopback example project into normal 1X mode, and the program works fine.
But when i tried to get a lager payload, an exception was given by the BIOS indicated that the system heap overflowed.
I noticed that the sys heap set in the defult .cfg file has a size of 32768B. and mapped into the L2SRAM. I changed the heap size into a lager one,and get larger payload transfered correctly.
As i want to get a much larger payload up to 1MB, the L2SRAM won't fit anymore.
I noticed the problem posted in this:
http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/125626.aspx
It seems that we are faced with the same kind of problem. So i change the systemHeap map form:
Program.sectMap["systemHeap"] = Program.platform.stackMemory;
into
Program.sectMap["systemHeap"] = "MSMCSRAM";
But when the program ran, the FPGA side responed correctly, but the DSP buffer did not change at all;
When i change this in the loopback example project as above and lanuched it on the 6678evm board the transfer failed too.
So i'm wonddering what else do i have to change to accomplish the large payload transfer goal.
Help! Please!
Tommy.