-
Notifications
You must be signed in to change notification settings - Fork 14
Increase baud rate to 115200 #65
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
Conversation
@ARMmbed/mbed-os-core Please see the PR description. Increasing the baud rate stabilises this example in CI, but there's no issue on a local board to begin with. Could someone with serial/UART expertise please suggest why it happens? Or whether/why/when some output can be lost at a low baud rate? Every |
(Fix for CMake & Travis to come as another PR) |
At 9600 baud, a large part of the serial output of the crash reporting example is missing on CI boards, causing the example test to fail. At a higher serial speed (115200 baud), the entire output is intact. This is in alignment with ARMmbed/mbed-os-example-crash-reporting#65. Fixes ARMmbed#14535
Change looks fine. Needs Travis CI updates to pass Travis before merge. |
Travis fixed in #67, I'll rebase after that gets merged. |
Travis passed, this can be merged |
At 9600 baud, a large part of the serial output of the crash reporting example is missing on CI boards, causing the example test to fail. At a higher serial speed (115200 baud), the entire output is intact. This is in alignment with ARMmbed/mbed-os-example-crash-reporting#65. Fixes ARMmbed#14535
At 9600 baud, a large part of the serial output of the crash reporting example is missing on CI boards, causing the example test to fail. At a higher serial speed (115200 baud), the entire output is intact. This is in alignment with ARMmbed/mbed-os-example-crash-reporting#65. Fixes ARMmbed#14535
Fixes ARMmbed/mbed-os#14535
The full log of this example looks like (note
1st run
and2nd run
):Code
When running the example at 9600 baud in CI, a huge part of the serial output is lost, and we're left with:
Code
This issue only happens in CI, and the "cut-off" position is random. This causes the example to fail randomly in CI, depending on whether
= System will be rebooted due to a fatal error =
expected by crash-reporting.log happens to be lost or not.This problem doesn't happen on a local board when using
mbedgt
to run the example & compare the log.Increasing the serial baud rate resolves the issue in CI.