Atmega1280 JTAG mkII programming problems

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

I am using an Atmage1280-16AI 100-TQFP.
AVR Studio 4.12 SP4.

VCC is 3.3V on my board.

All JTAG connections are verified.

TDI - pin 90
TDO - pin 91
TMS - pin 92
TCK - pin 93
nSRST - pin 30
VTRef - pins 80,61,10,31,100 (VCC)
GND - pins 11,32,99,81,62 (GND)

I have the /reset tied to VCC through a 10k resistor and in series with a 0.1uF cap to GND. There is nothing connected to the other pins.

I cannot program the chip at all, I get failed to identify target.

Any ideas?

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

I just checked on a board with Atmega644PV running at 5 V and it worked okay.

Could the 3.3V be the problem?

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

Okay, I just tried 5 V and still have the same problem.

I also tried another chip too.

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

Can you ISP to check the fuses?

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

Do you have another device on the JTAG string? If so, you need to tell the AVRStudio programmer about it.

Oh, and what JTAG pod are you using to interface AVRStudio to JTAG? The only one that supports that CPU is the AVR JTAG ICE mkII -- there are no substitutes. (No fooling.)

Stu

Engineering seems to boil down to: Cheap. Fast. Good. Choose two. Sometimes choose only one.

Newbie? Be sure to read the thread Newbie? Start here!

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

Stu,

It's got to be a JTAGICEmkII as that's the only thing that would also have worked with the 644P he mentioned.

Cliff

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

found out the problem, I had a LPF on the JTAG line from an analog circuit. so the 0.1uF cap on the line caused the problem.

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

clawson wrote:
It's got to be a JTAGICEmkII as that's the only thing that would also have worked with the 644P he mentioned.
I had thought so, but we've seen others who slipped a mk I in on us. Just throwing out ideas.

Stu

Engineering seems to boil down to: Cheap. Fast. Good. Choose two. Sometimes choose only one.

Newbie? Be sure to read the thread Newbie? Start here!