problem to access gpio pin.
I have upsquared board when i run the code its shows error-
Invalid GPIO pin specified. I attach the code file and error.
The /dev/gpiochip* entries are not seen on my upsquared 6000. Running the 5.4 kernel downloaded as described in the wiki
camillus Administrator, Moderator, AAEON Posts: 188 admin
Can you share more details about your test setup and what error you get?
I have a new upsquare 6000 booted up on 5.4 and with libmraa installed as per wiki.
My error is identical to what @saket posted above.
You are following the standard setup for the UP Series, which is not the right one for our new products.
Please check out this link and install Ubuntu from the installer highlighted here: https://github.com/up-board/up-community/wiki/Ubuntu#ubuntu-for-up-xtreme-i11-and-up-squared-6000
If you need MRAA, then, the version included in Ubuntu 20.04 does not support our new products.
Please add our PPA and install MRAA as described here: https://github.com/up-board/up-community/wiki/MRAA#setup-for-up-xtreme-i11-and-up-squared-6000-on-ubuntu-2004
We are currently looking into some missing packages in our PPA (UPM libraries and few others) that will be added soon to our repository
Thanks for your reply @DCleri.
I have ubuntu from your github. Also libmraa from the PPA.
'mraa-gpio version' shows Version v2.1.0 on UP2_6000
Have you update the repo now and provided the missing packages?
@Dcleri : on your upsquare 6000, can you see /dev/gpiochip* ?
- 301 All Categories
- 104 Announcements & News
- 51 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 52 Unboxing & Project Sharing
- 24 Tech Updates
- 548 UP Products
- 1 UP Xtreme i12
- UP Squared Pro 7000
- 1 UP Element i12 Edge
- 10 UP Squared V2
- 25 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 44 UP Squared Pro
- 140 UP Xtreme
- 819 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 43 UP AI Edge
- 215 Starter Kits & Peripheral