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

Simulator waitlocks in Delay2 (Suspect Micro/Timer2 issue) #1

Closed
vintagepc opened this issue Apr 6, 2020 · 1 comment
Closed

Simulator waitlocks in Delay2 (Suspect Micro/Timer2 issue) #1

vintagepc opened this issue Apr 6, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@vintagepc
Copy link
Owner

The firmware does not boot past any _delay() calls due to a timer issue.
There are some known documented timer bugs with simavr.

@vintagepc vintagepc added the bug Something isn't working label Apr 6, 2020
@vintagepc
Copy link
Owner Author

Found and fixed. This was caused by timer2 not being initialized until after the first _delay() call in backlight_init().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant