Configuring Jetson Nano as slave in MODBUS
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Ramakrishna Mandalapu
il 22 Lug 2022
Modificato: Ramakrishna Mandalapu
il 22 Lug 2022
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
il 26 Lug 2022
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
Risposte (1)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!