Programmer Problem.....

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

Hello...

I'm using a programmer has these settings:

AVR chip programmer type:kanada systems stk200+/300
printer port:LPT1:378h
delay multiplier:1
[you can see these settings in code vision : settings>programmer]
74HC245.

I can program the chip just 2 times , and after that it can't detect the chip.!!!

I'm sure that the settings are true because when I use another chip I can program it easily.

1)Is there a problem in the programmer or is there a solution ?
2) Did the chips get damaged totally or there is a way to repair them .

Thanks in advance.. :( :cry:

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

Most likely the chips are fine.

You have programmed the wrong fuses.
You must supply an external clock and try to read signature.

David.

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

This is the time when its great to have an STK500... pop it in the socket and hit the erase button

Imagecraft compiler user

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

I would think that this should be posted to Kanda. They take people's money and should support their rubbish not us!!

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

An STK500 is defenitely worth the price.

John, Ponyprog is free software.

For ia17348: like David said, you programmed the fuses wrong. The "sleeping" chips expect now an exter clock on Xtal1. If you provide it with a appr. 1MHz clock, you can correct the error.
For the improved version of the STK200-programmer (with the 74HC244 :) ), have a look here: http://www.aplomb.nl/TechStuff/PPPD/PPPD%20English.html
In the topsection of that page you'll find a link to Kanda as well. Their programming software is an alternative for Ponyprog.

Nard

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

Hello...

Quote:
I'm sure that the settings are true because when I use another chip I can program it easily.

If we suppose that I used wrong fuse bits settings,I can't detect the chip again ...
What's the way to re-detect the chip ????

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

Quote:
The "sleeping" chips expect now an external clock on Xtal1. If you provide it with a appr. 1MHz clock, you can correct the error.

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

Thank you very very much...

Quote:
You must supply an external clock and try to read signature.

Quote:
The "sleeping" chips expect now an exter clock on Xtal1. If you provide it with a appr. 1MHz clock, you can correct the error

I used an external Xtal and everything went well...:lol: :lol:

But why do the chips have that state after a wrong fuse bits settings???

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

You answered your own question...
You entered the "wrong" fuse settings.

The chips can run from an internal RC oscillator.

The chips can run from an external Crystal, (or resonator).

The chips can run from an external clock signal.

Whichever source you have told it to utilize had better be present, or it won't run.

If you inadvertantly select an external clock source and do not have one, you can use high voltage parallel programming to talk to the chip, and reset the fuses as desire.

Glad to hear you got it working again.

JC

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

Quote:

If you inadvertantly select an external clock source and do not have one, you can use high voltage parallel programming to talk to the chip, and reset the fuses as desire.

I used a parallel programmer (TOP2004) , by this steps:
1)Read fuse bits /from a good chip/.
2)Program fuse bits /for the "damaged" chip/.
but it didn't work!!!!

Do you have any tips for this operation...

Isam

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

Does your programmer support ISP or "High Voltage Programming" ?

You most likely need to either isert an external clock signal into your uC, or use HVP.

There are numerous threads on both of these topics, use the search function on the forum to look about.

JC

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

Quote:
John, Ponyprog is free software.
But the programmer
Quote:
AVR chip programmer type:kanada systems stk200+/300
is not, correct?

Kanda should provide their own driver software and SUPPORT IT.

Or has the OP only copied the programmer? :?

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

John, Kanda does support the programmer: before Feb 2008 only to those who purchased an STK200 board, which comes with the Parallel Port Programmer. Which is fair IMO.
Many AVR-beginners built and build their own Parallel Port Programmer, and use (and used) it with avrdude or Ponyprog. And you know this for longer than I do: it causes a lot of frustration. If the newbie is not aware that a programmed fuse = 0, the s*%t starts.
And then there is the ringing thingie, as described here:
https://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=36591

I know, you use short programming (and JTAG) cables .... I like the longer ones.

Cherio :)

Nard

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