hello
I'm just opening a new thread, in case my follow up in this one (https://www.olimex.com/forum/index.php?topic=270.0) went unnoticed
I received my brand new OLIMEX AVR-ISP-MKII programmer two days ago
Since I'm working in linux, I have no Atmel FLIP utility.
Instead, I used 'dfu-programmer' to update the firmware.
After disconnecting the device, the yellow LED blinks for a long second, the RED led blinks for a fraction and then stays turned on. No green LEED anymore
Apparently, the firmware has been updatedm but when I reset the programmer, I don't see any /dev/ttyXXX device. avrdude always expects a /dev/ttyXXX device. So I'm stuck here.
I have set the firmware back to the AVR456-studio-AVRISP-MKII.hex file you provide still shows the same LED results.
How can I proceed ? Must I use Flip on Windows ? Is the programmer broken now ?
Thank you very much in advance
Rafael
FYI, This is what I typed
root@corvus:/home/desa# dfu-programmer at90usb162 erase --debug 6
target: at90usb162
chip_id: 0x2ffa
vendor_id: 0x03eb
command: erase
quiet: false
debug: 6
device_type: AVR
------ command specific below ------
validate: true
NOTE THAT I TYPED --suppress-bootloader-mem IN THE COMMAND BELOW AS A SAFETY MEASURE
root@corvus:/home/desa/firmware/olimex# dfu-programmer at90usb162 flash --suppress-bootloader-mem --debug 6 libUSB-AVRISP-MKII.hex
target: at90usb162
chip_id: 0x2ffa
vendor_id: 0x03eb
command: flash
quiet: false
debug: 6
device_type: AVR
------ command specific below ------
validate: true
hex file: libUSB-AVRISP-MKII.hex
Validating...
10288 bytes used (83.72%)
root@corvus:/home/desa/firmware/olimex#
dmesg after firmware update
[ 1975.488164] usb 2-1: USB disconnect, device number 19
[ 1979.448135] usb 2-1: new full-speed USB device number 20 using uhci_hcd
Ok, it turns ut that the whole process of seeting up the Arduino (Uno) was far mor complex.
The above command does work perfectly to flash the new firmware
dfu-programmer at90usb162 flash --debug 6 libUSB-AVRISP-MKII.hex
And then follow the recipe on
http://stackoverflow.com/questions/5412727/avrisp-mkii-doesnt-work-with-avrdude-in-linux
Last, but not least, do not forget to enable +5V supply from the AVR-ISP-MK2 and plug in the ISP 6-pin header :)
Greetings
Rafael