avrdude -c atmelice_isp -p m328p -U flash:w:debug.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "debug.hex"
avrdude: input file debug.hex auto detected as Intel Hex
avrdude: writing flash (3074 bytes):
Writing | ################################################## | 100% 12.57s
avrdude: 3074 bytes of flash written
avrdude: verifying flash memory against debug.hex:
avrdude: load data flash data from input file debug.hex:
avrdude: input file debug.hex auto detected as Intel Hex
avrdude: input file debug.hex contains 3074 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 13.06s
avrdude: verifying ...
avrdude: 3074 bytes of flash verified
avrdude: safemode: Fuses OK (E:FF, H:D9, L:E0)
avrdude done. Thank you.
As requested, here is the output of avrdude, and I am using an Atmel-ICE