SPRESENSE opened a new issue, #15960:
URL: https://github.com/apache/nuttx/issues/15960

   ### Description / Steps to reproduce the issue
   
   Due to https://github.com/apache/nuttx/pull/15931, the write messages via 
USB CDC/ACM may be lost.
   Before this PR, the problem does not occur.
   
   I am checking with the Spresense board, is there any problem with other 
boards?
   
   How to reproduce:
   1. Enable the following configurations.
   - CONFIG_EXAMPLES_USBSERIAL=y
   - CONFIG_EXAMPLES_USBSERIAL_CONFIG_WAIT=y
   - CONFIG_EXAMPLES_USBSERIAL_INONLY=y
   - CONFIG_EXAMPLES_USBSERIAL_IN_WAITING_TIME=1
   - CONFIG_EXAMPLES_USBSERIAL_ONLYBIG=y
   
   2. Run `usbserial` on NuttShell to receive strings on the USB CDC/ACM serial 
device.
   The same message is received repeatedly, but after several hours of testing, 
the message may not be received.
   Below is a log of when the problem occurred, with some messages missing.
   ```
   I know already, by your forwardness, that you have deserved rewards and 
crowns; and we do assure you, on the word of a prince, they shall be duly paid 
you. In the mean my lieutenant general shall be in my stead, than whom never 
prince commanded a more noble and worthy subject; not doubting by your 
obedience to my general, by your concord in the camp, and by your valour in the 
field, we shall shortly have a famous victory over the enemies of my God, of my 
kingdom, and of my people.
   port, but being resolved, in the midst and heat of the battle, to live or 
die amongst you all; to lay down, for my God, and for my kingdom, and for my 
people, my honour and my blood, even the dust.
   ```
   There is no problem when USB debug log (`CONFIG_DEBUG_USB_INFO`) is enabled, 
so there may be some potential timing defect.
   
   
   ### On which OS does this issue occur?
   
   [OS: Linux]
   
   ### What is the version of your OS?
   
   Ubuntu 22.04
   
   ### NuttX Version
   
   master (e4ca1a2de9)
   
   ### Issue Architecture
   
   [Arch: arm]
   
   ### Issue Area
   
   [Area: Drivers]
   
   ### Host information
   
   _No response_
   
   ### Verification
   
   - [x] I have verified before submitting the report.


-- 
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-unsubscr...@nuttx.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to