XHC WHB04B development?

  • Finngineering
  • Away
  • Senior Member
  • Senior Member
More
07 Feb 2026 08:53 #342590 by Finngineering
Replied by Finngineering on topic XHC WHB04B development?
Okay, thank you for the feedback. I realize now I wasn't clear in my last request, but I meant jogging with the pendant while a program is running. But you did that as well.

This setupAsyncTransfer() assertion failed is also what I had before changing the loops. That error occurs when the USB dongle has already reset, most likely because it saw no activity from the computer side.

I mentioned that after some time, the pendant still stops working for me. But I don't recall right now if I have even checked if I get the same setupAsyncTransfer failed at that time. I should check...

If you continue using this modified version, let us know if it looks to have cured the other issue you had as well.

I just started on writing a new firmware for the dongle. But I'm not sure where that will lead, if anywhere.

Please Log in or Create an account to join the conversation.

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
07 Feb 2026 09:19 #342592 by Hakan
Replied by Hakan on topic XHC WHB04B development?
What number do you use for loops? Is any number "best"?

Please Log in or Create an account to join the conversation.

  • Finngineering
  • Away
  • Senior Member
  • Senior Member
More
07 Feb 2026 12:01 #342597 by Finngineering
Replied by Finngineering on topic XHC WHB04B development?
I believe I have 10, but can't verify until tomorrow or Monday. I have only tried the one value, which was an educated guess and seemed to work.

The total delay can be loops * timeout, i.e. 60 * 5 ms = 300 ms with the default values. In practice it can become longer because of how the delay is made and how the kernel schedules the task. I would imagine that as long as the delay is more than a few servo cycles, it should work. So probably it would work even with loops set to 1. But I have not tested. Nor do I think it would solve all issues that I experience.

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum