-
Notifications
You must be signed in to change notification settings - Fork 23
[DO NOT MERGE ] UART passthrough test #151
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
base: prototype_1
Are you sure you want to change the base?
[DO NOT MERGE ] UART passthrough test #151
Conversation
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.
|
@Tejasgarg Could you test this on the prototype, please? With this firmware, a UART bridge connected to the PSLab's UART header should be able to communicate with the ESP32 as if it were connected directly to it. |
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.
Hey @bessman!
This is currently not working :( , and the ESP IDF is giving the following error:
A fatal error occurred: Failed to connect to ESP32-C3: No serial data received.
I am also noticing a strange glitch where the board enters the main application only when the external UART connector is attached to the headers, for some reason.
Additionally, after approximately 5 seconds, the TTL converter goes to sleep due to inactivity. At the same time, for some reason, the main code also stops executing, and the LED stops blinking, and instead remains in the ON position.
|
I'll try testing the passthrough on the nucleo by enabling a few more UART buses. |
|
Strange. Passthrough works fine when I test it on the nucleo: https://github.com/bessman/pslab-mini-firmware/tree/nomerge/passthrough_test Output from this test:
This is concerning. I can't think of any reason for this behavior. Will need further debugging, but it may have to wait until I have a prototype myself. |
Let me test this on Nucleo on my end to ensure that I am not missing anything. I also had another question regarding the ESP pin strapping. |
I forgot to put that it. Try it now. Still, it shouldn't hang regardless of what state the ESP is in. |
This PR enables UART passthrough between the UART header pins and the ESP UART bus on the prototype PCB. Since these are the only two UART buses available, logging is disabled.
This PR is for testing purposes only. Do not merge.