Configuring Jetson Nano as slave in MODBUS
4 次查看(过去 30 天)
显示 更早的评论
Hello, we are trying to configure on Jetson Nano as slave in MODBUS, but we is not working.
We already run this models
Client version ok . Server version is not ok
After this, we tried another way, but the target is Raspberry Pi.4, in this test, both, client model and server model ran well
We noticed that the libmodbus-dev version, using Raspberry Pi 4, the OS from MathWorks (https://github.com/mathworks/Raspbian_OS_Setup) is already installed and is version 3.1.4.
In NVIDIA case, when we intalled throught apt-get, the lib is version 3.0.6. until this moment is the only difference that we could find.
By the other side, we didnt find any documentation in NVDIA Support Package about need to install the libmodbus-dev.
2 个评论
Ramakrishna Mandalapu
2022-7-22
编辑:Ramakrishna Mandalapu
2022-7-22
Hi Erika,
This might be due to the mismatched Modbus library installation on the Jetson.
Can you please install the Modbus library from below repository?
Follow the below steps to install
git clone https://github.com/stephane/libmodbus
cd libmodbus
./autogen.sh
./configure && sudo make install
Note: You need to uninstall the previously installed library using below command.
sudo apt autoremove libmodbus-dev
Let us know if you have any other questions.
Thanks,
Ramakrishna
Rodrigo Botelho
2022-7-26
Hi, Ramakrishna,
Just sharing our experience. On one of the Jetson Nanos, we had to also run ldconfig after installing the libmodbus-dev from source. Otherwise, it wouldn't find the libmodbus.so.5.
rcbb
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!