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.

RTOS: SPI Flash writer is not working

Other Parts Discussed in Thread: 66AK2H14

Tool/software: TI-RTOS

Hi All,

I'm using 66AK2H14 processor in my custom board.

Referred below link to boot my custom board through SPI NOR flash.

http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_BOOT_K2H/E/L#Compilation

But as per compilation step tried to compile spi_flashwriter, but while running compilation command facing below error

 C:\ti\PDK_K2~1\packages\ti\boot\sbl>gmake spi_flashwriter BOARD=evmK2H SOC=k2h

gmake[1]: Entering directory `C:/ti/PDK_K2~1/packages/ti/boot/sbl'
compiling /ti/PDK_K2~1/packages/ti/boot/sbl/tools/flashWriter/spi/src/sbl_spi_wr
ter.c ...
error: option --include_path is missing its parameter 'dir'
gmake[1]: *** [/ti/PDK_K2~1/packages/ti/boot/sbl/tools/flashWriter/spi/bin/evmK2
/obj/sbl_spi_writer.obj] Error 1
gmake[1]: Leaving directory `C:/ti/PDK_K2~1/packages/ti/boot/sbl'
gmake: *** [spi_flashwriter] Error 2

C:\ti\PDK_K2~1\packages\ti\boot\sbl>

Please help me to solve this problem.

Thanks and Regards,

Nithin

  • The team is notified. They will post their feedback directly here.

    BR
    Tsvetolin Shulev
  • Nithin,

    Can you try the build using :

    gmake spi_flashwriter BOARD=evmK2H SOC=K2H

    The SOC parameter is case sensitive so the build doesn`t recognize  SOC=k2h and may be throwing that error.

    Regards,

    Rahul

  • Hi Rahul,

    I tried same, getting below error

    C:\ti_ccs_8\pdk_k2hk_4_0_9\packages\ti\boot\sbl\tools\flashWriter\spi\src>gmake spi_flashwriter BOARD=evmK2H SOC=K2H
    compiling sbl_spi_writer.c ...
    C:/ti_ccs_8/ti-cgt-c6000_8.1.3/bin/cl6x: not found
    gmake: *** [/ti_ccs_8/PDK_K2~1/packages/ti/boot/sbl/tools/flashWriter/spi/bin/evmK2H/obj/sbl_spi_writer.obj] Error 127

    But I checked in the patch specified, cl6x.exe file is present.

    Regards,

    Nithin

  • Nithin,

    There is something wrong with your setup. Processor SDK RTOS for K2H 4.03 release uses ti-cgt-8.2.2 version so when you setup the build environment that is the tool chain that need to be invoked.

    Can you confirm that you are running the following steps before invoking this build:

    set SDK_INSTALL_PATH=C:\ti_ccs_8
    cd processor_sdk_rtos_k2hk_x_xx_xx_xx
    setupenv.bat

    If you are not invoking these steps then you need to setup the environment as recommended in the getting started guide or Build PDK article of the Software developers guide.

    Regards,
    Rahul
  • Hi Rahul,

    I have installed CCS 7.4 with SDK 4.3, this solved my issue. Now I'm able to build.

    Do you have expertise in Hyperlink interface??! Now I'm facing problem in Hyperlink testing.

    Regards,
    Nithin
  • Nithin,

    Please close this E2E post and open a new post for the Hyperlink issue as it is unrelated to your original post.
    We have a different Hyperlink expert who can help you with this issue as this is not my area of expertise.

    Regards,
    Rahul