atmega328p programming problem with avrdude

I’ve tried to compile and program with avrdude, but there is some problem

The environment is ubuntu 14.04,
Hardware is chipwhisperer capture rev.2 (REV 2.1)

In the folder:

After modifying the makefile and compile,
it shows up the error message when avrdude programming:

avrdude -p m328p -P usb -c jtag2isp -F -U flash:w:simpleserial-aes.hex
avrdude: usbdev_open(): did not find any USB device “usb”

Does anybody know how to solve the problem?


The device appears as an ISP Mk2, so you should be specifying a “avrisp2” instead of “jtag2isp”. Does it detect the device then?