QX block - "FB Not Initialized" [message #1805818] |
Wed, 24 April 2019 12:09  |
Eclipse User |
|
|
|
Hello everybody,
We are using a custom board based on the SAMA53D. We have compiled FORTE and now are trying to run the simple blinking example (adding the QX block)(pic 1), this board has a linux system with SysFs on it.
The issue that we are facing, is that the QX fails to initialize (pic 2). The example was run on the raspberry pi, so we know the blocks are correct.
We have checked the GPIO folder (/sys/class/gpio) and the pin seems to be initialized (pioA19 is the equivalent to OUTPUT 19, which is the parameter defined on the QX block)(pic3). Neither the FORTE console (pic 4) or the deployment console indicates an error. IX blocks also shows the same behavior, as others GPIO pins on the board. This was tested on Ubuntu 18.10, Debian 9 and with a custom YOCTO build.
The block was also tested without the E_SR.EQ > QX.REQ connection (as was suggested on another post), but it didn't seem to have an effect on the connection.
Any input on how to debug this or where we could check for errors would be kindly appreciated,
Attachment: pic1.png
(Size: 102.65KB, Downloaded 137 times)
Attachment: pic2.png
(Size: 107.25KB, Downloaded 116 times)
Attachment: pic3.png
(Size: 10.21KB, Downloaded 114 times)
Attachment: pic4.png
(Size: 25.09KB, Downloaded 128 times)
|
|
|
|
Re: QX block - "FB Not Initialized" [message #1806356 is a reply to message #1806340] |
Wed, 08 May 2019 02:07  |
Eclipse User |
|
|
|
Did you compile forte with the sysFs module? Are you using the last version of the develop branch? Did you enable ERROR level in logging?
The SysFs module has now a complete logging of error. No error can pass unseen. The fact that you're not getting any error log is the main clue I'd say.
What does STATUS say when you initialize the FB, before triggering the REQ?
|
|
|
Powered by
FUDForum. Page generated in 0.03466 seconds