How does CPU1 sees the memory? Is its memory map identical or different than CPU0?

45 views
Skip to first unread message

waqar rashid

unread,
Sep 9, 2019, 11:24:54 AM9/9/19
to open-amp
Hello everyone,

I am having a little trouble in figuring out the memory map of CPU1 on a Zynq-7000 based board (redpitaya). Some of the addresses in resource table of the remote applications are a bit confusing for me.
How does the memory map differs between both CPUs like lets say CPU0 place some data at a place in memory and it wants CPU1 to read that data, so how would CPU1 translate the address it received from CPU0? I hope it makes sense.

P.S I am still new to this area so links to any resources are highly appreciated or if from my question you can figure out which concepts I should learn, please point me to that as well.

Thanks.

With best regards,
Waqar Rashid

Ed Mooring

unread,
Sep 18, 2019, 9:29:54 PM9/18/19
to open...@googlegroups.com

Hi Waqar,

It's been a few years since I looked at the Zynq-7000, but what I recall is that the two CPUs share the same physical address space for the RAM. Since baremetal and FreeRTOS apps don't use the MMU, the two CPUs share exactly the same address space for RAM.

In order to share some data from CPU0 to CPU1, the two applications have to agree on what address to use. It's the same for both of them.

Regards,

Ed M

--
You received this message because you are subscribed to the Google Groups "open-amp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-amp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/open-amp/9b11c029-d22a-4479-89ed-643c6bef3ce1%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages