I was trying to burn a Atmega328P with a JTAGICE mkII-CN programmer and AVRDUDE.
After give all permissions to the JTAGICE mkII (click here to learn how) I was receiving the follow error:
avrdude: usbdev_open(): did not find any USB device "usb"
The error was because I was using the wrong programmer on AVRDUDE. I replaced the programmer for "jtag2isp" and worked like a charm.
The final AVRDUDE command line still like this:
avrdude -C/media/Linux/arduino-1.6.5-r5/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -cjtag2isp -Pusb -Uflash:w:/media/Linux/arduino-1.6.5-r5/hardware/arduino/avr/bootloaders/atmega/ATmegaBOOT_168_atmega328_pro_8MHz.hex:i -Ulock:w:0x0F:m
Nenhum comentário:
Postar um comentário