Hi,
I refer to usecase fast_boot_iss_capture_isp_simcop_pd_display to enable DSP1.
In most cases, DSP1 is successfully enabled but sometimes an error message appears.
By the way, I did not make any changes to utils_boot_slaves.c. I use VisionSDK 03.04
The error message:
[IPU1-0] 2.658268 s: Assertion @ Line: 478 in tda3xx/utils_boot_slaves.c: ((srcAddrInUInt - gDDRBaseAddr) + length) <= gMaxDdrBuffSize : failed !!!
[IPU1-0] 2.658970 s: Assertion @ Line: 478 in tda3xx/utils_boot_slaves.c: ((srcAddrInUInt - gDDRBaseAddr) + length) <= gMaxDdrBuffSize : failed !!!
The boot slave code : #ifdef FAST_BOOT_INCLUDE if (FALSE == done) { poweOnToAlg = Utils_getCurGlobalTimeInMsec(); /* boot & sync other cores here */ ddrAddress = Utils_memAlloc(UTILS_HEAPID_DDR_CACHED_SR, MAX_UCLATE_IMAGE_SIZE, 4U); Utils_bootSlaves_paramsInit(&bootParams); bootParams.uclateOffset = QSPI_UCLATE_OFFSET; bootParams.ddrAddress = (UInt32)(ddrAddress); bootParams.useEdma = TRUE; bootParams.loadCode = TRUE; bootParams.maxDdrBuffSize = MAX_UCLATE_IMAGE_SIZE; bootParams.enableCrc = TRUE; Vps_printf(" --PSVT-- bootParams.ddrAddress = %x \n", bootParams.ddrAddress); Utils_bootSlaves(&bootParams); Utils_syncSlaves(); Utils_memFree(UTILS_HEAPID_DDR_CACHED_SR, ddrAddress, MAX_UCLATE_IMAGE_SIZE); /* Star late app */ chains_fastBoot_csi2CalMultiCam_Create_UcLate(&chainsObj.ucObj, &chainsObj); chains_fastBoot_csi2CalMultiCam_StartApp_UcLate(&chainsObj); /* open the alg gate and close Gate_out */ System_linkControl(chainsObj.ucObj.Gate_algLinkID, GATE_LINK_CMD_SET_OPERATION_MODE_ON, NULL, 0, TRUE); System_linkControl(chainsObj.ucObj.Gate_out1LinkID, GATE_LINK_CMD_SET_OPERATION_MODE_ON, NULL, 0, TRUE); /* Switch channel to alg */ chainsObj.displayActiveChId = 4; switchDisplayChannel(&chainsObj); System_linkControl(chainsObj.ucObj.Gate_outLinkID, GATE_LINK_CMD_SET_OPERATION_MODE_OFF, NULL, 0, TRUE); ucCreated = TRUE; Vps_printf(" --PSVT-- poweOnToAlg = %d ms", ((UInt32)Utils_getCurGlobalTimeInMsec() - poweOnToAlg)); /* Post this point do not load code when the DSP and EVE are being rebooted */ bootParams.loadCode = (Bool)FALSE; }