Replies: 2 comments 1 reply
-
@hathach I found a clear issue in the hcd of Renesas, its in nrdy handling, the pid flag can be 2 or 3 if it is stalling, however the handler is not considering 3 at all , and go to default in the switch statement . switch (*ctr & RUSB2_PIPE_CTR_PID_Msk) { |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello @hathach ,
I am using the host module for MSC on Renesas RA, with no rtos
I want to know what is the common reason for the following assertion to fail.
usbh_edpt_xfer_with_callback 797: ASSERT FAILED
I am still not sure why I end up with this error message, the problem is when I get into this, It freezes my program completely, I think there is something wrong with the hcd layer, but I am not quite sure.
Here is a snippet of what I am getting at level one debug (I enabled Queue EP manually)
Queue EP 81 with 13 bytes ...
Queue EP 02 with 31 bytes ...
Queue EP 81 with 512 bytes ...
Queue EP 81 with 13 bytes ...
Queue EP 02 with 31 bytes ...
Queue EP 81 with 512 bytes ...
Queue EP 81 with 13 bytes ...
Queue EP 02 with 31 bytes ...
Queue EP 81 with 512 bytes ...
Queue EP 81 with 13 bytes ...
Queue EP 02 with 31 bytes ...
Queue EP 81 with 512 bytes ...
Queue EP 81 with 13 bytes ...
Queue EP 02 with 31 bytes ...
Queue EP 81 with 512 bytes ...
Queue EP 81 with 13 bytes ...
Queue EP 02 with 31 bytes ...
Queue EP 81 with 512 bytes ...
Queue EP 81 with 13 bytes ...
usbh_edpt_xfer_with_callback 797: ASSERT FAILED
msch_xfer_cb 352: ASSERT FAILED
It freezes here
Beta Was this translation helpful? Give feedback.
All reactions