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.

C6678EVM PCIe example error



Hello all,

I tried to execute "Procedure to build ddrinit"
(item 4 of the document mcsdk_2_01_02_06\tools\boot_loader\examples\pcie\README.pdf)
and got error message:
C6000_CG_DIR set as "C:\Program Files\Texas Instruments\C6000 Code Generation Tools 7.4.0"
ARGET set as 6678
Converting .out to HEX ...
could not find path
could not open input file pcieboot_ddrinit.btbl

Also I can not find the files
pcieboot_ddrinit.btbl,
hex6x.exe,
Bttbl2Hfile.exe,
hfile2array.exe,
and the folder "C:\Program Files\Texas Instruments"
on my disk.

Please help me to understand problem.

Best Regards,
Stanislaw

  • Hi Stanislaw,

    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).

    Have you successfully build the project in CCS?

    I think compiler dependency files are properly install on the compiler installation directory. Please check it.

    Create new folder("LE" and "BE") on "C:\ti\mcsdk_2_01_02_06\tools\boot_loader\examples\pcie\linux_host_loader" directory. I have attached my .bat file for your reference.

    set C6000_CG_DIR="C:\Program Files (x86)\Texas Instruments\C6000 Code Generation Tools 7.4.0"
    set TARGET=6678
    set ENDIAN=little
    set PATH=%PATH%;%SystemRoot%\system32;%SystemRoot%;
    
    
    @echo off
    
    echo C6000_CG_DIR set as: %C6000_CG_DIR%
    echo TARGET set as: %TARGET%
    
    echo Converting .out to HEX ...
    if %ENDIAN% == little (
    %C6000_CG_DIR%\bin\hex6x -order L pcieboot_ddrinit.rmd pcieboot_ddrinit_evm%TARGET%l.out
    ) else (
    %C6000_CG_DIR%\bin\hex6x -order M pcieboot_ddrinit.rmd pcieboot_ddrinit_evm%TARGET%l.out
    )
    
    ..\..\..\..\..\..\bttbl2hfile\Bttbl2Hfile pcieboot_ddrinit.btbl pcieboot_ddrinit.h pcieboot_ddrinit.bin
    
    ..\..\..\..\..\..\hfile2array\hfile2array pcieboot_ddrinit.h pcieDdrInit.h ddrInitCode
    
    if %ENDIAN% == little (
    move pcieDdrInit.h ..\..\..\linux_host_loader\LE\pcieDdrInit_%TARGET%.h
    ) else (
    move pcieDdrInit.h ..\..\..\linux_host_loader\BE\pcieDdrInit_%TARGET%.h
    )
    

    Thanks,

  • Hi Ganapathi,

    I reinstalled the soft and used your *.bat.

    Now all work properly.

    Thank you for assistance.

    Best regards.

     

     

     

  • Hi Stanislaw,

    Thanks for your update.