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.

F29H85X-SDK: Post build scripts for 3 core project

Part Number: F29H85X-SDK

Hi, we are trying to setup a project to make use of all 3 cores of f29h85tu, including certificate handling (dummy certificates).

We started from a 2 core example (ipc) and then extended to use all 3 cores.

We tried to manually edit the post build scripts to make a single binary output containing the compilation results for all 3 cores but it seems the code sections for core 2 is still empty.

This is the post build script we attempted to make by combining various snippets found in examples.

Is something wrong or missing?

 

${CG_TOOL_OBJCOPY} --remove-section=cert --remove-section=cpu3app -O binary ${ProjName}.out ${ProjName}.bin
${CG_TOOL_OBJCOPY} --remove-section=cert --remove-section=cpu2app -O binary ${ProjName}.out ${ProjName}.bin
$(call IF_EQUAL_OPEN, ${DUMMY_CERT}, 0) $(PYTHON) ${COM_TI_MCU_SDK_INSTALL_DIR}/tools/boot/signing/mcu_rom_image_gen.py --image-bin ${ProjName}.bin --core C29 --swrv 1 --loadaddr 0x10001000 --sign-key ${COM_TI_MCU_SDK_INSTALL_DIR}/$(SIGNING_KEY) --out-image ${ProjName}_cert.bin --device f29h85x --boot FLASH --debug DBG_PUBLIC_ENABLE $(IF_EQUAL_CLOSE)
$(call IF_EQUAL_OPEN, ${DUMMY_CERT}, 0) ${CG_TOOL_OBJCOPY} --update-section cert=C29-cert-pad.bin --update-section cpu3app=$(CPU3APP_CERT_REL_PATH) ${ProjName}.out ${ProjName}.out $(IF_EQUAL_CLOSE)
$(call IF_EQUAL_OPEN, ${DUMMY_CERT}, 1) ${COM_TI_MCU_SDK_INSTALL_DIR}/tools/misc/$(UPDATEDUMMYCERT) $(DUMMY_CERT_FLASH) ${ProjName}.bin $(IF_EQUAL_CLOSE)
$(call IF_EQUAL_OPEN, ${DUMMY_CERT}, 1) $(CONCAT) $(DUMMY_CERT_FLASH) ${ProjName}.bin > ${ProjName}_cert.bin $(IF_EQUAL_CLOSE)
$(call IF_EQUAL_OPEN, ${DUMMY_CERT}, 1) ${CG_TOOL_OBJCOPY} --update-section cert=$(DUMMY_CERT_FLASH) --update-section cpu3app=$(CPU3APP_CERT_REL_PATH) ${ProjName}.out ${ProjName}.out $(IF_EQUAL_CLOSE)
$(call IF_EQUAL_OPEN, ${DUMMY_CERT}, 1) ${CG_TOOL_OBJCOPY} --update-section cert=$(DUMMY_CERT_FLASH) --update-section cpu2app=$(CPU2APP_REL_PATH) ${ProjName}.out ${ProjName}.out $(IF_EQUAL_CLOSE)