Hi,

When I build and run example projects using scope (fundamentals/scope, analog/scope-analog) or Gui (Gui/mouse-track, Gui/sliders, Gui/frequency-response) none seem to work properly.

http://bela.local/scope/ always remains empty, http://bela.local/gui/ always displays the message "In order to use the GUI functionality in Bela you need to use the GUI library and include a sketch.js file (p5 sketch) in your project. (Your project will need to be running for the GUI to be accessible)."

I don't get any error messages in the Bela console. Am I missing steps to run these, or is building & running enough?

I have seen something like this once where one had set up the wrong network settings for Bela on their Mac. Inexplicably, this made the IDE work OK, but scope and GUI were broken. Do you have any personalised settings for the Bela interface(s) in your network settings? Try reverting back to "Using DHCP".

My DHCP settings are not personalised.

I do have to add something that I believe is unusual, without an ethernet cable between my mac and Bela I can't connect to the IDE. This is supposed to work with only the USB cable right?

It is supposed to work via the USB cable yes. What is the output of ifconfig on tour terminal when the board is connected?

With both USB and Ethernet (IDE working):

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
	inet 127.0.0.1 netmask 0xff000000 
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	nd6 options=201<PERFORMNUD,DAD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
XHC20: flags=0<> mtu 0
XHC0: flags=0<> mtu 0
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 8c:85:90:9c:19:5e 
	inet6 fe80::10a2:549b:1fd7:7b5f%en0 prefixlen 64 secured scopeid 0x6 
	inet6 2a02:a210:2102:be00:4dc:5301:6d00:32b1 prefixlen 64 autoconf secured 
	inet6 2a02:a210:2102:be00:b8cd:1644:5562:a611 prefixlen 64 autoconf temporary 
	inet 192.168.178.11 netmask 0xffffff00 broadcast 192.168.178.255
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
	ether 0e:85:90:9c:19:5e 
	media: autoselect
	status: inactive
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
	ether 46:0a:fc:66:9f:90 
	inet6 fe80::440a:fcff:fe66:9f90%awdl0 prefixlen 64 scopeid 0x8 
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
	options=60<TSO4,TSO6>
	ether fe:00:d1:10:26:01 
	media: autoselect <full-duplex>
	status: inactive
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
	options=60<TSO4,TSO6>
	ether fe:00:d1:10:26:00 
	media: autoselect <full-duplex>
	status: inactive
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=63<RXCSUM,TXCSUM,TSO4,TSO6>
	ether fe:00:d1:10:26:01 
	Configuration:
		id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
		maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
		root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
		ipfilter disabled flags 0x2
	member: en1 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 9 priority 0 path cost 0
	member: en2 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 10 priority 0 path cost 0
	nd6 options=201<PERFORMNUD,DAD>
	media: <unknown type>
	status: inactive
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
	inet6 fe80::ca87:f22f:d32f:6a49%utun0 prefixlen 64 scopeid 0xc 
	nd6 options=201<PERFORMNUD,DAD>
en4: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=4<VLAN_MTU>
	ether 48:65:ee:17:a7:6d 
	inet6 fe80::8b:1299:b33a:488f%en4 prefixlen 64 secured scopeid 0xd 
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect (100baseTX <full-duplex>)
	status: active

With only USB (IDE not working):

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
	inet 127.0.0.1 netmask 0xff000000 
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	nd6 options=201<PERFORMNUD,DAD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
XHC20: flags=0<> mtu 0
XHC0: flags=0<> mtu 0
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 8c:85:90:9c:19:5e 
	inet6 fe80::10a2:549b:1fd7:7b5f%en0 prefixlen 64 secured scopeid 0x6 
	inet6 2a02:a210:2102:be00:4dc:5301:6d00:32b1 prefixlen 64 autoconf secured 
	inet6 2a02:a210:2102:be00:b8cd:1644:5562:a611 prefixlen 64 autoconf temporary 
	inet 192.168.178.11 netmask 0xffffff00 broadcast 192.168.178.255
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
	ether 0e:85:90:9c:19:5e 
	media: autoselect
	status: inactive
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
	ether 46:0a:fc:66:9f:90 
	inet6 fe80::440a:fcff:fe66:9f90%awdl0 prefixlen 64 scopeid 0x8 
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
	options=60<TSO4,TSO6>
	ether fe:00:d1:10:26:01 
	media: autoselect <full-duplex>
	status: inactive
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
	options=60<TSO4,TSO6>
	ether fe:00:d1:10:26:00 
	media: autoselect <full-duplex>
	status: inactive
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=63<RXCSUM,TXCSUM,TSO4,TSO6>
	ether fe:00:d1:10:26:01 
	Configuration:
		id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
		maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
		root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
		ipfilter disabled flags 0x2
	member: en1 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 9 priority 0 path cost 0
	member: en2 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 10 priority 0 path cost 0
	nd6 options=201<PERFORMNUD,DAD>
	media: <unknown type>
	status: inactive
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
	inet6 fe80::ca87:f22f:d32f:6a49%utun0 prefixlen 64 scopeid 0xc 
	nd6 options=201<PERFORMNUD,DAD>
en4: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=4<VLAN_MTU>
	ether 48:65:ee:17:a7:6d 
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect (none)
	status: inactive

And what about

ls /dev/tty.usbmodem__bela* and ls /Volumes ?

If this keeps returning nothing then can you try a different usb cable and/or hub (if you are using any)?

ls: /dev/tty.usbmodem__bela*: No such file or directory
ls /Volumes
Macintosh HD Preboot

I'm using a hub, I tried another hub without success, but I do not have another mini USB > USB cable available. I'm using the one that came with the beaglebone.

Anything else I could try?

That really looks like a USB cable or USB connector ( on the BeagleBone) or USB port (on the host/hub) issue. Not much else that can be tried at this point, apart from getting a different cable or a different BeagleBone.

Btw only now I realise that en4 is probably some ethernet adapter you have plugged in which you mentioned before.

I just tried a different computer (same cable and beaglebone) and everything works as expected through the USB cable only.

The USB-C hub I use on my own computer is high-end, and its USB ports are working. I do have to say that I've seen more drivers struggle to detect devices on different computers and USB hubs.

Do you have suggestions for an approach to take to make it the Scope work on my computer?

To keep debugging the USB issue, can you post the results of these with the board connected?

system_profiler SPUSBDataType

and

ioreg -p IOUSB -w0 -l

?

Regarding your issue with scope and GUI, the issue is that the board's settings expect it to be connected via ethernet to a device running a DHCP server, as it's intended to be connected to a router (e.g.: your home router). If you are doing a point to point ethernet connection between your laptop and Bela and you don't want to set up a DHCP server running on your host, you can try one of the following:

  • enable internet sharing on the host (System Preferences->Sharing->Click on internet sharing on the left hand side and select the ethernet device on the right hand side then tick the internet sharing box and click "Start" in the ensuing dialog.
  • on the board, edit /etc/network/interfaces: modify the line iface eth0 inet dhcp to iface eth0 inet static and add the following lines after it:
        address 192.168.8.2
        netmask 255.255.255.0
        network 192.168.8.0
    then on the host also set a static IP address to your ethernet device: System Preferences->Network->Select the interface on the left hand side and on the right hand side select "Manually" and set IP address: 192.168.8.1, Subnet mask: 255.255.255.0, then click "Apply"