Hello,
I need to share some variable between CPU1 and CPU2, and the problem is that both CPUs can modify this value. I was wondering on doing something similar like the example of RAM management, declaring in each CPU project one variable for R&W operations and another only for R operations.
My question is: in this example, the use of IPC flags between CPUs is mandatory in order to control that both CPUs don't try to access at the same time in one RAM sector (p.ex CPU1 to write and CPU2 to read)? Do I understand well?
This example of RAM management in fact duplicates the memory space needed for the application. Is there another way to share variables between both CPUs without duplicating variables if both CPUs need to R&W to theses variables?
Then, IPC API drivers only work with IPC Message RAM memory? Not for GSxRAM memory? In that case, what are the advantages of using IPC API drivers if I don't need more memory from GSxRAM?
Thank you