FIXED --- Issue with QX and IX function blocks on Raspberry Pi OS [message #1840628] |
Wed, 21 April 2021 03:38 |
Barry Dowdeswell Messages: 49 Registered: November 2018 |
Member |
|
|
Hi Alois,
Note - this has now been corrected. See the note in the reply below.
I have been experimenting with the IX and QX function blocks on a Raspberry Pi 4 using Raspberry Pi OS. Everything is cross-compiling and running compliant with C++ 11.
However, the IX and QX function blocks refuse to initialise the GPIO ports. In the attachment below you can see that the GPIO is functioning fine and that I have full control over both input and output modes. LED's light when I send them commands and switches return the correct value.
However, the IX and QX blocks never get past the "Waiting for handle..." message when they run their INIT event.
I have given GPIO permissions to the pi user I am running under but even running forte with sudo does not resolve the problem.
The tests shown below were run after I had de-installed the 1-Wire drivers for the DS18B20 temperature sensor, so I am pretty sure that FORTE has the GPIO all to itself.
I only found one example of a similar problem on the forum https://www.eclipse.org/forums/index.php/t/1075982.
Have you seen similar problems before?
Thank you,
Barry
[Updated on: Wed, 21 April 2021 10:54] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05006 seconds