On Tue, Jul 18, 2017 at 8:12 PM, <[email protected]> wrote: > Hello! First of all I apologize for asking something that was explained a > few days ago, but I could not solve the problem. > > I was using an old version of the Beaglebone (rev. A6) and things worked out > fine. Now I'm using another Beaglebone (rev. C0) and a simple code like this > below no longer works. I'm using the latest version of Debian Jessie > "bone-debian-8.7-iot-armhf-2017-03-19-4gb.img" available at beagleboard.org. > > I checked in this post below that Robert Nelson suggested this latest > version "bone-debian-8.8-iot-armhf-2017-07-01-4gb.img.xz 2017-07-01 11:43 > 394M". Does this version solve the problem? If it does, I'll have no problem > reinstalling my system, but I'd rather it was not necessary ... > > Robert Nelson also suggested updating "U-Boot_Overlays" and I did that. But > it didn't solve the problem: > > POST: > https://groups.google.com/forum/#!searchin/beagleboard/pinmux|sort:relevance/beagleboard/AvRrv9aaFbw/9KgYJ9wVAgAJ > U-Boot_Overlays: > http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays > > Please, help me to solve this problem... I do not have much knowledge and I > have been trying for several days. > > > =========================================================================== > Script "test.js" doesn't work: > > var b = require('bonescript'); > > b.pinMode('P9_13', b.OUTPUT); > > b.digitalWrite('P9_13', b.LOW); > > ERROR: > root@beaglebone:/# node test.js > 4:4:54-ti-r93 > > /usr/local/lib/node_modules/bonescript/src/hw_mainline.js:84 > if(!pinmux) { throw p + " was not found under " + my.is_ocp(); } > ^ > ocp:P9_13_pinmux was not found under /sys/devices/platform/ocp
Please run: sudo /opt/scripts/tools/version.sh so we can see how your board is configured, to help you solve the P9_13 issue. Regards, -- Robert Nelson https://rcn-ee.com/ -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYjnrP6hagE9CZz1vV%3D5K5E7hqNS8Mw250Zy1TgKY0gntw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
