Forum Discussion
Altera_Forum
Honored Contributor
9 years agoCheck FPGA / bridges before accessing them
I want to access the switches on the tersIC DE0-Naoo-SoC board from Linux. I load the appropriate FPGA and access the LW bridge (with a c program). Everything works fine. But if, due to eg. mis...
Altera_Forum
Honored Contributor
9 years agoHi sunshine,
the bridges are enabled: root@jwde0soc:~# cat /sys/class/fpga-bridge/lwhps2fpga/enable 1 root@jwde0soc:~# cat /sys/class/fpga-bridge/hps2fpga/enable 1 root@jwde0soc:~# cat /sys/class/fpga-bridge/fpga2hps/enable 1 Still the program hangs when reading from an lwhps2fpga-Address (mapped with /dev/mem). Joachim