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.

Loading problem of helloworld program in ndk

Other Parts Discussed in Thread: TMS320C6678

Hi,

I am using TMS320C6678 evaluation kit. I am trying to load helloworld ( example program of ndk in mcsdk_2_01_02_06) through ccs6. The compilation is success but while loading ccs throws the following error message.

"c66xx_0:File Loader:a data verification failed at address 0x80300000.Please verify target memory and memory map.

c66xx_0:GEL File

c:\ti\mcsdk_2_01_02_06\examples\ndk\helloworld\evmc6678l\Debug\helloworld_evmc6678l.out a data verification error occured.file load failed"


I am getting the same error for client example also.

Other examples in pdk6678 projects are working fine (eg. PCIe,SRIO).

Please help on this.

Regards,

Sivanantham

  • Hi Sivanantham,

    Have you tried pre-built binaries of MCSDK? Can you please post the procedure followed?

    Can you please share the build .out file here?
    Please search for keystone NDK FAQ TI wiki.

    Thank you.
  • Hi,

    Thanks for the response.Now I am able to load the ndk example programs (both Helloworld and client). But it is not direct method.

    I followed the following steps to load the ndk example code.

    1.Load working code (Any example project of PDK 6678)

    2.Then load the gel file (evmc6678l)

    3.Terminate the session.

    4.Load the ndk example (client.out or helloworld)

    After doing above steps i am able to load the ndk example code (both client and helloworld)

    One thing i observed is the above step has to be done very first time and multiple time loading is possible till the reset or powering off EVM kit.

    The above said steps look bit awkward.

    My questions are

    1.what is the role of GEL file loading in the above said steps ? (Any prior initialisation is required?)

    2.Is there any direct way available to avoid the above steps?

    3.What is the role of selecting platform setting in RTSC (in project property)?

    Kindly clarify on this.

    Regards,

    Sivanantham

  • You no need to follow any different steps, just simply rebuild the project and load it but the board shoud be in no boot mode, so that gel file read the boot mode pins and do the required initalization.
    Please make sure that you set boot mode to "DSP no boot" mode.
    Gel file is used to initialize all the peripherals for the target board.

    Platform setting is required to do the memory mapping for the project as per the processor.
  • 1.what is the role of GEL file loading in the above said steps ? (Any prior initialisation is required?)

    The role of the gel file is to initialize the DSP cores and peripheral for like speed, clock(pll) and memory(ddr) map configuration etc., This is required only for "DSP No boot" mode.

    2.Is there any direct way available to avoid the above steps?

    You can have this initialization configuration included on your application binary and burn it on flash. Then select the appropriate boot mode to run the application.

    3.What is the role of selecting platform setting in RTSC (in project property)?

    The platform setting is to configure the project memory mapping.

    Thank you.