bugAVR Downloader/UploaDEr - Bugs: bug #50517, Reading fails if "immediate...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #50517: Reading fails if "immediate mode" for output file format is selected - fileio: invalid operation=1

Submitted by:  Hey Duds <heyduds1>
Submitted on:  Sun 12 Mar 2017 01:03:02 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: Hey Duds
Open/Closed: OpenRelease: 6.3
Programmer hardware: AVRISP MKII latest LUFA firmwareDevice type: Atmega M1284P

Sun 12 Mar 2017 08:59:08 AM UTC, comment #1:

Well, "immediate mode" means that instead of providing a filename, you provide the actual data тик which can only be a single byte.

For output, immediate mode doesn't make any sense at all.

I'm leaving the bug report open, as for writing, it should
simply tell that immediate mode is illegal.

Joerg Wunsch <joerg_wunsch>
Project Administrator
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

Hey Duds <heyduds1>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by heyduds1 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 12 Mar 2017 08:59:08 AM UTCjoerg_wunschStatusNone=>Invalid

    Back to the top


    Powered by Savane 3.1-cleanup1