This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[C6678LE-EVM] mcsdk-video transcode demo error



hello all ,

there was an error when t try to built the demo in mcsdk_video_2_2_0_46\examples\transcode . I did what transcode\Readme.txt  said . The following is a description of this problem .

platform : C6678LE EVM  and  CCSv5.5

PC : Windows7  64 bit

console msg :  #10099-D  program will not fit into available memory.  run placement with alignment fails for section ".shared_mem_SL2_uncached" size 0x1f008 .  Available memory ranges:        MSMC         size: 0x3fff00     unused: 0xccc2       max hole: 0x7200

where : the 164 line in linker.cmd 

Error code : shared_mem_SL2_uncached  > MSMC PAGE 0 fill = 0x00

demo address : mcsdk_video_2_2_0_46

It seems that MSMC is not big enough . I tried following ways : 

1, made shared_mem_SL2_uncached smaller (0xca20)

2,made shared_mem_SL2_uncached in DDR

3,made shared_mem_SL2 smaller (0x160000 ) then MSMC can accommodate shared_mem_SL2_uncached 

through those ways , I can build the deno success . but when i download the .out file in C6678evm , the program can not run to main , it would die in auto_init_elf . as the following picture :

then ccs prompt :

I don`t konw what causes  this . Did someone met this problem ??

  • Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com). Please read all the links below my signature.

    We will get back to you on the above query shortly. Thank you for your patience.

    Note: We strongly recommend you to create new e2e thread for your queries instead of following up on an old/closed e2e thread, new threads gets more attention than old threads and can provide link of old threads or information on the new post for clarity and faster response.

  • Hi, unfortunately this is a known issue reported on mcsdk_video_release_notes_02_02_00_46.pdf. Latest H264 encoder/decoder are bigger and they are not fitting with previous CCS example configuration. This issue might get resolve in a future MCSDK video release. One possible work around is to use older (and smaller) H264 encoder and decoder versions. With below combination of encoder and decoder, MCSDK video CCS example transcoder should work

    software-dl.ti.com/.../index_FDS.html
    software-dl.ti.com/.../index_FDS.html

    Thank you,
    Paula

  • Thank you very much, Paula . I did as you said and it worked , but when i download the .out file into C6678leEVM through CCS , the program can not run to main . I want to know how many cores does this demo need , and it would be better if you could tell me the detailed steps to run the demo .

    Thank you,
    Windhelm
  • Hi Windhelm, apologize my delay reply, I was out of office.  Please refer to Readme Section 3) for high level details on how to run the demo

    C:\TI\mcsdk_video_2_2_0_46\examples\transcode\Readme.txt

    For more detailed instructions on how to run TFTP demos please go: to: processors.wiki.ti.com/.../MCSDK_VIDEO_2.1_CODEC_TEST_FW_User_Guide

    Also please check configuration params for more details C:\TI\mcsdk_video_2_2_0_46\examples\transcode\testVecs\config\codecParams.cfg. As far as I remember only one core was used. if my memory is correct we run first decoder and then encoder

    Thank you,

    Paula

  • Hi Paula , 

    To be honest I have given up this demo, now I am studying another demo; mcsdk_video_2_2_0_46\dsp\mkrel, I feel better this demo. Still thank you for your reply.

    Thank you,
    Windhelm
  • Windhelm, this is an old simple example which haven't been maintained in latest MCSDK video releases, so it can be tricky. Thanks for let us know.
    Paula