Hey guys,
I'm trying to read and write to a ROACH1 using the BORPH filesystem. I
followed the tutorial at
https://safe.nrao.edu/wiki/pub/CICADA/FlashLights/BorphGettingStart.pdf,
but got somewhat different results
root@roach:/boffiles# ./asmls_roach0_2013_Mar_15_1123.bof
^Z
[1]+ Stopped ./asmls_roach0_2013_Mar_15_1123.bof
root@roach:/boffiles# ps -a
PID TTY TIME CMD
618 pts/0 00:00:00 asmls_roach0_20
619 pts/0 00:00:00 ps
root@roach:/boffiles# cd /proc/618/hw
root@roach:/proc/618/hw# echo 0 > ioreg_mode
root@roach:/proc/618/hw# cd ioreg
root@roach:/proc/618/hw/ioreg# ls -ltrh
-r--r--r-- 1 root root 4 Dec 26 21:56 spec_count
-rw-rw-rw- 1 root root 4 Dec 26 21:56 acc_always_valid
<<other entries removed for brevity>>
root@roach:/proc/618/hw/ioreg# cat spec_count
cat: spec_count: Invalid argument
root@roach:/proc/618/hw/ioreg# cat acc_always_valid
cat: acc_always_valid: Invalid argument
root@roach:/proc/618/hw/ioreg#
spec_count is a output reg, while acc_always_valid is an input reg.
Anyone know what I'm doing wrong? Thanks!
--Ryan