Current DIO Firmware source code
Posted: 14 Jul 2022, 10:24
Hi,
we are currently facing some problems with the piControl process (too many communication errors), and seems that it could be related to the use of newer Core3 images with old DIO firmware.
To develop our product, we used the IODeviceExample (https://github.com/RevolutionPi/IODeviceExample) as base code and modified it to have some extra features.
Unfortunately, we checked today the RevolutionPi repository, and the project seems to be exactly the one we used few years ago.
Short description of the problem:
We have a python script, which uses the revpimodio2 to control the DIO inputs and outputs, running on a Core3 with image 2020-03-02-revpi-stretch.img
After some random time, the piControl reports the error "too many communication errors". We already checked the electrical part, but there is nothing that may cause
a big disturbance on the piBridge. kern and daemon logs also does not show any relevant information about what triggered the error.
An old topic from the forum (viewtopic.php?t=909) mentions something regarding older and new firmware instability, that's why we want
to update our custom firmware.
Questions:
a) If we do a firmware update using the "piTest -f" command, all our modifications will be lost, correct?
b) In case the answer from previous question was yes, is the current DIO Firmware source code available somewhere? Or an up-to-date version of the IODeviceExample project, containing the last communication fixes/improvements?
c) Is there a way to use the "piTest -f" command with the firmware file path? This would be helpful to update remotely the firmware of all RevPis that we have at costumers.
Many thanks in advance!
Nathan Nyland
we are currently facing some problems with the piControl process (too many communication errors), and seems that it could be related to the use of newer Core3 images with old DIO firmware.
To develop our product, we used the IODeviceExample (https://github.com/RevolutionPi/IODeviceExample) as base code and modified it to have some extra features.
Unfortunately, we checked today the RevolutionPi repository, and the project seems to be exactly the one we used few years ago.
Short description of the problem:
We have a python script, which uses the revpimodio2 to control the DIO inputs and outputs, running on a Core3 with image 2020-03-02-revpi-stretch.img
After some random time, the piControl reports the error "too many communication errors". We already checked the electrical part, but there is nothing that may cause
a big disturbance on the piBridge. kern and daemon logs also does not show any relevant information about what triggered the error.
An old topic from the forum (viewtopic.php?t=909) mentions something regarding older and new firmware instability, that's why we want
to update our custom firmware.
Questions:
a) If we do a firmware update using the "piTest -f" command, all our modifications will be lost, correct?
b) In case the answer from previous question was yes, is the current DIO Firmware source code available somewhere? Or an up-to-date version of the IODeviceExample project, containing the last communication fixes/improvements?
c) Is there a way to use the "piTest -f" command with the firmware file path? This would be helpful to update remotely the firmware of all RevPis that we have at costumers.
Many thanks in advance!
Nathan Nyland