-
Notifications
You must be signed in to change notification settings - Fork 424
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
ttyAMA0 from app not working #179
Comments
What is the RPi model you are working on? |
hello, it is raspberryPi3 model B , I have made the UART0_TX pin working by using the ttyS0 port instead of ttyAMA0. |
Can we close the issue in that case? @AntonioSanta |
OK with me if this is as expected. |
@AntonioSanta It sounds like an issue. Would you be able to try to reproduce on a raspbian? |
On Raspbian 8 ( jessie )(with Linux 4.9.35-v7 ) the same application is successfully driving the pin UART0_TX pin when opening ttyAMA0 device. |
@AntonioSanta are you able to give it a try with the current master (we updated firmware and kernel)? |
Known behaviour with RP3 - See raspberrypi/linux#1399 |
@61131 But the pi3-disable-bt should switch roles. That's the issue reported here. |
By all means, this sounds like an issue in the kernel. I recommend trying newer meta-raspberrypi revisions to reproduce. Otherwise, follow it up in linux-raspberrypi github repository. Closing for now. |
I am upgrading now the system to the newer Sumo version. I couldn't check
before.
…On Thu, 26 Jul 2018, 19:55 Andrei Gherzan, ***@***.***> wrote:
By all means, this sounds like an issue in the kernel. I recommend trying
newer meta-raspberrypi revisions to reproduce. Otherwise, follow it up in
linux-raspberrypi github repository. Closing for now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#179 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhFQLl2qnMobOfEmrLc_L-zATmiugdD8ks5uKhCfgaJpZM4RhQRE>
.
|
Looking forward to hearing your findings.
--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan
|
I checked with the Sumo version and the behavior is still the same ,it works with ttyS0. I will follow on linux-raspberrypi, as you said. |
Description
I cannot drive the UART0_TX (pin#8) from cpp application. The port ttyAMA0 can be opened successfully from the app but when trying writing some data nothing happens on the TX pin.
Steps to reproduce the issue:
2.rebuild the image nad load it to the sd card.
3.when raspberrypi3 boots up check with a simple app or echo '1' > /dev/ttyAMA0 , nothing is output to the tx pin of the UART ttyAMA0.
Describe the results you received:
the TX pin does not move, nothing is transmitted and no error is reported.
Describe the results you expected:
the TX pin to transmit the data
Additional information you deem important (e.g. issue happens only occasionally):
the same application on the same hw is working using Raspbian original image.
Additional details (revisions used, host distro, etc.):
it seems the console is retained anyway to ttyAMA0 as dmesg | grep ttyAMA0 output shows kernel command line: ...... console=ttyAMA0,115200. Then how to change the console to go to another uart ?
The text was updated successfully, but these errors were encountered: