patchAVR Downloader/UploaDEr - Patches: patch #8444, Proposal for modifications in -B...


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

patch #8444: Proposal for modifications in -B and -U command options managment

Submitted by:  mauro <maurouniplan>
Submitted on:  Thu 01 May 2014 12:00:07 PM UTC  
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  Joerg Wunsch <joerg_wunsch> Open/Closed:  Closed

Sun 21 Jan 2018 10:48:11 PM UTC, comment #1:

Option 1) is currently too much effort compared to the benefit.
It would require many structural changes in the code.

I don't say it cannot be done, but I wouldn't want to spend any
time in such a large change myself. So if someone really feels
like implementing it, she might propose an actual patch. :)

Option 2), I just committed a fix in r1425. Surprisingly, the
documentation always claimed that the format of output files
defaulted to "raw binary", yet it's not been implemented that
way. ;-)

Option 3): the code is right, "par.c" is the only programmer
taking care about what has been specified with -E. All other
programmer implementations just ignore it (by now).

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Thu 01 May 2014 12:00:07 PM UTC, original submission:


I am new in using AVRDUDE.
I am using it with avrispmkII programmer.

I found out two features I think can be useful.

1) about the -B option [ISP-frequence settings]
I realized that avrdude just considers the last occurrence
of the option, but it can be very useful to have a dynamic
I mean, for example, a command like

.... -B 8 -U:.:w.... -B 1 -U:.:w....

where I would like to use a lower frequence for the first write
and a higher frequence for the second write.

I need it in order to upgrade fuses in the first write
satisfying the 1/4 MCU frequence bound
and then speeding up before the ROM upload.

2) about -U option, I think it would be better
to use a non-":a" format as default in case of read operations
necause it does not make sense.
Really, I had other troubles in using -U:<memory>:r case
and for the moment I gave up, I will just use write.

A Minor comment is about :

-E option determines a warning, according to the documentation
which states it can be used just with JTAG ICE,
but really it appears working [at least for the case "-E noreset"
I needed].

mauro <maurouniplan>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-21 joerg_wunsch StatusNone => Done
        Assigned toNone => joerg_wunsch
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.3