Hi,
We are using slavelaoder for loading DSP image from ARM. DSP side image is loading and running properly when there is no overlaying code. If we specify code overlay in cmd file, slaveloader is not loading the DSP image properly. The code in load address range is corrupted.
Our setup details:
Hardware : 8148 EVM
Syslink version : 2_10_05_26
BIOS version : 6_33_02_31
CG Tool version : 7.3.1
cmd file snippet:
UNION run = L1PSRAM
{
.text:ittiam_h264_mp_dec_ciram_1_1 : LOAD = DDR3_DSP, ALIGN = 128
LOAD_START(g_h264_mp_dec_ciram_1_1_load_addr),
RUN_START (g_h264_mp_dec_ciram_1_1_run_addr),
LOAD_SIZE (g_h264_mp_dec_ciram_1_1_size)
.text:ittiam_h264_mp_dec_ciram_1_2 : LOAD = DDR3_DSP, ALIGN = 128
LOAD_START(g_h264_mp_dec_ciram_1_2_load_addr),
RUN_START (g_h264_mp_dec_ciram_1_2_run_addr),
LOAD_SIZE (g_h264_mp_dec_ciram_1_2_size)
}
With the above, we are facing the issue as explained. But if there is no run (as shown below) DSP image is loading and working properly.
/*UNION run = L1PSRAM
{ */
.text:ittiam_h264_mp_dec_ciram_1_1 : LOAD = DDR3_DSP, ALIGN = 128
LOAD_START(g_h264_mp_dec_ciram_1_1_load_addr),
RUN_START (g_h264_mp_dec_ciram_1_1_run_addr),
LOAD_SIZE (g_h264_mp_dec_ciram_1_1_size)
.text:ittiam_h264_mp_dec_ciram_1_2 : LOAD = DDR3_DSP, ALIGN = 128
LOAD_START(g_h264_mp_dec_ciram_1_2_load_addr),
RUN_START (g_h264_mp_dec_ciram_1_2_run_addr),
LOAD_SIZE (g_h264_mp_dec_ciram_1_2_size)
/*}*/
It would be very helpful if somebody help us on resolving this issue?