Can not interact with Avrdude.exe (Output)

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi there,

 

i am trying to change the fuse bits of my atmega328p but failed at the following Interaction in the Output-Window:

 

avrdude.exe: safemode: lfuse changed! Was e2, and is now 62
Would you like this fuse to be changed back? [y/n] 

It does not react if i type in "n" or y".. I am using the usbasp programmer as you can see in the picture in the attachment.

I am changing the fuse bits in the argument line of usbasp:

 

avrdude -c usbasp -p atmega328 -U lfuse:w:0xE2:m   -U hfuse:w:0xD9:m  -U efuse:w:0xF7:m -U flash:w:$(ProjectDir)Debug\$(TargetName).hex:i

 

Would be great if you could help me out.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Not sure why it wants to interact like that, but it would have been better to show us your circuit, we all know what a USBasp looks like.

 

Jim

 

 

(Possum Lodge oath) Quando omni flunkus, moritati.

"I thought growing old would take longer"

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

For me I would be more interested in seeing the environment the avrdude is being run in. I assume from the '\' in the command it is Windows not Linux?

 

If you run avrdude interactive\terminal mode (think that is -t ??) then does that work? Can you interact with it then? or is this a general stdin/stdout kind of problem?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I wanted to show you my jumper configuration.. Secondly I don't think that showing you my circuit helps you, it is definitely the configuration of the fuses which makes troubles (or the interaction)

 

Would it be possible to set the fuses in an other way?

 

Thanks !

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


Always good to crop photos to the area of interest.

 

What's this going on by the USB connector ??

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...