Hi
CPU initiate EMIF2 to extend 2 pcs RAM and 1 Flash. It's working well to read and write on CPU1.
How to read and write RAM and Flash on CPU2?
Is there any document or example code about this?
Thanks.
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
CPU initiate EMIF2 to extend 2 pcs RAM and 1 Flash. It's working well to read and write on CPU1.
How to read and write RAM and Flash on CPU2?
Is there any document or example code about this?
Thanks.
Hi Daniel,
EMIF2 is only accessible from CPU1 and it's CLA. EMIF1 has access from CPU1 as well as CPU2. And the way you access it is same as you are doing CPU1 access to EMIF2 (using EMIF1 address space). You need to change the value of MSEL_EMIF1 bit to '1' in EMIF1MSEL to give the EMIF1 ownership to CPU2. This configuration need to be done from CPU1 code. We do not have example code for this.
Regards,
Vivek Singh
Hi,
As mentioned in section "EMIF1_CONFIG_REGS Registers" EMIF1MSEL is EALLOW protected register (all registers in EMIF1_CONFIG_REGS are EALLOW protected) so you need to use EALLOW before writing to it. Please correct the same and see if it works.
Regards,
Vivek Singh