-
Notifications
You must be signed in to change notification settings - Fork 141
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
ieee802154: Radio::send
followed by Radio::recv
panics with v0.14
#368
Comments
after PR #356 a |
japaric
added a commit
to japaric/nrf-hal
that referenced
this issue
Dec 21, 2021
after PR nrf-rs#356 the radio is disabled after every `send` operation. if one calls `send` immediately after `recv`, `recv` can observe the radio in the TXDISABLE state TXDISABLE is a transitory state that leads to the final DISABLED state which the impl knows how to handle this PR adds logic to handle the transitory TXDISABLE state fixes nrf-rs#368
bors bot
added a commit
that referenced
this issue
Jan 3, 2022
369: ieee802154: handle the transitory state TXDISABLE r=jonas-schievink a=japaric after PR #356 the radio is disabled after every `send` operation. if one calls `recv` immediately after `send`, `recv` can observe the radio in the TXDISABLE state TXDISABLE is a transitory state that leads to the final DISABLED state which the impl knows how to handle this PR adds logic to handle the transitory TXDISABLE state fixes #368 --- I have checked that the programs in https://github.com/ferrous-systems/embedded-trainings-2020 work again with this change Co-authored-by: Jorge Aparicio <jorge.aparicio@ferrous-systems.com>
bors bot
added a commit
that referenced
this issue
Jan 3, 2022
369: ieee802154: handle the transitory state TXDISABLE r=jonas-schievink a=japaric after PR #356 the radio is disabled after every `send` operation. if one calls `recv` immediately after `send`, `recv` can observe the radio in the TXDISABLE state TXDISABLE is a transitory state that leads to the final DISABLED state which the impl knows how to handle this PR adds logic to handle the transitory TXDISABLE state fixes #368 --- I have checked that the programs in https://github.com/ferrous-systems/embedded-trainings-2020 work again with this change Co-authored-by: Jorge Aparicio <jorge.aparicio@ferrous-systems.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
steps to reproduce
(sorry I did not try to minimize the repro case):
boards/dk/Cargo.toml
to usenrf-hal
v0.14.1,cortex-m
0.7.3 andcortex-m-rt
0.7.1beginner/apps/Cargo.toml
to usecortex-m
0.7.3 andcortex-m-rt
0.7.1beginner/apps
run theradio-recv
programstack backtrace:
hal v0.13.0 works fine. I'm currently investigating the cause
The text was updated successfully, but these errors were encountered: