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/AWR1443: Fail to create bin image in SDK2.1

Part Number: AWR1443

Tool/software: TI-RTOS

Hi,

I'm porting vital signs demo from SDK version 1.2 to SDK 2.1 version. As, I added project successfully and built it. While build it cleans xx_demo.bin file, and throws error like fails to clean crc file. At end build there is no bin file. 

Please find attached screenshot of build.

Find .mak file src:

###################################################################################
# Vital Sign Demo
###################################################################################
MMW_CFG_PREFIX = vitalSign
MMW_DEMO_CFG = $(MMW_CFG_PREFIX).cfg
MMW_DEMO_ROV_XS = $(MMW_CFG_PREFIX)_$(R4F_XS_SUFFIX).rov.xs
MMW_DEMO_CONFIGPKG = mmw_configPkg_$(MMWAVE_SDK_DEVICE_TYPE)
MMW_DEMO_MAP = $(MMWAVE_SDK_DEVICE_TYPE)_xwr14xx_vitalSigns_lab_mss.map
MMW_DEMO_OUT = $(MMWAVE_SDK_DEVICE_TYPE)_xwr14xx_vitalSigns_lab_mss.$(R4F_EXE_EXT)
MMW_DEMO_METAIMG_BIN = $(MMWAVE_SDK_DEVICE_TYPE)_xwr14xx_vitalSigns_lab_mss.bin
MMW_DEMO_CMD = mss_vitalSigns_linker.cmd
MMW_DEMO_SOURCES = main.c \
sensor_mgmt.c \
data_path.c \
vitalSigns_cli.c \
config_hwa_util.c \
config_edma_util.c \
vitalSignsDemo_utilsFunc.c


MMW_DEMO_DEPENDS = $(addprefix $(PLATFORM_OBJDIR)/, $(MMW_DEMO_SOURCES:.c=.$(R4F_DEP_EXT)))
MMW_DEMO_OBJECTS = $(addprefix $(PLATFORM_OBJDIR)/, $(MMW_DEMO_SOURCES:.c=.$(R4F_OBJ_EXT)))

###################################################################################
# RTSC Configuration:
###################################################################################
mmwRTSC:
@echo 'Configuring RTSC packages...'
$(XS) --xdcpath="$(XDCPATH)" xdc.tools.configuro $(R4F_XSFLAGS) -o $(MMW_DEMO_CONFIGPKG) $(MMW_DEMO_CFG)
@echo 'Finished configuring packages'
@echo ' '

###################################################################################
# Build the Vital Sign Demo
###################################################################################
mmwDemo: BUILD_CONFIGPKG=$(MMW_DEMO_CONFIGPKG)
mmwDemo: R4F_CFLAGS += --cmd_file=$(BUILD_CONFIGPKG)/compiler.opt
mmwDemo: buildDirectories mmwRTSC $(MMW_DEMO_OBJECTS)
$(R4F_LD) $(R4F_LDFLAGS) $(MMW_DEMO_LOC_LIBS) $(MMW_DEMO_STD_LIBS) \
-l$(MMW_DEMO_CONFIGPKG)/linker.cmd --map_file=$(MMW_DEMO_MAP) $(MMW_DEMO_OBJECTS) \
$(PLATFORM_R4F_LINK_CMD) $(MMW_DEMO_CMD) $(R4F_LD_RTS_FLAGS) -o $(MMW_DEMO_OUT)
$(COPY_CMD) $(MMW_DEMO_CONFIGPKG)/package/cfg/$(MMW_DEMO_ROV_XS) $(MMW_DEMO_ROV_XS)
@echo 'Built the Vital Sign Demo [Preparing the BIN Format]'
@$(GENERATE_METAIMAGE) $(MMW_DEMO_METAIMG_BIN) $(SHMEM_ALLOC) $(MMW_DEMO_OUT) $(XWR14XX_RADARSS_IMAGE_BIN) NULL
@echo '******************************************************************************'
@echo 'Built the Vital Sign OUT and BIN Formats'
@echo '******************************************************************************'

###################################################################################
# Cleanup the Vital Sign Demo
###################################################################################
mmwDemoClean:
@echo 'Cleaning the Vital Sign Demo Objects'
@rm -f $(MMW_DEMO_OBJECTS) $(MMW_DEMO_MAP) $(MMW_DEMO_OUT) $(MMW_DEMO_METAIMAGE_BIN) $(MMW_DEMO_DEPENDS) $(MMW_DEMO_ROV_XS)
@echo 'Cleaning the Vital Sign Demo RTSC package'
@$(DEL) $(MMW_DEMO_CONFIGPKG)
@$(DEL) $(PLATFORM_OBJDIR)

###################################################################################
# Dependency handling
###################################################################################
-include $(MMW_DEMO_DEPENDS)

  • Hi,

    The error "Failed to remove CRC temp file" is a warning that you can ignore. From the screenshot, there don't seem to be any other errors that were generated - the .bin seems to have been generated correctly.
    (Otherwise I would have expected the gen_bincrc32.exe call to have failed).

    Can you please double check and confirm that the .bin file is not there?

    Best Regards,
    Anand