-
Notifications
You must be signed in to change notification settings - Fork 213
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
Arduini Pro Mini stuck on os_init #523
Comments
Hi aparcar, @terrillmoore for me it looks like the commit 306330f is the problem. With the a4044c0 i can join the network and send data. Have a nice weekend |
@JackGruber and @aparcar -- thanks for looking into this. This is because "interrupts disabled" are stopping the clock from advancing properly. Various BSPs handle time differently when interrupts are disabled, and start up with different interrupt enabled/disabled state. The MCCI BSPs all have the property that time advances even when interrupts are disabled. But many BSPs do not. The LMIC needs to be reworked to remove all the interrupt enable/disable logic that's presently there, as I am certain that there's no need for extended interrupt disables. (I think this was an artifact of the original adaptation for Arduino. I'll raise a linked bug. |
How to proceed here? Should I just use the outdated version or is there a way to change the behavior in the current release? |
Unluckily, I have a pressing commitment on another project, and can't look at this until that's done. Probalby another week. If you use git to clone the repo, you can then use git to backout the single change 306330f. The command is something like: git revert 306330fcb5be10c9897f96d2885af530d168a5d3 The problem is that There is no good reason for |
Aww, ran into this exact problem, traced it down to hal_waitUntil(). Good to see the issue acknowledged. |
I reverted back to 3.0.99.9 (commit: e59c123) and works again. |
Fix #523: workaround interrupt-disable issue in radio driver
Similar to #521 my Arduino Pro Mini hangs on os_init. While Catena offers a working fork for the Feather M0 (Catena 4410) I can't find something similar for the Pro Mini.
Is it possible that the same GPIO changes corrupted the os_init() here as well?
The text was updated successfully, but these errors were encountered: