-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPIO 0 cannot be turned on (out high) #11
Comments
I just confirmed that the issue did not exist in the previous friendly core version which included an older version of WiringNP: nanopi-neo2_friendlycore-xenial_4.14.0_20180511
after updating WiringNP to the most recent version with the new layout, the GPIO 0 doesn't respond anymore.
So it seems indeed to be related to the WiringNP utility |
Now I have also reinstalled the old WiringNP version on the new image "nanopi-neo2_friendlycore-xenial_4.14.52_20180628.img" The old WiringNP version works perfectly on the new friendlycore image.
@wertyzp In summary: The new WiringNP version contains a bug that prevents manipulation of GPIO 0. GPIO 0 cannot be set to out / high. |
please contact friendlyarm to fix this |
Can you PM me a contact at friendlyarm? |
I do not have it, use their github account |
ok, thx |
I created an SD card with a fresh copy of "nanopi-neo2_friendlycore-xenial_4.14.52_20180628.img"
logged on as root via ssh
after the first boot I disabled UART2 with npi-config
then I installed wiringnp like this:
when I use:
gpio mode 0 out
the gpio is set to outbut when I do
gpio write 0 1
the gpio is not set to highthis can been seen with the
gpio readall
commandIf I do the same with GPIO 2 it works perfectly well.
Is this a bug or am I overlooking something?
The text was updated successfully, but these errors were encountered: