There seems to be a new compatibility issue with Mac OSX 10.7 and the USBASP. I had been using a USBASP successfully for several months. Programming with UNO, ATTiny, and ATMega's. When a Mac OSX update came out. After the update I could not find my USBASP in the Serial Port listed on the Arduino IDE. I went to terminal and searched the /dev/ with the command ls /dev/cu.* with no luck. When I went to the System info there it was showing up just fine.
USBasp:
Product ID: 0x05dc
Vendor ID: 0x16c0
Version: 1.02
Speed: Up to 1.5 Mb/sec
Manufacturer: www.fischl.de
Location ID: 0x1a200000 / 3
Current Available (mA): 500
Current Required (mA): Unknown (Device has not been configured)
I went on to try the USBASP on two other updated Mac's with the same results. I even went and bought a new USBASP maybe the one Im using got damaged, their cheap. Nope didnt work. Lastly I googled it and all I found were people with the same problem and no answers.
Hi, I got the same problem until I realized that it "just works". Select USBASP as the programmer in Arduino IDE and upload. I think it uses libusb internally so it is not listed as a regular usb device.
Hi, I had the same issue with an USBasp Tiny Programmer.
OS X Version 10.8.4
USBasp:
Product ID: 0x05dc
Vendor ID: 0x16c0
Version: 1.02
Speed: Up to 1.5 Mb/sec
Manufacturer: www.fischl.de
Location ID: 0x06200000 / 5
Current Available (mA): 500
Current Required (mA): Unknown (Device has not been configured)
Board Arduino Mega 2560
Tools > Burn Bootloader. After approx. 2-3 minutes I got these Error Messages:
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: verification error, first mismatch at byte 0x1e000
0xff != 0x0d
avrdude: verification error; content mismatch
But because the Arduino L LED had changed to blinking I tried to upload a sketch and wondering! it works.
Anyway what can I do to eliminate these error messages?
Hey,
Thats just the issue is it doesn't just work. I have now tried it on Four count it four different macs and it doesn't seem to create the cu. and tty. files in the dev directory,on the macs using 10.7 and 10.6. I've even used two different usbasp. It used to work just fine
Anyone that might have some guidance please help.
mrspriggs1:
Hey,
Thats just the issue is it doesn't just work. I have now tried it on Four count it four different macs and it doesn't seem to create the cu. and tty. files in the dev directory,on the macs using 10.7 and 10.6. I've even used two different usbasp. It used to work just fine
Anyone that might have some guidance please help.
That's right, you don't see any cu.* or tty.* and you don't have to define it in Arduino IDE, just select your board and click Tools > Burn Bootloader
Ok Thank you flurin for your help. But you dont know what your talking about. Arduino IDE requires a "Serial Port" to communicate with anything. Its not there when I plug the USBASP.
Okay, I well know that you need a port to upload a sketch. I only can tell you, I didn't select any port in order to be able to burn the Bootloader. Anyway is up to you to give it try!
After you've made these changes, you can burn sketches to the board with the normal upload button or menu item in the Arduino environment. The board needs to be powered, but you don't have to press the reset button before uploading.
You must specify which Arduino board you are using, but you do not have to specify a serial port (on Mac at least).
mrspriggs1:
Ok Thank you flurin for your help. But you dont know what your talking about. Arduino IDE requires a "Serial Port" to communicate with anything. Its not there when I plug the USBASP.
This is not correct.
The Arduino IDE does not require a Serial Port to be able to burn code into the flash.
You don't get any of the virtual com port devices because USBasp doesn't create nor use a virtual serial
interface. It use direct USB communication.
When using a native USB ISP programming device like AVR dragon, USBtiny, or USBasp, there is no
serial interface involved.
avrdude connects to and talks directly to the USB device. There is no virtual comm port
or serial data/messages involved.
You do have to specify your programmer in the IDE.
After that, you simply click "Burn Bootloader" to burn the bootloader.
When using a native USB ISP device there is no serial port.
The USB ISP device connects to the Arduino board by only using the ISP pins.
Sketches can also be uploaded without using a serial port or bootloader as well
when using a native USB ISP device like USBasp, USBtiny, AVR dragon, etc...
bperrybap:
...
You do have to specify your programmer in the IDE.
After that, you simply click "Burn Bootloader" to burn the bootloader.
When using a native USB ISP device there is no serial port.
The USB ISP device connects to the Arduino board by only using the ISP pins.
Sketches can also be uploaded without using a serial port or bootloader as well
when using a native USB ISP device like USBasp, USBtiny, AVR dragon, etc...
--- bill
Thanks bill for your comment.
As Arduino IDE uses avrdude to upload I also tried it. avrdude requires a port. Here is an example how to use it:
A workaround is just to plug in some serial device - like a FT232 adapter and then select that serial port. After that I am able to upload using the usbasp.
It only seems like the "Upload Using Programmer" option is affected, since I am able to upload the bootloader without this workaround.
Luckily I had such an adapter available (FT232RL USB to Serial adapter module USB TO RS232 Max232 for Arduino download | eBay). I tried it under Win7 and it worked. I then did the same under OS X 10.9.3 and it also worked 8) I have the USBASP connected to an ATtiny 2313 with the FT232 just plugged into the Mac, but not connected to anything else, and it works.
From the github issues, it looks like this was finally fixed in 1.5x a little less than 2 weeks ago.
So it should be fixed in the next 1.5x release.
You could try the latest 1.5x nightly build and see if it is fixed in that.
I am using "AtTiny USB" programmer (to bootload Uno). I faced these issues:
On putting the USB Cable, no port was detected under /dev/...
When I tried burning the bootloader using the Arduino IDE, I got:
"avrdude: ERROR: address 0x8010 out of range at line 33 of /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/bootloaders/optiboot/optiboot_atmega328.hex
avrdude: read from file '/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/bootloaders/optiboot/optiboot_atmega328.hex' failed
"
Looks like the problem was with "optiboot". I used CLI (terminal) to change the bootloader hex file - THAT SEEMS TO WORK!
Here are the two commands I tried to get it working.
Looks like to "burn the bootloader" you don't need the "port" option. However, I am still not able to load the BLINK program using the ISP-Programmer - though I can do it directly using USB on Uno (without the ISP programmer).
mrspriggs1:
Ok Thank you flurin for your help. But you dont know what your talking about. Arduino IDE requires a "Serial Port" to communicate with anything. Its not there when I plug the USBASP.
That's what you get for trying to help? What a shocker this spriggs dude is...
Your pointless comment is on a thread that went dead almost six years ago. Way to go.
This is the Internet. No one needs the kind of “help” you provided. Further, this is a help forum, not a comment board. Head over to bar sport if you just want to type pointless drivel. If we could take away karma points, your score would be into negative numbers.