I have 10 capacitive sensors connected to the digital ports and two relays. They should be low at start.
run on boot
- Edited
can you try installing csound 6.18 from here to see if that fixes it? Copy it to the board and run dpkg -i csound-6.18.11-Linux.deb
to install
Thanks. The link seams not to work.
fixed it, try again
I finally managed to update to csound 6.18 and it works! Thanks for your help!
Great I will make that the official release then
One more thing i was wondering: I always used to work with firefox to access the IDE. Is there any advantage using Google Chrome? Is there any known issue with firefox?
giuliomoro Great! Thanks again for your work!
luis Is there any known issue with firefox?
no. If you see "Chrome" somewhere in our docs is mostly legacy
Thanks for the useful tip - I was seeing the same problem where my Csound projects selected to run on boot would fail with a Segmentation fault.
I can confirm that upgrading to csound 6.18 from the link above has resolved this issue.
Cheers
Hey I have a similar issue that goes off in a different direction.
My Pepper/Bela is confused.
I can't get any program to run. I see all the examples in the browser in the IDE. But for example trying to run \example Digital/digital-input/render.cpp I get the following:
Building project ...
Building render.cpp...
Makefile:494: recipe for target '/root/Bela/projects/exampleTempProject/build/render.o' failed
Build finished
sh: printf: I/O error
mkdir: cannot create directory '/root/Bela/projects/exampleTempProject/build': No space left on device
mkdir: cannot create directory '/root/Bela/projects/exampleTempProject/build/': No space left on device
error: unable to open output file '/root/Bela/projects/exampleTempProject/build/render.ii': 'No such file or directory'
error: error opening '/root/Bela/projects/exampleTempProject/build/render.d': No such file or directory
2 errors generated.
make: *** [/root/Bela/projects/exampleTempProject/build/render.o] Error 1
Then other examples I click on I get Error: ENOSPC: no space left on device, write
Downloaded bela master zip and tried running update_board.sh and I get this:
Last login: Sun Jan 15 20:27:17 on ttys000
/Users/michaelschulze/Downloads/Bela-master/scripts/update_board ; exit;
The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh
.
For more details, please visit https://support.apple.com/kb/HT208050.
MacBook-Pro-(2):~ michaelschulze$ /Users/michaelschulze/Downloads/Bela-master/scripts/update_board ; exit;
DATE=2023-01-16T03:39:51Z
FILENAME=Bela-master
METHOD=update_board
Checking the board is up and running at root@192.168.7.2...Warning: Permanently added '192.168.7.2' (ECDSA) to the list of known hosts.
done
Board found at root@192.168.7.2
Updating the Bela core code in root@192.168.7.2:/root/Bela
All the changes to the CORE files in the remote folder /root/Bela will be LOST. The content of these files/folders will be lost:
core include Makefile Makefile.libraries Makefile.linkbela examples Doxyfile scripts resources pru libraries
Your projects stored in /root/Bela/projects should be safe (and surely you have already backed them up somewhere safe, haven't you?).
Are you sure you want to continue? (y/N) y
Updating Bela core files to remote folder /root/Bela
Stopping Bela...done
Updating files......done
make: Nothing to be done for 'library'.
make: Nothing to be done for 'library'.
make: Nothing to be done for 'library'.
make: Nothing to be done for 'library'.
make: Nothing to be done for 'library'.
make: Entering directory '/root/Bela/resources/tools/bela-cape-btn'
make: Leaving directory '/root/Bela/resources/tools/bela-cape-btn'
make: Entering directory '/root/Bela/resources/tools/board_detect'
cp board_detect /usr/local/bin/
make: Leaving directory '/root/Bela/resources/tools/board_detect'
make: Entering directory '/root/Bela/resources/tools/mcasp-dump-tool'
cp mcasp-dump-tool /usr/local/bin/
make: Leaving directory '/root/Bela/resources/tools/mcasp-dump-tool'
done
An error occurred.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
Tried update Bela from the IDE, navigated to Bela-master.zip, I get this:
Beginning update - this may take several minutes
The browser will temporarily disconnect, and may become unresponsive
Do not use the IDE during this process
Upload completed, saving update file...
It hangs at this stage so I refresh browser and get:
Initialise...
Error: ENOSPC: no space left on device, write Error: ENOSPC: no space left on device, write
Help?
Ram out of space on disk... Were you running a program at boot that produced a lot of text for a long time?
I suggest starting with running this in the console at the bottom of the Bela IDE:
rm -rf /var/log /var/cache /root/_*
Then reboot and run df -h /
to see how much space has freed up. You can also look at du -h /root/Bela/projects/ | sort -h
to see if any of your Bela projects are taking up a lot of space.
- Edited
Note: not sure if this is strictly related to the issue you had, but I found a build option that was contributing to filling up disk space when building complex projects (e.g.: a rnbo project was taking about 300MB instead of 30MB). The fix has been applied on the dev
branch: https://github.com/BelaPlatform/Bela/commit/54b6c2ee934224dbe42307896fa2fc6196093dbb .