Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

HPS side connected to mailbox

Altera_Forum
Honored Contributor II
895 Views

Hi, 

 

I'm trying to communicate data between the nios and the hps by using 2 mailboxes. Should I use the altera avalon mailbox simple core, the altera avalon mailbox core, or through mmap to communicate with the mailbox in Linux? Originally I was using the altera avalon mailbox simple core but with the mailbox connected to the light-weight bridge in qsys, I'm not sure I can use the address of the mailbox because the altera_avalon_mailbox_open function requires the name of the mailbox as the parameter rather than the address. I looked online and saw an altera powerpoint tutorial for "Building Multi-Processor FPGA Systems" where they're using mmap. This can be seen in the image attached. I wanted to use the mailbox core which seems easier to communicate data between the nios and the hps over using mmap. 

 

Please let me know if it's possible to use the mailbox simple core for the HPS side in Linux. 

 

Thank you
0 Kudos
0 Replies
Reply