Flashing with AVRDude

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

Hey,

 

Currently im trying to flash my Attiny85 from RS (https://nl.rs-online.com/web/p/m...) with the AVRDUDESS tool that i found on AVRFreaks. However im receiving a message from AVRDude that the device has a strange signature.

>>>: avrdude -u -c usbasp -p t85 -B 0.5 -F 

avrdude.exe: set SCK frequency to 1500000 Hz
avrdude.exe: error: program enable: target doesn't answer. 1 
avrdude.exe: initialization failed, rc=-1
avrdude.exe: AVR device initialized and ready to accept instructions
avrdude.exe: Device signature = 0x6c6f63
avrdude.exe: Expected signature for ATtiny85 is 1E 93 0B

avrdude.exe done.  Thank you.

 

IMa6Zm8.png (731×818) (imgur.com)

 

 

 

I'm new to flashing with AVRDude. What might be the problem causing this issue?

 

 

 

 

 

This topic has a solution.
Last Edited: Tue. Jun 8, 2021 - 01:18 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Drwhoozy wrote:

I'm new to flashing with AVRDude. What might be the problem causing this issue?

 

Let's start with the obvious...what is your hardware setup? Show a schematic and a picture of your board.

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

By Default.

 

USBASP Module (USBISP, but they are the same: https://nl.aliexpress.com/item/1...)

 

Mosi (PB0)-> Mosi ISP

Miso (PB1)-> Miso ISP

SCK (PB2) -> SCK ISP

RESET (PB5) -> RESET ISP

GND -> GND ISP

VCC -> 5V ISP

 

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

My Flasher seems te be broken. Arduino ISP works......

 

Thanks!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
>>>: avrdude -u -c usbasp -p t85 -B 0.5 -F 

Never, NEVER use the -F flag.

avrdude.exe: initialization failed, rc=-1

this means what it says.

I suggest that you check your wiring carefully.   And try again.   If you still get the "failed" message,  post a clear photo of your wiring.

 

David.

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


Drwhoozy wrote:
I'm new to flashing with AVRDude.

Found this picture of the AVR dude flashing on the Internet.  Perhaps that will help...

 

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.