arduino / arduino/ArduinoCore-sam

Arduino Due USB Implementation Error

Open
#97 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
91
Forks
112
PR merge metrics
No merged PRs in 30d

Description

Arduino=SAM v1.6.12
The problem occurres when you have a Windows 10 application retrieving custom HID reports in high tempo from the Due. After approx 02:05 minutes every hid report returnes correct reportId but only zero values in the other report data fields.

I have already ruled out the fw from my perspective. The windows application continues to run but with these reports zeroed out. In the windows application everything seems fine. The windows application runs fine on other boards. The USBD_xxx methods seems unfinished.

Just to add. In windows the hid device continues working as expected for some time after this. But then finally stops working as well. If I do not run the windows application polling hid reports, then the Due never fails.

Any tips or ideas as to what might be the problem would be greatly received.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Arduino Due custom HID failure under sustained Windows 10 polling and inspect the USBD_xxx methods described as unfinished. Done means HID reports continue returning their nonzero data fields during sustained polling and the failure is covered by an appropriate regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino
Domain
embedded-iot
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.