"Reading device ID......Failed!" Help?

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

Hello there,
I'm not very professional at programming a microcontroller, so be patient with me please :)

As the subject shows i get this bloody error, when trying to read the device signature.
Following error shows up when i try it or click on "fuse bits" with atmel studio 6 through the avrisp mk2:

"Unable to enter programming mode. The read device ID does not match the selected device or any other supported devices.

Please verify device selection, interface settings, target power and connections to the target device."

Further it shows me also this little friend here in the console:
"[ERROR] Unexpected signature 0x00000102 (expected 0x001e9307)., ModuleName: TCF (TCF command: Device:startSession failed.)"

Anyone an idea how to solve it?
Ah yes, my uC is an atmega 8...
AND it reads the voltage (5V)

Thank you

Last Edited: Wed. Oct 21, 2015 - 12:18 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Welcome to the Forum.

Try slowing down the speed of the connection.

JC

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

You mean the ISP Clock?
Tryied already, but no success...
Other ideas?
Do you need more details about the circuit or something??

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

Is this a commercially built board, a kit, or something you built yourself?

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA https://sites.google.com/site/or...

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

not myself... but with buddys^^
but the circuit should be correctly, there is all the time current and all of this...

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

But if you have a bad MOSI or MISO connection, or the ISP clock connection is bad or the chip is not being put into reset properly ....

All of these things can keep ISP from working.Time to break out the oscilloscope and do some real trouble-shooting. Something more than "help, it doesn't work".

Oh, and do not forget THE BIG thing - you HAVE TO have an operating CPU clock.

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA https://sites.google.com/site/or...

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

How about posting a schematic diagram and a photo of the PCB.

If you use the PREVIEW button you will see a box to browse for the images and add them to the post.

JC

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

what do you mean with operating cpu clock? Could you explain me this word? (I'm italian, so my englisch is pretty bad...)

I will post the full schematic and pictures of the breadboard tomorrow, don't have much time now.

Thank you all for your responses and your interest in my problems :))

EDIT:
News guys: I tried another microcontroller, also ATMEGA8, and at first, when i read the signature it worked, but as i tryied reading the fusebits it showed me my old problem again.
Maybe this helps you with your diagnoses...

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

Ok so, i do'nt know exactly what i did, but now it works, i'm able to program the controller (so the id does work)...
Now theres another problem, but i'll be able to handle this on my own ... at least i think so^^

Thank you for your time and interest in my problem and have a nice day :))

Auron

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

Can you please post the solution? i have the same Problem!

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

ingeea wrote:

Can you please post the solution? i have the same Problem!

 

Do you really think that this guy is still here after not posting a thing for nearly 3 years?

 

My guess is that s/he finally worked out the impact of setting the fuses correctly.

Ross McKenzie ValuSoft Melbourne Australia

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

Hello here is the link for my Problem! http://www.avrfreaks.net/forum/avrisp-mkii-works-atiny13-not-atmega664p-0

in my case i can not modify the fuses! "reading Device ID failed" i have really tried and i can't find a solution, it works fine with ATtiny13 and i don't know why it doesn't work with an Atmega664p, i have tried with 4 Atmega!! I don't think that they are all defective. here is a screenshot!!

Any Suggestion please?

 

*Yes! Do NOT duplicate your requests for help!. Moderator*

Attachment(s): 

Last Edited: Wed. Oct 21, 2015 - 12:18 PM
Topic locked