Comments (7)
After looking at it in detail,The second half of message in case of tx bufferoverflow will not be transferred to the serial port through DMA because the first part of the buffer has not been transferred, so the previous logic is correct.
from rosserial_stm32.
Hello, I've read your reply about that problem...
That problem came to me and It occurs compile error..
Can I fix the line to this
HAL_UART_Transmit_DMA(huart, tbuf, twind);
?? Waiting for your reply, thanks
from rosserial_stm32.
After looking at it in detail,The second half of message in case of tx bufferoverflow will not be transferred to the serial port through DMA because the first part of the buffer has not been transferred, so the previous logic is correct.
What do you mean with previous logic?
I suggested the second DMA transfer because of this problem -> #40
from rosserial_stm32.
After looking at it in detail,The second half of message in case of tx bufferoverflow will not be transferred to the serial port through DMA because the first part of the buffer has not been transferred, so the previous logic is correct.
What do you mean with previous logic?
I suggested the second DMA transfer because of this problem -> #40
Thanks for your information.
Simply I have a issue that I cannot compile that line.(mentioned on issue #43)
Compile error occurs in stm32f466re board, Firmware version 1.24.2
from rosserial_stm32.
After looking at it in detail,The second half of message in case of tx bufferoverflow will not be transferred to the serial port through DMA because the first part of the buffer has not been transferred, so the previous logic is correct.
What do you mean with previous logic?
I suggested the second DMA transfer because of this problem -> #40Thanks for your information. Simply I have a issue that I cannot compile that line.(mentioned on issue #43) Compile error occurs in stm32f466re board, Firmware version 1.24.2
Since @tianyuZ discovered a problem with the DMA transfer logic, you probably should checkout rosserial_stm32 from this commit:
0d1c48b
from rosserial_stm32.
Hello, I've read your reply about that problem...
That problem came to me and It occurs compile error..
Can I fix the line to this
HAL_UART_Transmit_DMA(huart, tbuf, twind);
?? Waiting for your reply, thanks
Sorry, just saw your comment now, your fix is correct.
from rosserial_stm32.
After looking at it in detail,The second half of message in case of tx bufferoverflow will not be transferred to the serial port through DMA because the first part of the buffer has not been transferred, so the previous logic is correct.
What do you mean with previous logic? I suggested the second DMA transfer because of this problem -> #40
When the DMA transfer is completed, it will enter the interrupt and finally call the HAL_UART_TxCpltCallback callback function to transfer the remaining data again, so there is no need to immediately send out the second half of the message in the front of the tx buffer after a buffer overflow occured.
from rosserial_stm32.
Related Issues (20)
- Change float64 type to PrimitiveDataType HOT 1
- which version of rosserial do I need to use? HOT 6
- Error with IMU msg version HOT 1
- Topics are not being seen by ROS HOT 4
- Not able to reconnect after rasperry client reboot
- "rosrun rosserial_stm32 make_libraries.py ." doesn't copy tfMessage.h
- stm32f4 and ros connection HOT 1
- STM32CubeIDE project folder structure changed HOT 1
- Windows vagrant setup is missing c++ compiler
- Unable to sync with device when using nucleo-f446re HOT 1
- [ERROR] [1609744879.430792]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino HOT 3
- HardFault_Handler HOT 1
- getParam() cannot be used HOT 1
- Build fails
- Chang publish buffer
- DMA/USART initialization order
- compile error on nucleo-stm32f466re HOT 1
- how to add another STM32 Board HOT 2
- how to generate header files for other STM32 Board
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rosserial_stm32.