P9_XX_pinmux was not found under

18 views
Skip to first unread message

wbbe...@gmail.com

unread,
Jul 19, 2017, 12:21:43 AM7/19/17
to BeagleBoard
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:


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

Robert Nelson

unread,
Jul 19, 2017, 9:46:14 AM7/19/17
to Beagle Board
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/
Reply all
Reply to author
Forward
0 new messages