On Thursday, March 31, 2016 at 9:16:25 AM UTC-5, Wally Bkg wrote:

> node -pe "require('bonescript').getPlatform().bonescript"
>
> returns: 0.5.0-beta-3  on my 2016-03-27 system.
>
> I get the same error on my 2016-03-27 system as you did when I run your 
> serial port script, so the newest testing image doesn't seem to be a 
> solution.  It is kernel 4.1.18-ti-r55
>

 I should add, that I did the config pin commands:
/usr/local/bin/config-pin P9.24 uart
/usr/local/bin/config-pin P9.26 uart

and jumper-ed P9_24 to P9_26 and tested with:
minicom -D /dev/ttyS1

before running dorica's serial.js script.


What i find really curious is if I change /dev/ttyO1 to /dev/ttyS1 and run 
the script after saving I get very different errors:
Debugger listening on port 15454
/usr/local/lib/node_modules/bonescript/src/serial.js:16
    if(m.ports[args.port].path) path = m.ports[args.port].path;
                         ^
TypeError: Cannot read property 'path' of undefined
  at Object.m.doOpen 
(/usr/local/lib/node_modules/bonescript/src/serial.js:16:26)
  at Object.exports.wrapOpen.newFunction [as serialOpen] 
(/usr/local/lib/node_modules/bonescript/src/my.js:419:31)
  at Object.<anonymous> (/var/lib/cloud9/examples/serial.js:8:10)
  at Module._compile (module.js:460:26)
  at Object.Module._extensions..js (module.js:478:10)
  at Module.load (module.js:355:32)
  at Function.Module._load (module.js:310:12)
  at [object Object].Module.runMain [as _onTimeout] (module.js:501:10)
  at Timer.listOnTimeout (timers.js:119:15)



Process exited with code: 1


This is way above my bonscript/node-js pay grade :)


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to