Is anyone else having a problem with BBB-eMMC-flasher-2013.06.20.img.xz? Bonescript seems to be not working
Please elaborate.
Hey Mike, did you overcome the issue?
Please put the error message?
It does take a long time to boot the first time. Did you wait?
Newb here and sorry for the delay.
http://192.168.7.2/Support/BoneScript/ scripts don’t execute. Cloud9 scripts won’t execute either. However I saved LedsOff in the autorun folder and it does execute on start up.
Your board is connected!
BeagleBone Black rev 0A5A S/N 1613BBBK3903 at 192.168.7.2
I copied Turn LEDs on into Cloud9 as a template JavaScript file
var b=require(‘bonescript’);
b.pinMode(‘USR0’, ‘out’);
b.pinMode(‘USR1’, ‘out’);
b.pinMode(‘USR2’, ‘out’);
b.pinMode(‘USR3’, ‘out’);
b.digitalWrite(‘USR0’, 1);
b.digitalWrite(‘USR1’, 1);
b.digitalWrite(‘USR2’, 1);
b.digitalWrite(‘USR3’, 1);
I get this error on debug ([C9 Server Exception 2] undefined)
your board network whether is connected?
I get the Green box showing at the top of Chrome says
Your board is connected!
BeagleBone Black rev 0A5A S/N 1613BBBK3903 at 192.168.7.2
I have a fresh install and the scripts run on the page just fine for me. Are you running Google Chrome? Can you enable the JavaScript console and provide any information there?
I did have a problem running @Cloud9_IDE without disabling “Run in debug mode (under debug/run)”. Once I disabled that, scripts ran fine.
When you drop a file into the autorun folder, it should start immediately as well, not just on start up.
re flashing the image now. Only changes I had made were to install ntp, set a fixed IP and set my timezone.I’ll let you know when it completes
Ok here is what I got.
Re Flashed Image
Opened Chrome to http://192.168.7.2/Support/BoneScript/
Clicked run Turn LEDs off (Led’s turned off)
Clicked run Turn LED’s on ( Nothing happens)
Same with Restore
Looks like it will only execute once then poof!
JavaScript console
Exception: SyntaxError: Unexpected token < bonescript-demo.js:32
I found the problem. Somehow 2 extensions were added to my instalation of Google chrome getsav-in 5.0 and TidyNetwork.com.
I disabled them and now it works. Dang Add-ware !!!
@Mike_Eden Your problem solved?
@a3b3c6de73ae88731e26
yes was Chrome browser error
@Mike_Eden I have no errors,you can try other browsers.
It was add-ons to his Chrome. Chrome is probably the best browser to use.