-
Notifications
You must be signed in to change notification settings - Fork 111
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
Arduino Due issue with USB "native" port #53
Comments
Ok, so what is your problem here? Does USB isolator and provided USB patch cable (5-pin 0.1" to micro-USB) works with programming but not with native port on Arduino Due? |
Yes. |
little FUP on this - according to USB-Tool, the native port's ID is read correctly, error happens afterwards; perhaps some out-of-spec passive at the Adum, resulting in some form of edge/corner case? Device Description : USB-Verbundgerät
bLength : 0x12 (18 bytes) ConfigDescriptor Error : ERROR_GEN_FAILURE |
Hm, not sure about "edge/corner" case, do you have by chance some other Arduino Due board to test it? |
Tried with another Arduino Due - exactly the same behaviour - only prog port working with isolator.
|
You're right, and I believe the first two case should be easy to check. The latest one will require new IC or some scope measuring and probing. Maybe it's also possible that some e.g. "dirt" or other irregularity can be found on the PCB with simple visual check. |
Dismounted the pcb at the back, it looked absolutely nice and clean. Resoldered Adum and surrounding passives anyway, and cleaned all with isopropanyl afterwards. No change... :-/
|
Correct, neither of them are connected to the earth. |
i soldered a new micro USB header cable, just to be sure; same result/no native port; running out of ideas - apart from throwing a scope onto it... 8-} |
If it works flawlessly with programming and not native port then only proper port selection under Tools... Board menu is missing. No other ideas so far. |
I did some further "research" - i have an external USB isolator module, which happens to use the exact same Adum3160. It also turned out that "software" doesn't matter - the same Win10 system which does not work with Adum+Due-native does also not work with a current Linux on the same hardware. What is however interesting - while the "Due Prog port" through Adum is detected as "USB Fullspeed" (= USB 1.1), the native port is "USB Highspeed" (= USB 2.0). This at least could explain why the Adum behaves differently for prog and native port... I also found some sort of solution - i dug out a very old laptop which i kept for, well, things like that :), and this laptop is able to properly work with Due's native port with the Adum in between. Knowing this, i then attached the Due-native to an USB-2 port sitting directly on the mainboard of my Win10 system (which did fail before, using the front panel ports) - and this setup also worked! So the outcome probably is - the Adum simply seems to be a bit picky regarding the USB standard. Avoiding USB ports broken out with headers or hubs seem to help at least sometimes. But i think i will now leave the PSU at native port, doing SCPI-tests and fw updates with the old laptop (XP, uh.. :o) mentioned above... |
Thx, for additional info. Regarding SCPI testing please note that you can do it over Ethernet too. |
Hi,
i successfully assembled my psu device, values (without load and calibaration) are basically bang-on.
The only thing which i don't get working is the USB connector. Native port is only recognized as "device not started, Code 10" in device manager.
I tried several cables, and also checked that the internal cable is ok, and it's wired correctly.
I managed to update to firmware 1.01 by plugging a USB cable into DUE's native port directly, which means port and windows (driver) are ok.
I first thought it could only be a simple mechanical issue, but then i realized that it's got an isolator before the USB port... 8-}
Any ideas on that?
Update: is just tried to re-wire to DUE's programming port - and this works! I've been able to re-flash the firmware configured to prog-port as well, so at least it works "some how".
Though the constant resetting of the whole thing is really annoying (played a bit with SCPI)...
Jan
The text was updated successfully, but these errors were encountered: