Open StjerneIdioten opened 3 years ago
Actually I came across #67 just now, which isn't a problem with the same thing. But actually might just be the cause for this error, since I can see that the pin definition that has been mixed up is actually with the pin causing me problems.
I have still this issue, is any fix?
Describe the bug I am fairly new to working with the beaglebone blue, so I don't know much about the inner workings. But I updated it with the newest flasher image from the site and tried my hand at coding some C for it using the Robotics Control Library. Now for my particular project I need a bit of extra GPIO and don't need to use SPI, so I tried pinmuxing some of the SPI pins into GPIO pins. The first I've tried is pin P9_30 or SPI_HEADER_PIN_3 as the define is called in RCL. But I keep getting an error with the following wording:
Which at first lead me to believe it was a problem with permissions, but sudo didn't help either. Investigating a bit I can see that
/sys/devices/platform/ocp/ocp:P9_30_pinmux
does exist, but there is no state file to read as there are with the others. I've spent a lot of time reading around and trying to understand how BBB works now and I finally came by someone mentioning to try and runsudo /opt/scripts/tools/version.sh
and check if there is anything suspicious in there and there actually is but I am just gonna post the entire output for brevity:As can be seen it does mention some problems with P9_30 but as I said I am new and don't know enough about these things yet.
Describe which image you are running (example: bone-debian-10.2-iot-armhf-2020-02-03-4gb.img.xz) bone-eMMC-flasher-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz