-
Notifications
You must be signed in to change notification settings - Fork 3k
Buffered STDIN/STDOUT crashes on RTL8195AM and Ublox ODIN W2 #8081
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just verified that Ublox EVK ODIN W2 also crashes somehow if baud rate is set to 115200 and paste a bit longer text: So for Ublox EVK ODIN W2 use following
[Mirrored to Jira] |
Verified that does not crash on K66F |
adding @ARMmbed/team-realtek @M-ichae-l , Hi Michael, please help look into this STDIN/STDOUT crash and address it for RTL8195AM. Thanks. |
Adding @AdamZhang0124 |
Internal Jira reference: https://jira.arm.com/browse/IOTPART-6510 |
This issue also affects SDA (secure device access) project that runs on Sales Demo Device (WEM device, modification of Ublox Odin W2). When running SDA example application with Serial it crashes from time to time. @TaniaMirzin, can provide more details if needed |
@M-ichae-l , can you please verify this STDIN/STDOUT crash for RTL8195AM? |
@SeppoTakalo |
Hi @SeppoTakalo , as we can't reproduce the crash, can you help comment on the reproduce steps? Thanks |
Crash same way as previously.
Are you entering the characters by hand or copy&pasting? |
Where did you put the |
As normal application, not inside of mbed-os. See the first message.
Now create those files. Then we can checkout mbed-os master
|
@M-ichae-l Can you share your binary file for @SeppoTakalo to try ? |
@SeppoTakalo I am now able to produce the error. I am working on it. |
Hi @M-ichae-l , any update on this? Thanks. |
@samchuarm still processing. |
Hi @M-ichae-l , has there been any progress on this issue? Thanks. |
Hi @M-ichae-l , any update on this? |
@samchuarm it is still under processing. |
Hi @M-ichae-l , is there any way we can get this issue progressed? Thanks. |
Hi @M-ichae-l , any update on this? |
Hi, @samchuarm |
Hi @ARMmbed/team-realtek , this has been open for months. Could we get the issue progressed and fixed? Thanks. |
Hi @samchuarm , |
Hi @samchuarm , |
Hi @SeppoTakalo and @samchuarm , The fix for this issue has been committed with the PR of #9923. Please help to review it. Thanks! |
Adam, thanks for your effort fixing the issue. Hi @SeppoTakalo , since the PR# #9923 has been approved, can this issue be closed now? Thanks. |
Description
When sending bytes bidirectionally to Uart that handles STDIN/STDOUT the Realtek 8195 seems to crash.
This is basically same issue that was reported in #6358 but requires faster speed than what humans can type.
To reproduce:
Then create
main.cpp
andmbed_app.json
as follows:main.cpp
mbed_app.json
Now compile and run the program.
It first seems to work, if you type in anything. But if you copy&paste some string that is longer that 10 characters, then it crashes.
So for example, paste following to the serial terminal:
0123456789A
Output would be:
And then it does not respond anymore
Note: If you set
stdio-buffered-serial
tofalse
it does not crash.Issue request type
[ ] Question
[ ] Enhancement
[X] Bug
The text was updated successfully, but these errors were encountered: