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.

[C667x PDK] Build error for writer project

HI,

I'm using the latest ProcSDK for C667x. I want to rebuild writer projects existing on C:\ti\pdk_c667x_2_0_3\packages\ti\boot\writer.
The problem here is failing the build for these projects. For example, I tried the following command sequence for nor writer:

cd C:\ti\pdk_c667x_2_0_3\packages
set EDMA3LLD_BIOS6_INSTALLDIR=C:\ti\edma3_lld_2_12_01_25
pdksetupenv.bat
cd C:\ti\pdk_c667x_2_0_3\packages\ti\boot\writer\nor\evmc6678l\build
gmake clean
gmake all

And then I saw the following error:

Building file: ../../../..//writer/nor/src/norwriter.c
Invoking: C6000 Compiler
"C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x" -mv6600 --abi=eabi -g -
-include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include" --include_
path="/ti/PD6029~1/packages//ti/platform" --include_path="/ti/PD6029~1/packages/
" --include_path="../../../..//writer/nor/include" --display_error_number --diag
_warning=225 --preproc_with_compile --preproc_dependency="src/norwriter.pp" --ob
j_directory="src" "../../../..//writer/nor/src/norwriter.c"
"../../../..//writer/nor/src/norwriter.c", line 47: fatal error #1965: cannot op
en source file "types.h"
1 catastrophic error detected in the compilation of "../../../..//writer/nor/src
/norwriter.c".
Compilation terminated.

It seems that the makefile fails to find types.h. ... How can I fix this problem ?

Best Regards,
Naoki

  • Hi Naoki,

    I've forwarded this to the Processor SDK experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • Hi Naoki,

    Can you please copy the "types.h" from below location to "norwriter.c" file location ?

    C:\ti\pdk_c667x_2_0_3\packages\ti\boot\ibl\src\util\ecc-test\types.h
    To
    C:\ti\pdk_c667x_2_0_3\packages\ti\boot\writer\nor\src

    I'm able to build.

    C:\ti\PD6029~1\packages\ti\boot\writer\nor\evmc6678l\build>
    C:\ti\PD6029~1\packages\ti\boot\writer\nor\evmc6678l\build>gmake
    Building file: ../../../..//writer/nor/src/norwriter.c
    Invoking: C6000 Compiler
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x" -mv6600 --abi=eabi -g -
    -include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include" --include_
    path="/ti/PD6029~1/packages//ti/platform" --include_path="/ti/PD6029~1/packages/
    " --include_path="../../../..//writer/nor/include" --display_error_number --diag
    _warning=225 --preproc_with_compile --preproc_dependency="src/norwriter.pp" --ob
    j_directory="src" "../../../..//writer/nor/src/norwriter.c"
    Finished building: ../../../..//writer/nor/src/norwriter.c
    C:\ti\PD6029~1\packages\ti\boot\writer\nor\evmc6678l\build>