Sun 12 Mar 2017 01:03:02 AM UTC, original submission:
I am using AVRISP MKII with latest LUFA firmware, and reading fails if I choose "immediate mode" for output file format :
sudo avrdude -v -c avrispmkII -p m1284p -B 100 -U flash:r:output.bin:m
However, it reads okay if I select some other output file formats: raw (r), hex (i), moto (s) . Sadly, even at max verbosity levels (-vvvvvv....) I can't get more output information than:
Reading | ################################################## | 100% 431.89s
avrdude: writing output file "output.bin"
avrdude: fileio: invalid operation=1
avrdude: write to file 'output.bin' failed
then it exists with FUSES OK and tells "Thank you".
Why I am getting this problem, and how it could be fixed?
P.S. same problem happens with other memory types, not just flash: also, eeprom, fuses memory, etc., so this problem is not memory dependent. Instead, it depends ONLY on output file format, immediate mode = fail
|