I am working on enhanced BSW allocation (multicore). I have two codes running on different cores, both will have different build, i.e., two elf files. I want both the cores to communicate in this case without the use of IOC and RTE using shared memory.
3 Answers
You could also try to hook such HW sync mechanisms maybe by ISRs to ExternalTriggerEvents in the RTE of each, or by some ComplexDriver doing the same.

- 1,241
- 8
- 9
Semaphores are one thing. Take a look at NXP's AN4805, which is for PowerPC hardware architecture but gives a good idea what's in it.
A semaphore is a variable or abstract data type that provides a simple but useful abstraction for controlling access by multiple processes to a common resource in a parallel programming or multi-user environment. Semaphores are the predominant method in access control in parallel programming and multi-threaded programming environments since their invention in 1965 by the late Edsger Dijkstra, a Dutch computer scientist. Although the semaphore concept was further enhanced from its original principle into many variations, they all serve a similar purpose: to grant access to shared resources without race conditions. ...
Then there is also OpenAMP, but I have not seen it around in the AUTOSAR context.
If you are developing according to AUTOSAR, then you may want to read what AUTOSAR specifies for Multi-core System development.

- 2,641
- 2
- 31
- 42