-
Notifications
You must be signed in to change notification settings - Fork 90
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
fix(BLE): Add WSF Terminal flush on Console UART error #1212
Conversation
@@ -92,7 +94,12 @@ void UART_CommonHandler(mxc_uart_regs_t *uart) | |||
{ | |||
const uint8_t uartIdx = MXC_UART_GET_IDX(uart); | |||
|
|||
if( uartIdx == CONSOLE_UART || uartIdx == HCI_UART) | |||
if(uartIdx == CONSOLE_UART) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this solve the problem we're having? I haven't seen RX errors in the testing that I've done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have gotten a handful of overflow errors when it is automated. You probably won't when manually doing it. It used to be an assertion that fired off, which happened 5-10% of runs. It is my best guess right now for the no action bound issue I see.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we're better off preventing the overflow with slower writes from the automation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will close it if you want, but we can't guarantee that the issue wont happen regardless.
Description
Cordio has no way to report an error upon a hardware failure such as framing or overflow. This will lead to a parser failure. If you are unlucky and get stuck in a place where the new lines are messed up, it may lead to constant bad commands