Altera_Forum
Honored Contributor
11 years agoHPS: h2f_lw_axi_master and h2f_axi_master
Hi, on the DE1 SoC FPGA board I'm writing from HPS/Linux to /dev/mem to the FPGA, on the FPGA I increment the value and put it back to be read from HPS/Linux. First I had everything running over h2f_lw_axi_master (HPS site in Qsys), see picture:
http://www.alteraforum.com/forum/attachment.php?attachmentid=9605&stc=1 This worked. Since I also have some control commands, I now want to use h2f_axi_master for the data operation as it was, but have the control commands over the h2f_lw_axi_master interface at the HPS. I connected it that way (as I think) under QSYS, see picture: http://www.alteraforum.com/forum/attachment.php?attachmentid=9606&stc=1 This currently does not work. In SignalTap I can see, the control command "start" still arrives - it still has the same connection via the lw bridge, but everything over the "full" h2f bridge never arrives at the FPGA. I set both bridges to 32bit, never changed that. Q: What am I doing wrong here? Which setting in the HPS configs I still need to activate? Is "/dev/mem" on the linux site even the correct interface for both or shouldn't I have 2 devices, e.g. /dev/mem and /dev/mem1 or the like?! Does it make sense even for AVALONMM to use h2f_axi_master or is it better to be used only for AVALON ST?