Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

Memory map error in software program

Altera_Forum
Honored Contributor II
1,213 Views

Hi, 

 

I am using Arria 10 Soc. 

 

My design has HPS & PIO's are connected thru Axi light weight bus to HPS.  

 

I instantiated a simple dut @ top level & connected to PIO's and i wrote sample c program to verify the functionality and i am getting memory mapping error. 

ALT_FPGA_BRIDGE_LWH2F_OFST=0xff200000 

HW_REGS_SPAN 0x04000000 

 

 

ERROR: mmap failed 

 

Also followed the same steps mentioned@ 

https://www.altera.com/documentation/pde1458159073865.html 

 

 

Can anyone help me to solve this error.
0 Kudos
0 Replies
Reply