dead ATmega

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

hi
i think i hit program one too many times while trying to program my mega162 via jtag now i get an error saying "failed to identify target.would you like to try again with external reset enabled?" what do they mean with external reset enabled? ive also tried connecting via spi but that doesnt work either. did i fry my AVR or is there a way out of this?

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

ive actualy got it set up for an external 13.5MHz crystal, which is connected, but i think i was running it that way for a while since i was trying to flush out a timing issue. does runnng off the external clock generaly cause programming issues?

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

twidget2 wrote:
ive actualy got it set up for an external 13.5MHz crystal, which is connected, but i think i was running it that way for a while since i was trying to flush out a timing issue. does runnng off the external clock generaly cause programming issues?

External Clock is different from External Crystal. If you really have set the fuses for External Clock, then you need to provide an external clock at XTAL1. The external clock doesn't have to be anything fancy - a 555 oscillator or another AVR would work.

Don

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

think i may have found it. tried reconnecting and looked at the fuse bits and neither the jtag nor the spi enable bits were checked. that mean i have to get my hands on an HV programmer or is there a quick workaround?

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

Quote:

think i may have found it. tried reconnecting and looked at the fuse bits and neither the jtag nor the spi enable bits were checked.

think not. If the fuse bits are set as you described, then you couldn't have read the fuse bits. If you COULD read the fuse bits, then you could reset the fuse bits.

Lee

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.