Forum Discussion
Altera_Forum
Honored Contributor
10 years agoUnable to access fpga regs from arm
Hi, i Compiled my own Linux Kernel using the Tutorial from the eekwiki ( https://eewiki.net/display/linuxonarm/de0-nano-soc+kit ). However when I try to access the fpga space i get a bus error....
Altera_Forum
Honored Contributor
10 years agoYou may want to try to mmap space from 0xFF200000 through /dev/mem. That gives you a neatly mapped address in user space that allows you to write to a peripheral through a pointer dereference. Try connecting a PIO to the hps lw-bridge in Qsys and assign some leds to it's output. That's the easiest way of testing I think.