Part Number: TCIEVMK2X
Tool/software: Code Composer Studio
Hi,
I'm trying to initialize the qmss on DSP core 0. I want to use DSP as a client. So I have configured RM as a client and initialized RM ( similar to the test example provided in ti/pdk_keystone2_3_01_04_07/packages/exampleProjects/rmK2LArmv7LinuxDspClientTestProject) .
My RM initialization is as shown below
memset(&rmInitCfg, 0, sizeof(rmInitCfg));
rmInitCfg.instName = rmClientName;
rmInitCfg.instType = Rm_instType_CLIENT;
rmInitCfg.instCfg.clientCfg.staticPolicy = (void *)rmStaticPolicy;
rmClientHandle = Rm_init(&rmInitCfg, &result);
ERROR_CHECK(RM_OK, result, rmClientName, "Initialization failed");
System_printf("\n\nInitialized %s\n\n", rmClientName);
/* Open Client service handle */
rmClientServiceHandle = Rm_serviceOpenHandle(rmClientHandle, &result);
ERROR_CHECK(RM_OK, result, rmClientName, "Service handle open failed");
After this QMSS initialization is done.
I'm running rmServer.out with dtb file on Linux. Then I loaded the DSP core .out using mcmpl but the qmss init is failing with error no -149 which stands for
/** QMSS control of either QM was denied by RM */
#define QMSS_QM_CONTROL_DENIED QMSS_LLD_EBASE-21
I want to know what's wrong with RM initialization which is causing failure in QMSS. How to configure RM for DSP client mode.
Thanks and Regards,
Shwetha M