-
Notifications
You must be signed in to change notification settings - Fork 148
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
usb DFU not working #10
Comments
Are you use virtual machine? |
Hi, |
are you using latest windows 10 or 11? |
Hi, If that is any help, every time I upload u-boot in FEL mode, I get usb enumeration errors on my host, like these:
Hope this helps. |
But if not in FEL mode, I also get no usb at all in u-boot, though these errors then don't show up, of course. I think u-boot just doesn't have usb controllers needed for this board enabled in the build, or something to messed up in that enormous 2800+ lines patch you apply on top of it. |
Oh, I also just was told that our boards are in fact r3c revision of mangopi not r3... I have absolutely no clue what that might change though, given that the r3c schematics were never made public. I know very little about it:
And who knows what else ? One thing is sure though, we can't trust the r3 schematics any more than we could trust the r2 or r1 at this point, given we have no idea what got modified between r3 and r3c. Are you authorized to disclose info about the r3c ? Do you have one of them, even ? Or is this some elusive revision ? Dfrobot, which is the seller we bought these from, soled them as r3, not r3c. |
I see. In uboot the "usb" command won't help because "usb" is for Host, you can try "ums" or "dfu". Most F1C200s run well , I have no idea why your board can't work yet. I only have some report of Windows 10&11 have compatible issue with libusb. |
Hmm, I see. Still, this doesn't work either. ums 0 mmc 0:2 doesn't make any peripheral show up on my host, despite the progress bar moving in u-boot. As for dfu, trying to do something like dfu 0 mmc 0 or dfu 0 list shows me
I'm very confused, am I missing a driver or should this work out of the box on linux and only windows needs a driver ? |
try this: https://github.com/xboot/xfel |
Woohoo ! Sorry... I'm just glad. It seems that xfel manages to both detect the flash and burn it. It is still burning as I write this so I don't know if it will be successful, but if that allows me to work around the broken DFU, I certainly will not say no ! Thanks for the recommendation. That being said I'm still open to trying out to fix the DFU so if you have anything for me to test, don't hesitate, I'd be glad to help debug this. |
For what its worth... Dfrobot made a new version of their firmware, version 0.2. And the instructions on the wiki now works for linux. But I am not sure how they managed this given they appear to have their own private buildroot fork. So, whatever this is, it must be a software isue, not an hardware one. |
Hi, Hope this helps others, should they encounter the same kind of issues. |
I've been trying to use the default mangopi defconfig and am encountering some problems:
I fixed the first issue by simply enabling the gigadevice spi flash support in u-boot menuconfig, but no matter what I try I can't get DFU to work at all. Typing usb start just says, no usb controllers found.
How to solve this ?
The text was updated successfully, but these errors were encountered: