Other Parts Discussed in Thread: TMDSCNCD263, UNIFLASH
1) Tools Used:
ccsstudio: 12.5.0
SDK: mcu_plus_sdk_am263x_09_00_00_35
OS: Development PC OS Ubuntu 22.04
2) Hardware: Sitara Eval Kit, AM263x Control Card, TMDSCNCD263
3) Importing the BL example from
/opt/ti/mcu_plus_sdk_am263x_09_00_00_35/examples/drivers/boot/sbl_qspi/am263x-cc/
into code composer studio:
File->Import->CCS Project
4) The post build step fails:
makefile:166: recipe for target 'post-build' failed
makefile_ccs_bootimage_gen:87: *** extraneous 'endif'. Stop.
5) Trying to fix this: uncommenting in makefile_ccs_bootimage_gen the all target and replacing it with:
all:
@echo Test
$(OBJCOPY) --strip-sections -O binary $(OUTFILE) $(BOOTIMAGE_BIN_NAME)
$(BOOTIMAGE_CERT_GEN_CMD) --image-bin $(BOOTIMAGE_BIN_NAME) --core R5 --swrv 1 --loadaddr $(SBL_RUN_ADDRESS) --sign-key $(BOOTIMAGE_CERT_KEY) --out-image $(BOOTIMAGE_NAME) --debug DBG_SOC_DEFAULT
@echo Boot image: am263x:r5fss0-0:nortos:ti-arm-clang $(BOOTIMAGE_NAME) Done !!!
5) The generated ttimage is flashed to the target but it won't work. We are in Boot mode QSPI - 1S Fallback UART boot mode
6) The precompiled ttimage from
/opt/ti/mcu_plus_sdk_am263x_09_00_00_35/examples/drivers/boot/sbl_qspi/am263x-cc/r5fss0-0_nortos/ti-arm-clang/sbl_qspi.debug.tiimage
Does work.