Hi Raffaele, This is not a gcc problem, but I'll try and point you in the right direction according to my abilities...
Perhaps you'd start by checking that avrispmkii is visible in System Profiler. I say this, because in your previous message, avrdude said it could not find any USB device named 'usb' (eh??!?) If it is, try starting avrdude without issuing it a command: avrdude -c avrispmkii -P usb -p atmega164p This does nearly nothing, but read the device signature. If that works, try... avrdude -c avrispmkii -P usb -p m88 -U lfuse:r:-:i This is a command that reads the low fuse bits of the target. It doesn't write any value and should work on any device. **NEVER EVER** use option -F! "Override" is only meant for Star Trek shows. -It is never ever necessary (and any information leading to using it should be removed from avrdude!) If you see that avrdude suggests using -F, you have an error somewhere. Here are some suggestions; they're not meant to be offending, they're just from my own experience... :) If this is a first run on this system, you might want to start with step 8 and 9... 1: Check the connections 2: Check the connections 3: After checking the connections, try following the wires, wire by wire, one at a time. 4: Measure using a multimeter, if the wires are connected correctly. 5: Check that you actually applied power to the microcontroller before attempting to program it. 6: Check that you have GND on pin 6 and VCC on pin 2 of the ISP connector. 7: Check that you specified the correct part. 8: Check that you can see the avrispmkii using System Profiler (choose "About this Mac", then "More Info", click USB in the list). 9: Check that you actually compiled avrdude with USB support. 10: Check the connections again. (usually, at this point, I find out that I wired the ISP incorrectly). You never have to specify a port number: You can't; USB is a "universal serial bus", which means it does not distinguish between ports, except on a very low level, usually not accessible by user software. Love, Jens >Hi, > >I'm tryning to use an atmega88 on mac, osx. My problem is to use the >usb device, my pc doesn't seem to read it. > That's the string(s( i get in the terminal. > >macbook-di-raffaele-de-vita:~ raffaeledevita$ avrdude -c avrispv2 -p >m88 -P usb -v -F > >avrdude: Version 5.11.1, compiled on Nov 8 2011 at 12:17:41 > Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ > Copyright (c) 2007-2009 Joerg Wunsch > > System wide configuration file is "/opt/local/etc/avrdude.conf" > User configuration file is "/Users/raffaeledevita/.avrduderc" > User configuration file does not exist or is not a regular >file, skipping > > Using Port : usb > Using Programmer : avrispv2 >avrdude: usbdev_open(): did not find any USB device "usb" > > >I believe i need to find the serialnumber of the usb port. if that's >right, how can i do that? > >Thank you, > >raffaele > > >_______________________________________________ >AVR-GCC-list mailing list >AVR-GCC-list@nongnu.org >https://lists.nongnu.org/mailman/listinfo/avr-gcc-list > _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list