-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Arch: armIssues related to ARM (32-bit) architectureIssues related to ARM (32-bit) architectureArea: DriversDrivers issuesDrivers issuesOS: LinuxIssues related to Linux (building system, etc)Issues related to Linux (building system, etc)Type: BugSomething isn't workingSomething isn't working
Description
Description / Steps to reproduce the issue
Due to #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:
- 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
- Run
usbserialon 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 (e4ca1a2)
Issue Architecture
[Arch: arm]
Issue Area
[Area: Drivers]
Host information
No response
Verification
- I have verified before submitting the report.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Arch: armIssues related to ARM (32-bit) architectureIssues related to ARM (32-bit) architectureArea: DriversDrivers issuesDrivers issuesOS: LinuxIssues related to Linux (building system, etc)Issues related to Linux (building system, etc)Type: BugSomething isn't workingSomething isn't working