General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
-
chardson
- Posts: 5
- Joined: Tue Aug 07, 2007 10:42 am
Post
by chardson » Tue Aug 07, 2007 10:52 am
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
-
christian
- Objective Development

- Posts: 1443
- Joined: Thu Nov 09, 2006 11:46 am
Post
by christian » Wed Aug 08, 2007 4:07 pm
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.
-
chardson
- Posts: 5
- Joined: Tue Aug 07, 2007 10:42 am
Post
by chardson » Thu Aug 09, 2007 7:34 pm
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
-
chardson
- Posts: 5
- Joined: Tue Aug 07, 2007 10:42 am
Post
by chardson » Sat Aug 11, 2007 2:19 pm
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?
-
christian
- Objective Development

- Posts: 1443
- Joined: Thu Nov 09, 2006 11:46 am
Post
by christian » Mon Aug 13, 2007 12:32 pm
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.
-
chardson
- Posts: 5
- Joined: Tue Aug 07, 2007 10:42 am
Post
by chardson » Mon Aug 13, 2007 11:06 pm
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...

-
chardson
- Posts: 5
- Joined: Tue Aug 07, 2007 10:42 am
Post
by chardson » Wed Aug 22, 2007 1:50 pm
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
-
Rom1
Post
by Rom1 » Sat Dec 01, 2007 12:29 pm
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 ?
-
christian
- Objective Development

- Posts: 1443
- Joined: Thu Nov 09, 2006 11:46 am
Post
by christian » Sat Dec 01, 2007 1:40 pm
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.
-
Guest
Post
by Guest » Sat Dec 01, 2007 6:47 pm
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.
-
Guest
Post
by Guest » Sat Dec 01, 2007 8:20 pm
I have reboot the laptop and It's Ok now.
Thanks for help.