Skip to content
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

Device not recognized #9

Open
ricardolima91 opened this issue Mar 27, 2017 · 2 comments
Open

Device not recognized #9

ricardolima91 opened this issue Mar 27, 2017 · 2 comments

Comments

@ricardolima91
Copy link

Hi guys, i'am missing some config? In windows it says Unknown USB device(Device Descriptor Request failed) and in mac is not recognize also. Thank you in advance

@kevinmehall
Copy link
Member

That error is tough because it can cover pretty much anything that would cause the device to not answer requests at all, from clock settings to the code crashing.

This repository is mostly deprecated in favor of https://github.com/kevinmehall/usb, but that version has not seen as much testing on Xmega.

Try adding

CFLAGS += -fno-jump-tables

to the makefile, as there's known to be an issue relating to switch statement jump tables on recent GCC (kevinmehall/usb#3)

@ricardolima91
Copy link
Author

Thanks for the help ;) new version of your repo works ok ! But now on main it is only initializing the usb. So we cannot comunicate with that rigth? I can copy the same code which you have in this version to initialize in cdc (create port com) or dfu ? Thank you for your work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants