“Cannot determine SOC Peripheral base address”

May 31, 2024, 12:21

kay_wayfarer

I’ve been following this video that introduces me to the GPIO pins and when I tried to run “GPIO.setup”, this error shown in the picture popped up. The video guide doesn’t have this error, and I tried trouble shooting myself; updating stuff. It didn’t work. I am using a Raspberry Pi 5, 8GB RAM, RPi OS 64-Bit. Please ping me if you can help me with this. Thank you. (No, the circuit is working fine, I already tested it by connecting the positive wire to a power GPIO pin. (Skip to 31:14 for the coding part) Video: https://youtu.be/az90qK3jmDo?si=5hUPkMayZVIq48On

oops.se

Raspberry Pi 5 have a different I/O chip called RP1 which some libraries hasn't support for. This for example has support for RP1, GPIOD, so check https://www.tomshardware.com/how-to/control-raspberry-pi-5-gpio-with-python-3 for ideas and support.

kay_wayfarer

Putting this here for easier reference