Part Number: MCU-PLUS-SDK-AM243X
Other Parts Discussed in Thread: AM2434
Tool/software:
Hi community,
I'm seeking clarification on setting up shared memory communication between M4 and R5 cores on the AM2434 SoC.
Current Setup:
- Platform: AM2434
- Target: Allocate shared memory in MSRAM accessible by both R5_0_0 and M4 cores
- Access Requirements:
- R5_0_0 core: Read-only access
- M4 core: Read/write access
- Security: Firewall rules to enforce these access permissions
Issue Encountered: During implementation, I discovered that the M4 core generates a Hard Fault if it attempts to access the shared memory before the R5 core completes its memory initialization. Currently, I must add a delay or wait for an R5 notification to avoid this fault.
Questions:
- What specifically prevents M4 access to R5-allocated memory before initialization is complete?
- What is the default firewall configuration for inter-core memory access?
- What is the recommended synchronization mechanism for this scenario?
- Is there option to implement custom error handler for this specific scenario to prevent hard fault?
Thanks for your time!