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.

TDA4VM: Build mcu1_0, a dependent header file can not be found, how to get tifs_keywriter.h?

Part Number: TDA4VM

When building mcu1_0 in windows10, the dependency header file tifs_keywriter.h cannot be found. In which package is this header file located and how to obtain it?

make -s all BOARD=j721e_evm CORE=mcu1_0

……

# Compiling j721e_evm:j721e:mcu1_0:release:keywriter_img:E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/boot/keywriter/main.c
In file included from E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/boot/keywriter/main.c:42:
E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/boot/keywriter/main.h:73:10: fatal error: 'tifs_keywriter.h' file not found
#include "tifs_keywriter.h"
^~~~~~~~~~~~~~~~~~
1 error generated.
gmake[4]: *** [E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/build/makerules/rules_ti_cgt_arm.mk:235: E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/binary/keywriter_img/obj/j721e_evm/mcu1_0/release/main.oer5f] Error 1
gmake[3]: *** [E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/build/makerules/common.mk:411: mcu1_0] Error 2
gmake[2]: *** [E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/build/makefile:367: keywriter_img] Error 2
gmake[1]: *** [E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/build/makefile:128: keywriter_img_has_dep] Error 2
make: *** [makefile:149: all_apps] Error 2

  • Hi 

    It will automatically get generated at run time 

    make sure tifs keywriter binary is present under path <pdk>/packages/ti/boot/keywriter/tifs_bin/j721e/ti-fs-keywriter.bin

    for reference you can check bin2c.mk file <pdk>/packages/ti/boot/keywriter/build/bin2c.mk

    Regards
    Diwakar

  • Hi Diwakar

    The path of bin is correct, but no h file is generated.

    I executed.exe and.bin files directly and did not generate them either.

    These are logs:

     E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages//ti/drv/sciclient/tools/bin2c/b
    in2c.exe E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/boot/keywriter/tifs_bi
    n/j721e/ti-fs-keywriter.bin tifs_keywriter.h TIFS_KEYWRITER_BIN
    /*
     *  Copyright (C) 2018 Texas Instruments Incorporated
     *
     *  Redistribution and use in source and binary forms, with or without
     *  modification, are permitted provided that the following conditions
     *  are met:
     *
     *    Redistributions of source code must retain the above copyright
    *    notice, this list of conditions and the following disclaimer.
    *
    *    Redistributions in binary form must reproduce the above copyright
    *    notice, this list of conditions and the following disclaimer in the
    *    documentation and/or other materials provided with the
    *    distribution.
    *
    *    Neither the name of Texas Instruments Incorporated nor the names of
    *    its contributors may be used to endorse or promote products derived
    *    from this software without specific prior written permission.
    *
    *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    *
    */
    
    /**
    *  \file tifs_keywriter.h
    *
    *  \brief File containing the Binary in a C array.
    *
    */
    
    /* ========================================================================== */
    /*                             Include Files                                  */
    /* ========================================================================== */
    
    /* None */
    
    /* ========================================================================== */
    /*                           Macros & Typedefs                                */
    /* ========================================================================== */
    
    #define TIFS_KEYWRITER_BIN_SIZE_IN_BYTES (0U)
    
    /* ========================================================================== */
    /*                         Structure Declarations                             */
    /* ========================================================================== */
    
    /* None */
    
    /* ========================================================================== */
    /*                          Function Declarations                             */
    /* ========================================================================== */
    
    /* None */
    
    /* ========================================================================== */
    /*                            Global Variables                                */
    /* ========================================================================== */
    
    #define TIFS_KEYWRITER_BIN {\
    } /* 0 bytes */
    PS E:\code\tda4vm\ti-processor-sdk-rtos-j721e-evm-08_06_01_03\pdk_jacinto_08_06_01_03\packages\ti\boot\keywriter\tifs_bin\j721
    e>
    PS E:\code\tda4vm\ti-processor-sdk-rtos-j721e-evm-08_06_01_03\pdk_jacinto_08_06_01_03\packages\ti\boot\keywriter\tifs_bin\j721
    e> ls
    
    
        目录: E:\code\tda4vm\ti-processor-sdk-rtos-j721e-evm-08_06_01_03\pdk_jacinto_08_06_01_03\packages\ti\boot\keywriter\tifs_
        bin\j721e
    
    
    Mode                 LastWriteTime         Length Name
    ----                 -------------         ------ ----
    -a----         2023/5/12      2:50             12 .gitignore
    -a----         2023/5/12      2:50              0 ti-fs-keywriter.bin
    
    
    PS E:\code\tda4vm\ti-processor-sdk-rtos-j721e-evm-08_06_01_03\pdk_jacinto_08_06_01_03\packages\ti\boot\keywriter\tifs_bin\j721
    e>
    

  • Hi 

    The PDK is validated on ubuntu 18.04 we would suggest you  to test on ubuntu host .

    Regards
    Diwakar