RevPi MIO Module Present but NOT CONFIGURED — PiCtory Config Not Applying Correctly

Topics about the Software of Revolution Pi
Post Reply
kpa
Posts: 2
Joined: 02 Jul 2025, 11:40

RevPi MIO Module Present but NOT CONFIGURED — PiCtory Config Not Applying Correctly

Post by kpa »

I received a set consisting of a RevPi Core S, 2 MIO modules, and a DIO about three weeks ago. Initially, I used PiCtory to arrange the
hardware topology (see 2nd attachment) and started working with the revpimodio2 Python library. I was able to read and write values to all IO modules successfully.

Later, I decided to rearrange the setup moving all modules on the left side of the core. After this change, I noticed that although revpimodio2 and piTest allowed me to read and write values, these changes were not reflected on the actual physical pins when measured with a multimeter.

To troubleshoot, I simplified my configuration by leaving only the Core and one MIO connected (see 1st attachment)

When I run piTest -d, I get the following output:

Code: Select all

pi@RevPi126285:~ $ piTest -d
Found 3 devices:

Address: 0 module type: 95 (0x5f) RevPi Core V1.2
Module is present
     input offset: 117 length: 6
    output offset: 123 length: 5

Address: 32 module type: 118 (0x76) RevPi MIO V1.2
Module is present, but NOT CONFIGURED!!!
     input offset: 11 length: 34
    output offset: 45 length: 27

Address: 31 module type: 32886 (0x8076) RevPi MIO V0.0
Module is NOT present, data is NOT available!!!
     input offset: 0 length: 34
    output offset: 34 length: 27
    
  

The steps I follow after modifying the configuration are:

1) Configure the topology in PiCtory.
2)Save using Save as Start-Config.
3) Reset the driver.
4)Reboot the device.

I noticed that if I delete /etc/revpi/config.rsc — which is currently a symlink to /var/www/pictory/projects/_config.rsc — I get

Code: Select all

pi@RevPi126285:~ $ piTest -d
Found 2 devices:

Address: 0 module type: 95 (0x5f) RevPi Core V1.2
Module is present
     input offset: 0 length: 6
    output offset: 6 length: 5

Address: 32 module type: 118 (0x76) RevPi MIO V1.2
Module is present, but NOT CONFIGURED!!!
     input offset: 11 length: 34
    output offset: 45 length: 27


Could someone help me understand why the MIO module is not configured properly and how to fix this?
Attachments
simplified_config.png
init_config.png
User avatar
nicolaiB
KUNBUS
Posts: 1026
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: RevPi MIO Module Present but NOT CONFIGURED — PiCtory Config Not Applying Correctly

Post by nicolaiB »

The first output of piTest -d shows that you have configured the module on the wrong side (thus one present and one absent). The second one shows the state without config file which only contains the core itself and the autodetected mio.

In order to get a working setup:
- restore link in /etc/revpi/config.rsc
- switch mio side (drag & drop for example)

Nicolai
kpa
Posts: 2
Joined: 02 Jul 2025, 11:40

Re: RevPi MIO Module Present but NOT CONFIGURED — PiCtory Config Not Applying Correctly

Post by kpa »

Thanks for your reply Nicolai and you were right. The issue was the side I configured my modules. Took some time to realize
User avatar
nicolaiB
KUNBUS
Posts: 1026
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: RevPi MIO Module Present but NOT CONFIGURED — PiCtory Config Not Applying Correctly

Post by nicolaiB »

Thanks for the feedback and glad to hear that now everything is working as expected.
Post Reply