I am able to build avrdude and avarice under Mac OS X Lion, with libusb-1.0 git HEAD and libusb-compat-0.1.3. No issue here with my limited tests.
I am using the Homebrew formula from nedos. It is a bit tricky to build binutils, so I also use his binutils formula. https://github.com/nedos/homebrew/blob/avarice/Library/Formula/avarice.rb https://github.com/nedos/homebrew/blob/binutils/Library/Formula/binutils.rb (need the --with-libiberty and --with-bfd) I do not need his avrdude patch with my AVR Dragon. https://github.com/nedos/homebrew/blob/avrdude/Library/Formula/avrdude.rb Xiaofans-Mac-mini:avrdude_test xiaofanc$ avarice --dragon -j usb -d -P USB1287 -v -f ./USBKEY-series6-ms_df.elf :4242 AVaRICE version 2.12svn20111212, Dec 28 2011 22:37:34 Defaulting JTAG bitrate to 250 kHz. Found JTAG ICE, serno: 00A200001487 JTAG config starting. Attempting synchronisation at bitrate 19200 command[0x01, 1]: 01 recv: 0x1b recv: 0x00 recv: 0x00 recv: 0x1a recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 26 bytes read: 86 01 ff 0e 07 01 ff 0e 07 02 00 a2 00 00 14 87 41 56 52 44 52 41 47 4f 4e 00 recv: 0x8c recv: 0xd5 CRC OK Got message seqno 0 (command_sequence == 0) response: 86 01 FF 0E 07 01 FF 0E 07 02 00 A2 00 00 14 87 41 56 52 44 52 41 47 4F 4E 00 Found a device: AVRDRAGON Serial number: 00:a2:00:00:14:87 JTAG ICE mkII sign-on message: Communications protocol version: 1 M_MCU: boot-loader FW version: 255 firmware version: 7.14 hardware version: 1 S_MCU: boot-loader FW version: 255 firmware version: 7.14 hardware version: 2 command[0x02, 1]: 02 03 01 recv: 0x1b recv: 0x01 recv: 0x00 recv: 0x01 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 1 bytes read: 80 recv: 0xcd recv: 0x83 CRC OK Got message seqno 1 (command_sequence == 1) response: 80 command[0x0a, 1]: 0A 01 recv: 0x1b recv: 0x02 recv: 0x00 recv: 0x01 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 1 bytes read: 80 recv: 0x1d recv: 0x09 CRC OK Got message seqno 2 (command_sequence == 2) response: 80 recv: 0x1b recv: 0xff recv: 0xff recv: 0x06 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 6 bytes read: e0 00 00 00 00 00 recv: 0x4e recv: 0x2d CRC OKAutomatic device detection: command[0x03, 1]: 03 0E recv: 0x1b recv: 0x03 recv: 0x00 recv: 0x05 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 5 bytes read: 81 3f 20 78 09 recv: 0x48 recv: 0xb4 CRC OK Got message seqno 3 (command_sequence == 3) response: 81 3F 20 78 09 JTAG id = 0x978203F : Ver = 0x0 : Device = 0x9782 : Manuf = 0x1f Reported JTAG device ID: 0x9782 Looking for device: USB1287 No configuration available for device ID: 9782 command[0x23, 1]: 23 recv: 0x1b recv: 0x04 recv: 0x00 recv: 0x01 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 1 bytes read: 80 recv: 0xac recv: 0x14 CRC OK Got message seqno 4 (command_sequence == 4) response: 80 command[0x00, 1]: 00 recv: 0x1b recv: 0x05 recv: 0x00 recv: 0x01 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 1 bytes read: 80 recv: 0x13 recv: 0x95 CRC OK Got message seqno 5 (command_sequence == 5) response: 80 -- Xiaofan _______________________________________________ avrdude-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avrdude-dev
