Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

GPIO Initialization #123

Open
Wackerbarth opened this issue Aug 24, 2018 · 1 comment
Open

GPIO Initialization #123

Wackerbarth opened this issue Aug 24, 2018 · 1 comment
Labels

Comments

@Wackerbarth
Copy link
Contributor

There seems to be some confusion concerning the initialization of the stepper GPIO pins.
In theory, U-Boot, working with the DTB overlay is supposed to handle this. As a result, the initialization using the Adafruit GPIO was removed.

I suspect that there is some combinations of the particular board (BBB, BBB-wireless, etc.), Umikaze configuration, Linux kernel, Adafruit version, and Redeem version that don't work together.

Would everyone add comments to this issue detailing combinations that either do, or do not work. Perhaps we can figure out what needs to be changed so that everyone can utilize a common setup.

@electronlove
Copy link

electronlove commented Aug 24, 2018

Overylay does not initialize with commit # 7044199. I had rolled it back. Updated Octoprint manually, and then applied the most recent commit, which also re-applied the previous one. In order to initialize, I have to type " for pin in $(echo "61 27 22 44 26 23 47 45 46 60"); do echo $pin; echo $pin >> /sys/class/gpio/export; echo "out" >> /sys/class/gpio/gpio${pin}/direction; done"

I running a Replicape on a (a) Beaglebone Black with Umikaze version 2.2.0-rc3 (c) Linux Kernel version 4.14.50-ti-r56, (d) Adafruit_GPIO version 1.0.3 maybe, (e) Redeem version 2.2.x

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants