Hi Henno,Alec
I've opened your design file(.mdl) your design has a small error, you are
driving the Led with the roach1 led.
now for your boffile:
It failed when loading with minicom: you can see below.
(no registers available, no process and no PID available).
roach02060A login: root
login[451]: root login on 'ttyS0'
~ # cd */usr/bof/*
/usr/bof # ./r2_tut1_2013_Mar_07_0837.bof &
....: not found
./r2_tut1_2013_Mar_07_0837.bof: line 7: ....: not found
./r2_tut1_2013_Mar_07_0837.bof: line 8: .....: not found
./r2_tut1_2013_Mar_07_0837.bof: line 9: : not found
./r2_tut1_2013_Mar_07_0837.bof: line 10: d....: not found
./r2_tut1_2013_Mar_07_0837.bof: line 11: l....: not found
./r2_tut1_2013_Mar_07_0837.bof: line 12: syntax error: unexpected ")"
Minicom2.6Minicom2.6
-sh: Minicom2.6Minicom2.6: not found
[1]+ Done(2) ./r2_tut1_2013_Mar_07_0837.bof
/usr/bof # ps axf
PID USER TIME COMMAND
1 root 0:01 init
2 root 0:00 [kthreadd]
3 root 0:00 [ksoftirqd/0]
4 root 0:00 [kworker/0:0]
5 root 0:00 [kworker/0:0H]
6 root 0:00 [kworker/u:0]
7 root 0:00 [kworker/u:0H]
8 root 0:00 [khelper]
9 root 0:00 [kworker/u:1]
88 root 0:00 [bdi-default]
89 root 0:00 [kintegrityd]
91 root 0:00 [kblockd]
130 root 0:00 [rpciod]
131 root 0:00 [kworker/0:1]
159 root 0:00 [khungtaskd]
162 root 0:00 [kswapd0]
163 root 0:00 [ksmd]
226 root 0:00 [fsnotify_mark]
230 root 0:00 [nfsiod]
238 root 0:00 [crypto]
333 root 0:00 [mtdblock0]
338 root 0:00 [mtdblock1]
343 root 0:00 [mtdblock2]
348 root 0:00 [mtdblock3]
353 root 0:00 [mtdblock4]
358 root 0:00 [mtdblock5]
431 root 0:00 [deferwq]
432 root 0:00 [kworker/0:1H]
439 root 0:00 [jffs2_gcd_mtd2]
450 root 0:00 {rc.tcpborphserv} /bin/sh /etc/rc.tcpborphserver3
451 root 0:00 -sh
453 root 0:00 tcpborphserver3 -f -b /usr/bof
465 root 0:00 udhcpc -h roach02060A -R -s /sbin/netscript
467 root 0:00 telnetd
468 root 0:00 ps axf
/usr/bof #
Now with the Telnet it works.but when we go back under minicom to check the
PIDs we can not see any process or PID associated with the boffile.
the results below:
roach@ROACHacq ~ $ telnet 192.168.20.1 7147
Trying 192.168.20.1...
Connected to 192.168.20.1.
Escape character is '^]'.
#version memcpy-14-g0f74f6b
#build-state 2013-02-12T17:00:21
?listbof
#listbof dmesg.txt
#listbof tut1.bof
#listbof roach2_tut1_2013_Mar_06_1343.bof
#listbof roach2_tut1_2013_Mar_05_0951.bof
#listbof r2_tut1_2013_Mar_07_0837.bof
!listbof ok 5
?progdev r2_tut1_2013_Mar_07_0837.bof
#log info 1001623 raw attempting\_to\_program\_r2_tut1_2013_Mar_07_0837.bof
#log info 1001631 raw
attempting\_to\_program\_bitstream\_of\_19586188\_bytes\_to\_device\_/dev/roach/config
#fpga loaded
#fpga ready
!progdev ok
?listdev
#listdev a
#listdev b
#listdev counter_ctrl
#listdev counter_value
#listdev sum_a_b
#listdev sys_board_id
#listdev sys_clkcounter
#listdev sys_rev
#listdev sys_rev_rcs
#listdev sys_scratchpad
!listdev ok
?wordwrite a 0 0x02
!wordwrite ok
?wordwrite b 0 0x07
!wordwrite ok
?wordread sum_a_b 0
!wordread ok 0x9
Tomorrow I'll let you know for the python interaction.