-
Notifications
You must be signed in to change notification settings - Fork 45
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
Feature Request : Add ability to change UART Speed between greentea and DUT #196
Comments
ARM Internal Ref: IOTMORF-544 |
Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-40 |
@adbridge explain please? |
It's been moved internally into a feature request by the looks of it. This one was thus closed by Earl's team. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
It is very hard to test the UART with greentea since greentea uses the UART line. Having the ability to change the speed of the channel for testing purposes would be very useful.
Solution
Implemeneted in htrun and greentea-client packages "key value protocol" can be decorated with few new simple commands like {{serial_speed;115200}} etc. + some simple HAL in greentea-client to change baudrate and restart serial if needed (+ flusing some buffers?)
I can imagine on device and host side after baudrate change request there shjould be some simple recovery so both sides for sure are transmiting in new baudrate.
So some implementation is in order in both greentea-client (C/C++) and htrun.
The text was updated successfully, but these errors were encountered: