Go Down

Topic: avrisp mkii (Read 2 times) previous topic - next topic

drh

Apr 08, 2006, 03:37 am Last Edit: Apr 08, 2006, 08:23 pm by drh Reason: 1
Has anyone had any success using AVRISP mkii on Mac OS X to burn the Arduino bootloader? Is it possible? I can't find any mention of drivers for Mac and it doesn't show up in /dev so I don't know how to address it in the burn script.

Thanks,
Damon

P.S. I'm having similar problems attempting it on PC, but I have no idea what I'm doing on PC anyway.

drh

#1
Apr 08, 2006, 10:29 pm Last Edit: Apr 08, 2006, 10:29 pm by drh Reason: 1
OK, I finally got the bootloader to burn using avrdude instead of the burn script in the Arduino package. I have to run off, but I'll post detailed instructions later since it may be helpful to others.

Damon

tigoe

Please do post your results. I haven't had any luck getting the AVRISP Mk II (USB version) working on my mac yet.

gck

hey, I'd also be pretty interested in how you got the avrisp mkii working with the mac...

here's what I got so far: I'm running Tiger and installed libusb from darwinports. When I tried to also install avrdude that way, darwinports complained about mismatching md5 sums, so I downloaded avrdude 5.1 from the official archive and built it manually, linking against the libusb from darwinports (libusb support is definitely compiled in now since I can see it's loading libusb dynamically (one can check using 'otool')).

anyways, when I pass '-P usb' to avrdude, it says

avrdude: usbdev_open(): did not find any USB device "usb"

even though the avrisp2 is connected to USB, the plug is connected to the Arduino board and the board is powered externally from a wall wart. I managed to upload the new 1k bootloader to my boards using avrstudio on windows, but I would greatly prefer to get it working on the mac...

please please post how you got it working  ;)

mehel

I am running on 10.4 and compiling everything (avrdude, gcc, libusb) myself worked well.

There is kind of a good intro here:
http://www.eecs.berkeley.edu/~mseeman/resources/macmicro.html#serial

The AVRISP mk II also works without any problems using the -P usb option.

-mj


Go Up