Page 1 of 1

usbasp and an Intel Mac w/ OS X (device not recognized)

Posted: Tue Aug 07, 2007 10:52 am
by chardson
Hi there,

I've built the fischl.de/usbasp/ programmer, and it is recognized on my windows desktop and linux desktop (which are at work), but my Intel Mac OS X laptop doesn't list it with various usb testing apps (USB Prober, libusb's "testlibusb" test executable, my own tiny libusb app). I've caught the slightest mention of an OSX intel hack, and I wonder if anyone here knows anything on the matter.

I'm running OS 10.4.10 on an Intel Macbook Pro, and like I said, my desktops see it fine. I wonder slightly if there's a power limitation from my laptop, but I really doubt it. I'd prefer to use my laptop, though, as the building closes here at 10 (just before prime hacking hours, too! ;) )

-chardson

Posted: Wed Aug 08, 2007 4:07 pm
by christian
AVR-USB devices work well on my MacBook Pro / Intel, even without zener diodes in D+ and D-.

If you have omitted the zener diodes, please try adding them. Some host controllers don't tolerate 5 V levels, although many hosts do tolerate them.

Posted: Thu Aug 09, 2007 7:34 pm
by chardson
I see. I will try and run town to the radio store tomorrow (I have to leave work early). The multimeter claims the voltage difference between D+ and D- is 3.87 V, which I would expect to be below peak, so zeners are a good idea.

Thanks for your reply (a lot). It probably wouldn't have crossed my mind (I didn't know why they would be there when I looked at the original schematic). If this does fix it, I might suggest to T.Fischl that he put a note in the readme, or add a noe in the designs without zeners.

Andrew

Posted: Sat Aug 11, 2007 2:19 pm
by chardson
I connected the zeners (3.6V as in the original usbasp schematic), but to no avail. Could it be a OSX patch that caused the problem?

Posted: Mon Aug 13, 2007 12:32 pm
by christian
No, none that I know of. Have you tried a USB 2.0 hub between the host and the device? If that works, it's very likely an electrical problem.

Posted: Mon Aug 13, 2007 11:06 pm
by chardson
No, I don't have one since I'm far from home for a while longer. I'll see if my coworkers have anything. I'm desperate, I'm losing precious hacking time! If only I could live in my office... ;)

Posted: Wed Aug 22, 2007 1:50 pm
by chardson
Well, I haven't been able to get ahold of a usb hub, but thanks for the suggestion. I'll be home soon, and back to my desktop. Things should be fine from there

andrew

Posted: Sat Dec 01, 2007 12:29 pm
by Rom1
Hello,

I'm a student with an Intel MacBook. And it don't recognise my usbasp too.

I have nothing in "information system" on mac os.

board is immediately recognised on my windows laptop.

And when usbasp is connected, i'm feeling that mac os is lagging. and usb port seems hot.

does anyone had same problem ?

Posted: Sat Dec 01, 2007 1:40 pm
by christian
Before you connect the programmer, please run the following command in a Terminal window:

tail -f /var/log/system.log

Then connect the device and watch the messages in the Terminal window. This may provide more information.

Posted: Sat Dec 01, 2007 6:47 pm
by Guest
Thanks,

I have changed some components on my board and now it work.
(I have added two zener of 3,6V and changed input filter to 2.2kOhms and 4,7UF)

But now ... it's my USB to serial converter that don't want to work.

I have tried the command :
rombook:~ rom1$ tail -f /var/log/system.log
Dec 1 17:43:29 RomBook kernel[0]: USBF: 23820.140 AppleUSBUHCI[0x3863000]::UIMCheckForTimeouts Too many loops around
Dec 1 17:43:30 RomBook kernel[0]: USBF: 23821.140 AppleUSBUHCI[0x3863000]::UIMCheckForTimeouts Too many loops around
Dec 1 17:43:31 RomBook kernel[0]: USBF: 23822.140 AppleUSBUHCI[0x3863000]::UIMCheckForTimeouts Too many loops around

and so more.

Posted: Sat Dec 01, 2007 8:20 pm
by Guest
I have reboot the laptop and It's Ok now.

Thanks for help.