Hi all,
Recently, I use CpIntc_getEventId to get GEM ID.
But i found the host id map to gem id is different (use 6657 and 6678)
Could you tell me,
How to know GEM id on diferent evm?
Best Regards,
Li
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.
Hi all,
Recently, I use CpIntc_getEventId to get GEM ID.
But i found the host id map to gem id is different (use 6657 and 6678)
Could you tell me,
How to know GEM id on diferent evm?
Best Regards,
Li
Li,
The primary event ID for the CorePac is device-specific. Please take a look at the CorePac Primary Interrupts tables in both C6657 and C6678 data manuals.
For example, CIC0_OUT0 event has event number 102 in C6678 and number 22 in C6657.
Hi Steven,
I have try it, But i still have problem.
question is here:
(1)CIC0_OUT#NUM, I think the #Num = host id.
And we must to get GEM id from host id by CpIntc_getEventId.
And I think GEM id = CorePac Primary Interrupts.
Is it right?
(2)I know your example is right from data manuals,
I try to get GEM id by CpIntc_getEventId.(on 6657)
I have map system interrupt #156 map to host id #8
event_id = CpIntc_getEventId(8);
I think the event_id should be 30.(core 0,CIC0_OUT(8+20*n))
But the event_id = 74. It make me confuse.
Can you help me?
Best Regards,
Li
Li,
Please make sure the RTSC platform file to be C6657 as we discussed in the other thread. Thanks.
http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/223098/786378.aspx#786378