You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/08/29 11:40:39 UTC
[GitHub] [incubator-nuttx] eenurkka opened a new pull request, #6951: risc-v/mpfs: usb: fix infinite loop issue
eenurkka opened a new pull request, #6951:
URL: https://github.com/apache/incubator-nuttx/pull/6951
mpfs_write_tx_fifo() gets stuck in the following case:
- CDCACM is used
- ttyACM0 is opened and then closed from the remote end,
such as Linux or Windows
- data is written into ttyACM0 from NuttX
- tx fifo will never get empty and the system is stuck
Fix this by issuing an error code if the transmit fifo doesn't
proceed as expected. The error code is then propagated into
higher level keeping the system functional.
Signed-off-by: Eero Nurkkala <ee...@offcode.fi>
## Summary
MPFS CDCACM malfunctions in certain cases
## Impact
MPFS USB
## Testing
Polarfire MPFS kit, USB connected to Linux Ubuntu 22.04 or Windows 10
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6951: risc-v/mpfs: usb: fix infinite loop issue
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #6951:
URL: https://github.com/apache/incubator-nuttx/pull/6951
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org