Page 1 of 1

Not all examples working with atmega8 and MacOsX as host

Posted: Mon Dec 20, 2010 11:53 pm
by miceuz
I was able to run mouse, hid-data and hid-custom-rq examples no problem, but custom-class example does not get recognized by MacOSX 10.5.8

I use USBasp programmer which is a custom-class device and it does get listed in Bus probe list, but custom class device built from examples does not get listed. I get this error in USB logger:

Code: Select all

 2354.565 [1]   AppleUSBHubPort[0x3e0eb00]::PortStatusChangedHandler - port 1 of hub @ 0x1d000000 - error e00002ed from (1) handler
 2354.565 [1]   [0x3e0eb00] The IOUSBFamily was not able to enumerate a device.


What could be wrong? The wiring is definately ok as everything works ok for HID examples and i've changed Makefile and usbconfig.h to match my case:

Code: Select all

DEVICE  = atmega8
F_CPU   = 16000000   # in Hz

Re: Not all examples working with atmega8 and MacOsX as host

Posted: Tue Jan 25, 2011 12:26 pm
by CRP
I had the same problem. Then I rebuilt the whole board from scratch and now everything works fine. So I suggest you check your board again.