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.

IWR1443BOOST: New "level_sense_demo" build failed

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: TIDEP-0091, MMWAVE-SDK, IWR1443, , CCSTUDIO, SYSBIOS

I install new "level_sense_demo" from tidcde2a.zip file, the build failed, anyone has idea what is wrong? here are the error message:

Description         Resource             Path       Location               Type

#137 struct "rlAdcBitFormat" has no field "bitFormat"     demo.c /lsdemo_14xx_mss/source         line 1260                C/C++ Problem

#137 struct "rlAdcBitFormat" has no field "bitFormat"     demo.c /lsdemo_14xx_mss/source         line 1261                C/C++ Problem

gmake: *** [all] Error 2 lsdemo_14xx_mss                                         C/C++ Problem

gmake[1]: *** [source/demo.obj] Error 1            lsdemo_14xx_mss                                         C/C++ Problem

gmake[1]: Target 'main-build' not remade because of errors.      lsdemo_14xx_mss                                         C/C++ Problem

Product 'mmWave SDK' v1.1.0.02 is not currently installed. A compatible version 1.2.0.05 will be used during build.                lsdemo_14xx_mss                          lsdemo_14xx_mss          Problems

Product 'SYS/BIOS' v6.52.0.12 is not currently installed. A compatible version 6.50.1.12 will be used during build.                lsdemo_14xx_mss                          lsdemo_14xx_mss          Problems

Thanks,

  • Hi Feng,

    The Level Sensing Design from TIDEP-0091 uses the mmWave-SDK 1.1. The rlAdcBitFormat Structure removed the bitFormat field in SDK1.2 which is why you are seeing this.

    In order to resolve this simply install the mmWave-SDK 1.1: software-dl.ti.com/.../index_FDS.html

    The next update of TIDEP-0091 will use the latest mmWave-SDK although it is unavailable at this time.


    Cheers,
    Akash
  • Hi Akash,
    I down load SDK 1.1 and install to my computer, the build for both IWR1443 and MSP432 are successful. I also flash the both boards suceessful. When I use the Tera Term to make a measurement in function mode, it always show "measurement time out (Boot)", I didn't get any data. Do you know the reason?

    Thanks,
  • by the way, if I use the prebuild, I can get the measurement distance data, no timing measurement (use old lab without Dave's modification, I can get time and distance measurement). I use CCS 7.1, and not be able to update to CCS7.2
  • I down load CCS7.2 and install to the computer, comment out define REPORT_IR14_TIME_MEASUREMENT in both IWR1443 and MSP432, the build are successful, Flash the board with new built , I still get the "measurement time out", don't get any measurement data. Why???
  • Hi Feng,

    The Measurement Time Out is an indicator of the GPIO_0 to not trigger. There could be a problem with your board, have you made the appropriate modifications for your IWR1443BOOST as described in the Getting Started Guide?


    Cheers,
    Akash
  • As I told you, the same board run with the old level-sense-demo" project, it works good, it is not work with new project, I switch back fortg many times, the old project always works fine, the new project not works!!!!
  • Hi Feng,

    My recommendation is to follow the steps in chapter 5 of the getting started guide and run the demo in Debug Mode using CCS only. Are you able to see reasonable measurement numbers as shown in page 32 of this document? If you do there might be a problem on MSP432 side of things, otherwise the problem is likely on the IWR1443 side.

    Whatever more information you can provide on hardware/software changes you have made would be very helpful. Feng we'll need more information in order to assist you.


    Cheers,
    Akash
  • Like what I told you the board are modified based on the level sense demo reference guide, it works with old level sense demo project down load from TI web site, it does not work with new down loaded level-sense-demo project, the only change is enable the "REPORT_IR4_TIME_MEASUREMENT in both IWR1443 and MSP432, this kind of the change is same as the old level sense demo project. You seems do not read my reply.
  • Feng,

    Have you tried running in debug mode and flashing the board with the ccs_debug firmware and running the .xer4f executable? You'll need to try this and post the results to proceed with this debug.


    Cheers,
    Akash
  • Hi Akash,

    The purpose for me to run this lab is to see the time measurement with Dave's improve's code, the time measurement become no useful with debug mode, can you build you projects with "REPORT_IR 14_TIME_Measurement" enable and send me the pre builds, I can try these pre builds to see what I get?

    Thanks,

  • https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/1023/lsdemo_5F00_14xx_5F00_mss.bin

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/1023/lsdemo_5F00_14xx_5F00_mss.xer4f

  • Hi Feng,

    See the attached binary and executable in the previous post.


    Cheers,
    Akash
  • Thanks for the help Akash! I down load the files and will try on my board. 

  • Hi Akash,
    I tried the prebuild from you attachment, it works, I get both time measurement and the distance measurement, but the time measurement more like what I get from the old (previous version) level_sense_demo", the boot time 133 ms, the config time 49 ms. Now I have two question:
    1. what is the boost time and config time for ES3?
    2. The firmware that you use to generate the ......mass.bin file and the binary file is the one from you website down load? why the one I down loaded with no error to generate these ..... mss.bin and binary files, but I couldn't get the time measurement? which line you change to make "REPORT_IR14_TIme_Measurement" enable?

    Thanks,
  • Hi Feng,

    1. I can only comment on ES2.0 silicon at this time.
    2. The posted binary I compiled using TIDEP-0091 CCSv8 (CCStudio) and mmWave-SDK 1.2. I uncommented line 62 in the demo_common.h file in the MSP432 folder.

    Let me know if you have more questions!


    Cheers,
    Akash
  • You told me SDK 1.2 have some issue, that is why the build failed at the first time, you recommend me to install SDK 1.1, then the build successful, but do not get the time measurement. Why you sue SDK 1.2??
  • I am so sorry that is a mistake, current TIDEP-0091 is for SDK1.1. I have just confirmed on my CCS.


    Cheers,
    Akash
  • Do you you define "REPORT_IR14_TIME_MEASUREMNET" at IWR1443 project?

    Thanks,
  • Hi Feng,

    No it is only defined in msp432 demo_common.h but it is referenced in the IWR1443 project so make sure the msp432 code gets built first.


    Cheers,
    Akash
  • Hi Akash,
    I delete the project that imported before, and reimport IWR1443 and MSP432 project, uncommented line 61 (line 62 empty line)at demo_common.h, rebuild the project, the build finish, the mass.bin file has been generated, but I get this warning error, do you know this is the problem?
    File conversion complete!
    C:/ti/mmwave_sdk_01_01_00_02/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe lsdemo_14xx_mss.bin
    makefile:196: recipe for target 'post-build' failed
    process_begin: CreateProcess(C:\ti\mmwave_sdk_01_01_00_02\packages\scripts\ImageCreator\append_bin_crc\gen_bincrc32.exe, C:/ti/mmwave_sdk_01_01_00_02/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe lsdemo_14xx_mss.bin, ...) failed.
    make (e=216): Error 216
    gmake[3]: [post-build] Error 216 (ignored
  • It looks like a problem with the image generation. I'm not so sure what is causing it, I've never seen this before.

    Does this still happen in a brand new workspace? Is there any kind of binary that is being generated? What other error messages are you getting?


    Cheers,
    Akash
  • Hi Akash,

    That is the new created work space which have no any binary file in it, to verify this I create another new work space today and I get the same error, (by the way, the old level_sense_demo released from last year June works with no build error and be able to take time and distance measurement). Here are the error message:

    **** Build of configuration Debug for project lsdemo_14xx_mss ****

     

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O

    rm -f C:/Users/enfpt/workspace_v7_4/lsdemo_14xx_mss/lsdemo_14xx_mss.bin

    makefile:192: recipe for target 'pre-build' failed

    process_begin: CreateProcess(NULL, rm -f C:/Users/enfpt/workspace_v7_4/lsdemo_14xx_mss/lsdemo_14xx_mss.bin, ...) failed.

    make (e=2): The system cannot find the file specified.

     

    gmake[1]: [pre-build] Error 2 (ignored)

    ' '

    'Building file: ../mss.cfg'

    'Invoking: XDCtools'

    "C:/ti/xdctools_3_50_00_10_core_win32/xdctools_3_50_00_10_core/xs" --xdcpath="C:/ti/bios_6_52_00_12/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:IWR14XX:false:200 -r Release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS" "../mss.cfg"

    making package.mak (because of package.bld) ...

    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

    configuring mss.xer4f from package/cfg/mss_per4f.cfg ...

    generating custom ti.sysbios library makefile ...

    Starting build of library sources ...

    making C:/Users/enfpt/workspace_v7_4/lsdemo_14xx_mss/src/sysbios/sysbios.aer4f ...

    gmake[1]: Entering directory `C:/Users/enfpt/workspace_v7_4/lsdemo_14xx_mss/src/sysbios'

    cler4f C:/ti/bios_6_52_00_12/packages/ti/sysbios/BIOS.c ...

    asmer4f C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm.asm ...

    asmer4f C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/TaskSupport_asm.asm ...

    asmer4f C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm.sv7R ...

    asmer4f C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm_switch.sv7R ...

    asmer4f C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/exc/Exception_asm.asm ...

    asmer4f C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/v7r/tms570/Core_asm.sv7R ...

    arer4f BIOS.obj arm_IntrinsicsSupport_asm.obj arm_TaskSupport_asm.obj vim_Hwi_asm.obj vim_Hwi_asm_switch.obj exc_Exception_asm.obj tms570_Core_asm.obj ...

    gmake[1]: Leaving directory `C:/Users/enfpt/workspace_v7_4/lsdemo_14xx_mss/src/sysbios'

    Build of libraries done.

    cler4f package/cfg/mss_per4f.c ...

    'Finished building: ../mss.cfg'

    ' '

    'Building file: ../source/iwr_gpio.c'

    'Invoking: ARM Compiler'

    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O4 --opt_for_speed=0 --include_path="C:/Users/enfpt/workspace_v7_4/lsdemo_14xx_mss" --include_path="C:/Users/enfpt/workspace_v7_4/lsdemo_14xx_mss/include" --include_path="C:/ti/mmwave_sdk_01_01_00_02/packages" --include_path="C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwave" --include_path="C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwavelink" --include_path="C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwavelink/include" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include" --define=SOC_XWR14XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="source/iwr_gpio.d" --obj_directory="source" --cmd_file="configPkg/compiler.opt" "../source/iwr_gpio.c"

    'Finished building: ../source/iwr_gpio.c'

    ' '

    'Building file: ../main.c'

    'Invoking: ARM Compiler'

    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O4 --opt_for_speed=0 --include_path="C:/Users/enfpt/workspace_v7_4/lsdemo_14xx_mss" --include_path="C:/Users/enfpt/workspace_v7_4/lsdemo_14xx_mss/include" --include_path="C:/ti/mmwave_sdk_01_01_00_02/packages" --include_path="C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwave" --include_path="C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwavelink" --include_path="C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwavelink/include" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include" --define=SOC_XWR14XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="main.d" --cmd_file="configPkg/compiler.opt" "../main.c"

    'Finished building: ../main.c'

    ' '

    'Building file: ../source/demo.c'

    'Invoking: ARM Compiler'

    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O4 --opt_for_speed=0 --include_path="C:/Users/enfpt/workspace_v7_4/lsdemo_14xx_mss" --include_path="C:/Users/enfpt/workspace_v7_4/lsdemo_14xx_mss/include" --include_path="C:/ti/mmwave_sdk_01_01_00_02/packages" --include_path="C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwave" --include_path="C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwavelink" --include_path="C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwavelink/include" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include" --define=SOC_XWR14XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="source/demo.d" --obj_directory="source" --cmd_file="configPkg/compiler.opt" "../source/demo.c"

    'Finished building: ../source/demo.c'

    ' '

    'Building target: lsdemo_14xx_mss.xer4f'

    'Invoking: ARM Linker'

    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O4 --opt_for_speed=0 --define=SOC_XWR14XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=packed --abi=eabi -z -m"lsdemo_14xx_mss.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/esm/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/adcbuf/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/dma/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/edma/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/hwa/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/pinmux/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/spi/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/qspi/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/qspiflash/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/osal/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include" --reread_libs --diag_warning=225 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="lsdemo_14xx_mss_linkInfo.xml" --rom_model --unused_section_elimination=on -o "lsdemo_14xx_mss.xer4f" "./main.obj" "./source/demo.obj" "./source/iwr_gpio.obj" "../r4_linker.cmd" "../r4f_linker.cmd" -l"configPkg/linker.cmd" -llibesm_xwr14xx.aer4f -llibsoc_xwr14xx.aer4f -llibspi_xwr14xx.aer4f -llibqspi_xwr14xx.aer4f -llibqspiflash_xwr14xx.aer4f -llibpinmux_xwr14xx.aer4f -llibuart_xwr14xx.aer4f -llibmailbox_xwr14xx.aer4f -llibmmwavelink_xwr14xx.aer4f -llibmmwave_xwr14xx.aer4f -llibadcbuf_xwr14xx.aer4f -llibcrc_xwr14xx.aer4f -llibdma_xwr14xx.aer4f -llibedma_xwr14xx.aer4f -llibhwa_xwr14xx.aer4f -llibosal_xwr14xx.aer4f -llibc.a -llibc.a

    <Linking>

    'Finished building target: lsdemo_14xx_mss.xer4f'

    ' '

    C:/ti/mmwave_sdk_01_01_00_02/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe lsdemo_14xx_mss.xer4f lsdemo_14xx_mss.bin 0x200000

    Parsing the input object file, lsdemo_14xx_mss.xer4f.

    Appending zeros 0

    Appending zeros 256

    Appending zeros 59952

    File conversion complete!

    C:/ti/mmwave_sdk_01_01_00_02/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe lsdemo_14xx_mss.bin

    makefile:196: recipe for target 'post-build' failed

    process_begin: CreateProcess(C:\ti\mmwave_sdk_01_01_00_02\packages\scripts\ImageCreator\append_bin_crc\gen_bincrc32.exe, C:/ti/mmwave_sdk_01_01_00_02/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe lsdemo_14xx_mss.bin, ...) failed.

    make (e=216): Error 216

    gmake[3]: [post-build] Error 216 (ignored)

    ' '

     

    **** Build Finished ****

  • Hi Feng,

    Are you still having this problem? Let us know and we can look into this further.


    Cheers,
    Akash
  • Hi Akash,

    Yes, we still have the problem.

  • Hi Feng,

    The TIDEP-0091 has been updated to version 2.0 using mmWave-SDK 2.1 and IWR1443 ES3.0 silicon. I'd highly recommend trying this version out! Let us know if you have any issues.


    Cheers,
    Akash