Page 1 of 3

Revpi Core3 DO failure

Posted: 01 Dec 2020, 20:06
by LuukvanLoon
Hello,

I am quite new to programming a RevPi, so there may be a simple solution to the next problem.

I have written a Python program for the RevPi Core3 with a DIO module. This program runs a cycle every second, the rest of the time the program sleeps. During the cycle 4 outputs are controlled.

For testing purposes, all ouputs are now set to true, so every second the output is written back to true. This all goes well, but sometimes I hear the relays switch on and off very quickly once. Sometimes this happens after 10 minutes and sometimes after two hours, but I have no idea how this is possible.

I have tried everything, but it doesn't seem to be due to my software.

Does anyone have a solution or an idea where this behaviour could come from?

Kind regards,

Luuk van Loon

Re: Revpi Core3 DO failure

Posted: 02 Dec 2020, 14:29
by dirk
Hi LuukvanLoon please have a look at this post.

Re: Revpi Core3 DO failure

Posted: 02 Dec 2020, 16:39
by LuukvanLoon
dirk wrote: 02 Dec 2020, 14:29 Hi LuukvanLoon please have a look at this post.
Hello Dirk,

Thank you for your reaction. I have tried the "uname -a" command and this is the response:

Code: Select all

pi@RevPi40427:~ $ uname -a
Linux RevPi40427 4.4.50-rt66+ #1 PREEMPT RT Wed, 20 Sep 2017 07:09:15 +0200 armv6l GNU/Linux
When I try to update my system, I get the following response:

Code: Select all

pi@RevPi40427:~ $ sudo apt-get install pictory
Reading package lists... Done
Building dependency tree
Reading state information... Done
pictory is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Is this OK or is there a problem there?

Re: Revpi Core3 DO failure

Posted: 02 Dec 2020, 16:45
by LuukvanLoon
I have read this post agian, and i think it is excacly the same problem.

Re: Revpi Core3 DO failure

Posted: 03 Dec 2020, 10:35
by c.baumann
Hello Luuk,
what you are seeing is a known bug where timeouts on the modules are falsely triggered. Due to the timeout the outputs are switched off.
We fixed the bug and are preparing a firmware release right now which will be available soon.

Re: Revpi Core3 DO failure

Posted: 03 Dec 2020, 10:52
by LuukvanLoon
c.baumann wrote: 03 Dec 2020, 10:35 Hello Luuk,
what you are seeing is a known bug where timeouts on the modules are falsely triggered. Due to the timeout the outputs are switched off.
We fixed the bug and are preparing a firmware release right now which will be available soon.
Hello c. Baumann,

Thank you for your reply, I will wait patiently on the new firmware.

Could you please let me know when this firmware is ready for use, do you have an idea about when the firmware could be ready?

Is there a possibility to downgrade the firmware so the application can work?

P.S. Dirk, I would like to thank you for the quick reactions and the help as well.

With kind gegards,
Luuk van Loon

Re: Revpi Core3 DO failure

Posted: 03 Dec 2020, 17:35
by RR4711
c.baumann wrote: 03 Dec 2020, 10:35 Hello Luuk,
what you are seeing is a known bug where timeouts on the modules are falsely triggered. Due to the timeout the outputs are switched off.
We fixed the bug and are preparing a firmware release right now which will be available soon.
Is that "my" bug or a seperate one? Is the FW for the AIO also on short final? I just got 2 more RevPi Connects and 4 AIOs and 2 DIOs for a new project...

Markus

Re: Revpi Core3 DO failure

Posted: 07 Dec 2020, 09:12
by c.baumann
Is that "my" bug or a seperate one? Is the FW for the AIO also on short final?
Yes it's the one you reported. We will release firmware updates for AIO, DIO, DI and DO modules before Christmas.

Re: Revpi Core3 DO failure

Posted: 10 Dec 2020, 10:19
by c.baumann
Hello,
firmware updates for the AIO, DIO, DI and DO are now available.
Update the revpi-firmware package and follow the instructions for Connect and Core .

Re: Revpi Core3 DO failure

Posted: 10 Dec 2020, 10:22
by RR4711
Will there also be an updated Kernel?

Markus