I have Pi3+, Debian Bullseye 64bit and IO+ board which works for some time but aborts with "OSError: [Errno 121] Remote I/O error", no matter what I have tried to tune config.txt.
There is RTC clock connected (from Aliexpress but they seem to be all similar), pigpio daemon running for encoder (currently disconnected), and pyfirmata to control step motors via USB and Arduino Due/AccelStepper.
dtparam=i2c_arm=on,i2c_arm_baudrate=100000dtoverlay=i2c-rtc,ds3231enable_uart=1dtoverlay=pi3-disable-btcore_freq=250dtoverlay=vc4-fkms-v3dgpu_mem=128 # Switched from CMA to discrete value# for PIGPIOiomem=relaxedstrict-devmem=0
This error occurs quite shortly, even without sending any data via Firmata to Arduino, and PIGPIO just running idle. IO+ is connected to 8-relay board and ena/dir pins of TB6600 and DM556 (all from Aliexpress ).
File "/home/pi/LinW/BA_cnc_iopiplus.py", line 64, in cnc_iopiplus_set_pin bus_obj.write_pin(pin, state) File "/usr/local/lib/python3.9/dist-packages/IOPi/IOPi.py", line 509, in write_pin self.__set_pin(pin, value, self.GPIOA, self.GPIOB) File "/usr/local/lib/python3.9/dist-packages/IOPi/IOPi.py", line 246, in __set_pin curval = self.__bus.read_byte_data(self.__ioaddress, reg)OSError: [Errno 121] Remote I/O error
Any idea what is going wrong?
Thanks in advance.