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.
Tool/software: Linux
Hi,
Image capture and memory dump are ok in DCC, and DCC file which is included in program image is also ok.
Sensor id in DCC was set up correctly. But "Update Current DCC" is not working.
Please find the following err log.
<DCC side>
Request to Update active DCC data in Target : 10.159.171.31
Loaded communication DLL:itCommun.dll
Error in Updating current DCC bin data
<TDA2Px EVB side>
[HOST] [HOST ] 1262.919203 s: NETWORK_CTRL: Received command [iss_send_dcc_file], with 173 bytes of parameters
[HOST] [HOST ] 1262.919538 s: NETWORK_CTRL: Network_read() failed to read parameters (port=5000) !!!
[HOST] [HOST ] 1262.919538 s: NETWORK_CTRL: iss_send_dcc_file:
[HOST] [HOST ] 1262.919843 s: NETWORK_CTRL: Sent response for command [iss_send_dcc_file], with 0 bytes of parameters
Regards,
HJ Kim
Hi Yordan,
I've tried some ways as you guided but the result is the same.
The sensor id was correct, and no difference if NDK_PROC_TO_USE=none was changed to =a15_0 in vision_sdk/apps/configs/tda2px_evm_linux_all/cfg.mk
When network_ctrl was used to communicate with iss, "mem_rd" and "iss_read_2a_params" were ok but "iss_send_dcc_file" was failed and its output log was same as DCC tool.
Is the "Update Current DCC" not supported in ca15 Linux platform? It's only supported in ipu rtos platform?
Is special data format needed for sending dcc bin file to target board?
Regards,
HJ Kim
Hi Brijesh,
The dcc buffer was alloed by system link.
It is at vision_sdk\apps\src\rtos\modules\network_ctrl\network_ctrl_handle_iss_raw_save.c
dccCtrlPrms.dccBuf = NULL; linkId = NetworkCtrl_getAewbLinkId(); if (SYSTEM_LINK_ID_INVALID != linkId) { /* get results */ status = System_linkControl( linkId, ALGORITHM_LINK_CMD_CONFIG, &dccCtrlPrms, sizeof(dccCtrlPrms), TRUE); UTILS_assert(0 == status); } if (NULL == dccCtrlPrms.dccBuf) { Vps_printf(" NETWORK_CTRL: DCC Buffer is NULL"); /* send response */ NetworkCtrl_writeParams(NULL, 0, 0); return ; }
Regards,
HJ Kim
Hi Kim,
this does not allocate dcc buffer, this control command sends the buffer to the link...
Rgds,
Brijesh