-
Notifications
You must be signed in to change notification settings - Fork 5
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
Serial printing issues. #18
Comments
I have just verified that this is a XDS110 emulator issue. The issue has been reported to the Engineering team that maintains the XDS110. |
It looks this problem is due to a silicon UART issue documented in the MSP432P401 errata. |
I think the errata is about receiving and not transmitting. |
Your right. So do we know what the problem is? |
This is a XDS110 issue that is being worked on by TI. Will keep this open to update when a fix is available in the XDS110 firmware. |
So it seems like the root cause has been identified. The corrupted characters are due to the debugger not fully configuring its uart before taking the MSP432 out of reset. Therefore, MSP432 can output characters to the debugger's uart before its ready. The issue with no UART output is due to the debugger UART buffer becoming full before its able to clear it out by sending it to the PC. The current firmware just didn't try outputting anything once this happen. Still waiting to incorporate the new debugger firmware into Energia. |
I am having issues getting basic serial print usage working.
OS: Windows 10 64bit
IDE Version: Energia 1.8.7E21
Board: MSP_EXP432E401Y
Core: MSP432 EMT Red v5.23.1
When uploading the below code serial monitor outputs garbage text. However, doing a soft reset (hitting reset button) fixes this issue.
This code results in garbage text output:
Root cause is likely the same but this code doesn't generate any output when you upload it. Doing a soft reset output text but its garbage text.
Sometimes a delay fixes some of these issues. But with the below example it outputs text but its still has some garbage included.
The text was updated successfully, but these errors were encountered: