ISP parallel problem

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

Hi,

I have this problem:
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1

So, I try avrdude with -vvvv to get more stuff, and it always gives response FF enven when I connect MISO to MOSI or even gounding it.

What could be the problem?

Thanks

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

Looks like R37 may be the wrong value.

(sorry but this is the standard facetious answer here - usually in the form "it's the semi-colon on line 37" in fact - for saying "you need to provide more info or all we can do is guess").

Another guess for you - an AVR clocking problem - the AVR has to be clocked for ISP to work and the ISP SCK has ot be lower than 1/4 F_CPU

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

But I connected MISO directly to ground, and i'm sure the circuit is ok, tryed various and all lead to the same, getting FF at response, can it be damaged parallel port, problem with drivers or something like it?

I'll see if I can use an osciloscope to see the lines, I just need to get admin login to install giveio...

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

Quote:

But I connected MISO directly to ground,

I'm curious - what was the intention of that? Both MOSI and MISO are involved in ISP - if one is tied to a rail it won't work.

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

Because I keep getting FF at response, so I remove ISP connections from the board where the avr is and I just connected it like that to see if I would get 00 ate response, but I didn't...

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

Quote:
Because I keep getting FF at response, so I remove ISP connections from the board where the avr is and I just connected it like that to see if I would get 00 ate response, but I didn't...

So there is something else not right.
I guess you're using a parallel port programmer. Have a look at the webpage in my signature.
And if you come back here with a question, please be so kind to tell us what the heck you're doing. In other words: be more specific !

A GIF is worth a thousend words   They are called Rosa, Sylvia, Tricia, and Ulyana. You can find them https://www.linuxmint.com/

Dragon broken ? http://aplomb.nl/TechStuff/Dragon/Dragon.html for how-to-fix tips

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

Sorry, I asked the same question on a topic already specified so when I created this one I forgot to specify...

I've already seen that link, I will now try that parallel program to see if I can figure something out...

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

Problem solved :P

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

And what was the problem ?

A GIF is worth a thousend words   They are called Rosa, Sylvia, Tricia, and Ulyana. You can find them https://www.linuxmint.com/

Dragon broken ? http://aplomb.nl/TechStuff/Dragon/Dragon.html for how-to-fix tips

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

Parallel port problem I guess, I did a lot of stuff tryin and when I changed the configuration pin of avrdude to another I then noticed pin 10 was 0 and then I put again 10 and it worked. That parallel port program viewer really helped :)

Thanks