yoneken / rosserial_stm32

This is a part of [rosserial](https://github.com/ros-drivers/rosserial) repository to communicate with ROS system through a USART for STM32 embedded system.
BSD 2-Clause "Simplified" License
227 stars 72 forks source link

[ERROR] [1609744879.430792]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino #33

Open deepchand41 opened 3 years ago

deepchand41 commented 3 years ago

Using STM32F030 R8 Nucleo Board Using Ubuntu 20.04, ROS Noetic

tahakenar commented 3 years ago

I am also facing the same issue with STM32F303RE Nucleo board using Ubuntu 18.04, ROS Melodic. Couldn't find a solution yet... Also, if I try to use rosserial_server I get "Socket asio error..." and I cannot see the topics that I'm supposed to be publishing from the microcontroller

Wayne-DWA commented 2 years ago

@tahakenar @deepchand41 check the DMA settings, set the mode to normal and then have a try. cheers! cfg

JinK2000 commented 1 year ago

@tahakenar @deepchand41 check the DMA settings, set the mode to normal and then have a try. cheers! ![cfg](https://user-images.githubusercontent.com/90710539/149395538-a66dc40f-1d64-4bc6-bfe3-13ffe66bf438.pn

it seems doesn't work :STM32F407+ubuntu20.04(notetic)

[INFO] [1683649672.768868]: Requesting topics... [INFO] [1683649673.098597]: Note: publish buffer size is 512 bytes

[INFO] [1683650864.691406]: Requesting topics... [ERROR] [1683650879.695435]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino

Hbbbbbby commented 1 month ago

I encounter the same issues. Has it been solved now? I found that when the server sent a clock syn signal to the stm32 node, the usart of the node would be interrupted, causing that the message transmits incompletely which might be root of this problem.

But I have no any clear train of thought about it.