Ubuntu/AVR tried and lazy,, i guess

Yes it’s late, and I am tired… I have been unable to get the “Pocket AVR Programmer” to work, and I am just not understanding how to install and use USBTiny.

I can’t even understand, at this time, what USBTiny is… is it a device that should show up in /dev/?. is it an executable that is executed by avrdude…

I feel old, tired, and lazy…

Anyway… Can anyone recommend a programmer for AVR microcontrollers? Maybe FTDI or just RS232 interface?

Something that I can plug in to my host computer (Ubuntu) and allow me to use avrdude to program AVR micros with…

Thanks, sorry for whining…

The $35 Atmel AVR ISPmk2 works great using avrdude on Linux.

The related [product page mentions problems with Linux and OS X.

However, basically the pocket programmer behaves like another ISP, namely the USBtiny (which works perfectly out of the box, btw). All you have to do is to make sure that your wiring is correct, i.e. in particular the wiring from the programmer to the device featuring your ATmega.

Once you plugin your programmer into your computer, you should be able to determine which USB device you need to access by using, for example, “lsusb”.

Then, and at first without programming anything, you can try if your programmer is able to successfully connect to your device, by typing something like this:

avrdude -p YOUR_UC -c usbtiny -P YOUR_USB_DEVICE -v -t

Naturally, you’ll have to replace YOUR_UC with your corresponding microcontroller’s type, for example “m168” in case you were using an ATmega168, as well as YOUR_USB_DEVICE with the corresponding device. Perhaps also replacing YOUR_USB_DEVICE with just “usb” could do the job. Go ahead and give it a shot.](http://www.sparkfun.com/commerce/product_info.php?products_id=9231)

theatrus, Thanks, I will order one of those…

lehmanna, Thanks, I thought USBTiny was a driver or other type of software interface between avrdude and the USB connection to the computer.

Anyway it does not show up with lsusb command, so i might try a usb hub as some have recommended.

I bought a $5 USB router and it all works now…

That’s weird :slight_smile: So, as long as you plug in the device directly it won’t work, yet when you plug it in the hub, it will? I think I might have even read of something like that somewhere before…