-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
nrf52: reel_board: USB unable to send fragmented packets through Control endpoint #11232
Comments
Assigned to @pawelzadrozniak so he can take a look. |
I cannot reproduce the problem. CPU hangs in radio IRQ handler after "iwpan phy $PHY set channel 0 26". |
Do you mean Linux hangs? BTW: have you disabled Bluetooth? Looks like reel_board always include BT in every project ;) |
😄 well, like other NRF based boards: |
@carlescufi that always enabling Bluetooth, is this a bug? |
Well, we do the same for all nRF-based boards. That said this might not be ideal, but in any case we would need to revisit all the boards, so this is outside the scope of this issue. |
Is this correct that BT does not work with 802.15.4 and the board crashes when both are enabled? |
Yes, this is correct since both access the radio and are not coordinated. |
Fragmented long CTRL OUT transfers does not work properly, because they were not handler properly by the shim. In such transfers, a special call (nrfx_usbd_setup_data_clear()) must be performed before every data packet and not just before the first one. This patch adds a byte counter which is set while processing setup packet (host->device only) to be able to decide whether there will be more data packets coming (and to call_data_clear() or not). Fixes zephyrproject-rtos#11232 . Signed-off-by: Paweł Zadrożniak <pawel.zadrozniak@nordicsemi.no>
Fragmented long CTRL OUT transfers does not work properly, because they were not handler properly by the shim. In such transfers, a special call (nrfx_usbd_setup_data_clear()) must be performed before every data packet and not just before the first one. This patch adds a byte counter which is set while processing setup packet (host->device only) to be able to decide whether there will be more data packets coming (and to call_data_clear() or not). Fixes #11232 . Signed-off-by: Paweł Zadrożniak <pawel.zadrozniak@nordicsemi.no>
When testing issue with wpanusb I noticed that after Host sends more then 64 bytes through Control endpoint communication stalls.
@mike-scott
The text was updated successfully, but these errors were encountered: