Hi all,
In IPNC DM8127 project, when debug our modified program, now the only way that we can do is power off and the power on again, we have no way to end the running program and run the new program. It's very discommodious to debug.
Anybody can give me good idea?
you can run these commands
killall -2 Appro_avi_savekillall -2 wis-streamersleep 2killall -9 wis-streamerkillall -9 boakillall -2 ipnc_rdk_mcfw.outkillall -9 system_serverAfter this, you can start the way you like via script
Regards,
Raghu
Please mark this reply as Verify Answer on this post if it answers the question.
Thank Raghu Kudva.
I run the commands:
killall -2 Appro_avi_savekillall -2 wis-streamersleep 2killall -9 wis-streamerkillall -9 boakillall -2 ipnc_rdk_mcfw.outkillall -9 system_server
But It can not kill ipnc_rdk_mcfw.out. Run ps command to see the process, The result as follows:
Why can not kill ipnc_rdk_mcfw.out?
Thanks a lot!
Hi,
when you run killall -2 ipnc_rdk_mcfw.out, there will signal sent to UI_signalHandler function in mcfw_ipnc_main.c
You can prints there and further debug this issue?
Thank Raghu Kudva:
UI_signalHandler function code as follows:
//gUI_mcfw_config.demoCfg.stopDemo = TRUE; //gUI_mcfw_config.demoCfg.unloadDemo = TRUE; //gUI_mcfw_config.demoCfg.delImgTune = TRUE; gUI_mcfw_config.demoCfg.exitDemo = TRUE;
It never stops ipnc_rdk_mcfw.out.
I modify the code as follows: gUI_mcfw_config.demoCfg.stopDemo = TRUE; gUI_mcfw_config.demoCfg.unloadDemo = TRUE; gUI_mcfw_config.demoCfg.delImgTune = TRUE; gUI_mcfw_config.demoCfg.exitDemo = TRUE;
When run killall -2 ipnc_rdk_mcfw.out,It trys to stop ipnc_rdk_mcfw.out,
but App_stopDemo()->Venc_stop()function can not return.
So ipnc_rdk_mcfw.out is still running.
Why?
Anybody know why? or give us some advice?
We dont see this?can you giveuse somr more inputs on where it stops on M3.
We update to latest version of IPNC 2.8, It can re-running through killall the program.
Thanks a lot.