I am trying to read a data from Profinet IRT Gateway from Python by revpimodio2 on my RevPi Connect.
When I log into the Gateway's web interface, I can see the data under in the Output section. Nevertheless, in Linux, I can't read any of them by using revpimodio2 (nor I can read it by using piTest), I only see zeros.
---
Code: Select all
piTest -d
Code: Select all
Found 2 devices:
Address: 0 module type: 105 (0x69) RevPi Connect V1.0
Module is present
input offset: 1024 length: 6
output offset: 1030 length: 5
Address: 31 module type: 79 (0x4f) Gateway Profinet IRT V1.2
Module is present
input offset: 0 length: 512
output offset: 512 length: 512
When I tried to update firmware by
Code: Select all
piTest -f
Code: Select all
[ 3720.932713] piControl: error: cannot open file /lib/firmware/revpi/fw_00105_001.fwu
[ 3720.932722] piControl: update 0 addr 0 ret -2
[ 3720.932749] piControl: error: cannot open file /lib/firmware/revpi/fw_00079_001.fwu
[ 3720.932755] piControl: update 1 addr 31 ret -2
Code: Select all
kern.log
I'm running
Code: Select all
Linux RevPi1002748982 4.19.95-rt38-v7+ #1 SMP PREEMPT RT Tue, 16 Jun 2020 13:25:43 +0200 armv7l GNU/Linux
Code: Select all
Raspbian GNU/Linux 9 \n \l \4 \6
Code: Select all
apt dist-upgrade
Does anybody has an idea, how should I proceed next to solve this problem?
Thanks!