Borrar filtros
Borrar filtros

Configuring Jetson Nano as slave in MODBUS

2 visualizaciones (últimos 30 días)
Erika Libanio
Erika Libanio el 21 de Jul. de 2022
Comentada: Rodrigo Botelho el 26 de Jul. de 2022
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 comentarios
Ramakrishna Mandalapu
Ramakrishna Mandalapu el 22 de Jul. de 2022
Editada: Ramakrishna Mandalapu el 22 de Jul. de 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
Rodrigo Botelho el 26 de Jul. de 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

Iniciar sesión para comentar.

Respuestas (1)

Ramakrishna Mandalapu
Ramakrishna Mandalapu el 26 de Jul. de 2022
Above installation steps resolved the issue at the user.

Productos


Versión

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by