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.

6678 ethernet helloworld

Hi,

I am attempting to compile
C:\Program Files\Texas Instruments\mcsdk_2_00_05_17\examples\ndk\helloWorld
for evm6678l (ccs 5.1.0.09000)

I had to add include links to compile.  I took my best guess at the correct paths.
"C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_17\packages\ti\drv\cppi"
"C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_17\packages\ti\drv\qmss"
"C:\Program Files\Texas Instruments\ndk_2_20_06_35\packages"

There are a pile of undefined symbols and sections specifications when I link.

I think I will need a link.cmd.  Where is it?  Hello world shouldn't be so difficult, so I must be doing something wrong.

I want to start transceiving packets on the ethernet.  C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_17\packages\ti\drv\pa\example\emacExample runs, but it is only loopback.

Greg

  • Hi Greg,

    The Hello world example is a BIOS example, so it should only need a cfg file.  You should also need PA pdk. It will be difficult for me to tell the issue without the list of errors you are getting. can we get the list of errors that you are getting. i can try it myself and will get you any additional paths you need to add.

    Thanks,

    Arun.

  • Hi Greg,

    I was able to compile sucessfully without any change. i am adding my compiler options and see what is different in your case.

    -mv6600 -g --include_path="C:/CCS_5_1_08020/ccsv5/tools/compiler/c6000/include" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6678_1_0_0_16/packages/ti/drv/qmss" --include_path="C:/Program Files (x86)/Texas Instruments/pdk_C6678_1_0_0_16/packages/ti/drv/cppi" --include_path="C:/mcsdk2_05/mcsdk_2_00_05_17/examples/ndk/helloWorld/evmc6678l/.." --diag_warning=225 --abi=eabi

    Also I use CGT 7.2.4.

    Thanks,

    Arun.


  • Thanks Arun,

    It seems to be working now.  We had to make some changes listed below.  Maybe I’m doing something wrong to require these changes?

    First we needed to add include paths:
       "C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_17\packages\ti\drv\cppi"
       "C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_17\packages\ti\drv\qmss"

    Second we moved ndk_2_20_06_35 from C:\Program Files\Texas Instruments to C:\ti.  CCS couldn't find it in C:\program files unless we explicitly added an include path for it.  Maybe CCS prefers it to be in C:\ti ?

    Third we needed to fabricate a linker.cmd file.  We copied one from an image processing demo, deleted the -l and --symbol entries, and edited, l2sram, msmcsram, and ddr3 entries to match information in evmc6678l.map.

    We’re running CGT 7.3.1 and here are the compiler options:

    -mv6600 -g -O2 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="T:/PROJECTS/Z10A0ACE_HELLO/hello_world" --include_path="c:/Program Files/Texas Instruments/pdk_C6678_1_0_0_17/packages/ti/drv/cppi" --include_path="c:/Program Files/Texas Instruments/pdk_C6678_1_0_0_17/packages/ti/drv/qmss" --display_error_number --verbose_diagnostics --diag_warning=225 --abi=eabi --optimizer_interlist -k --asm_listing --asm_directory="T:/PROJECTS/Z10A0ACE_HELLO/hello_world/Debug" --list_directory="T:/PROJECTS/Z10A0ACE_HELLO/hello_world/Debug"

    Greg Reuter