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

uart04 example unexpectedly reboots #31

Open
kamomil opened this issue Dec 19, 2017 · 0 comments
Open

uart04 example unexpectedly reboots #31

kamomil opened this issue Dec 19, 2017 · 0 comments

Comments

@kamomil
Copy link

kamomil commented Dec 19, 2017

Hi, I updated uart04 exmple to fit raspberry pi 2, here.

It seems to work in the beginning , the code runs 2 loops of 5 iterations each on the uart rx input, and then calls enable_irq(); and then runs an infinite loop where it echos the input.
So I clicked 10 times on the keyboard and the expected to get to the infinite loop, but what actually happened is that upon the 11th click the main notmain function starts from the beginning. Why is that ?

it seems to me that there is a bug that cause it to reboot

@kamomil kamomil changed the title understanding uart04 uart04 example unexpectedly reboots Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant