Skip to content
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

uart problem #35

Closed
crouse12 opened this issue Dec 1, 2020 · 8 comments
Closed

uart problem #35

crouse12 opened this issue Dec 1, 2020 · 8 comments
Labels

Comments

@crouse12
Copy link

crouse12 commented Dec 1, 2020

I found that uart in microbit v2 has a problem if I follow the following steps.
(1)
Connect to microbit v2 by using putty,
(2)
Reset the microbit v2's power.
(3)
Connect to microbit v2 by using putty,
You can find that microbit v2 cannot work correctly.

https://youtu.be/ZrAsxoCKZTo

@dpgeorge
Copy link
Collaborator

dpgeorge commented Dec 2, 2020

Yes I have seen that issue before, that sometimes on initial connection the REPL is not responsive and just returns garbage characters.

@microbit-carlos I'm not sure where the issue lies, maybe with DAP link?

The workaround is to press the reset button on the back of the microbit while it's still connected to putty.

@crouse12
Copy link
Author

crouse12 commented Dec 2, 2020

Can you clear buffers or session when the Microbit v2 starts?

@crouse12
Copy link
Author

crouse12 commented Dec 7, 2020

Can anyone help me to solve uart problem?

@martinwork
Copy link
Collaborator

Problem exists with a C++ test too.

@dpgeorge
Copy link
Collaborator

dpgeorge commented Dec 7, 2020

Problem exists with a C++ test too.

Can you please post C++ code that reproduces it? I guess it's an issue with the CODAL and initialisation of the serial UART?

@martinwork
Copy link
Collaborator

@dpgeorge
Copy link
Collaborator

@dpgeorge
Copy link
Collaborator

Fixed by df3caf7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants