ISP stopped working on my stk-500

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

I think i just blew my stk-500 ISP circuit :-(

I can't read fuses or anything , tried on several working boards.

I can speak to the stk500 , and i can even upload (upgrade) new firmware to the 908535 , and all status leds are normal + reset button works.

I haven't done any debugging yet , and hope it's not one of those small dual transistors. I would hate to fiddle with anything that small.

Vtarget is ok , and an allready programed MCU works fine in the stk-500.

I tried SPI on a STK-501 topmodule , and it works fine , but i can't read/program anything on the target.

Any hints ??

/Bingo

Ps: If everything fails ... Is the Dragon & STK-500 offer still on @ Digikey ??

Last Edited: Mon. Feb 26, 2007 - 09:43 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Do you know what you were doing when the STK500 stopped working?

Ben
-Using IAR (& ocasionally CodeVision)
0.7734
1101111011000000110111101101

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

BenG wrote:
Do you know what you were doing when the STK500 stopped working?

Well not really :oops:

It might have been quite some time ago , as i have been using JTAG on the stk-501.

But now i need to program some Mega8's

/Bingo

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

Did you debug/program the STK501 in-situ on the STK500. Could it be than when you setup the STK500 for debugging/programming by JTAG you changed some of the header connecters around?

I did something similar with my JTAG/STK500 setup. When I needed to just use the STK500 it took me ages to get the right connecters.

Ben
-Using IAR (& ocasionally CodeVision)
0.7734
1101111011000000110111101101

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

I have disconnected everything , and have just the standard jumpers on

I'm programming an off board rarget , and tried both the 6pin and the 10 pin programming cable with no luck.

/Bingo

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

Can you programm a on board target?

Ben
-Using IAR (& ocasionally CodeVision)
0.7734
1101111011000000110111101101

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

No i tried a M128 via the stk501 , no luck :-(

Edit: And i have removed the stk-501 before programming the off-board target :-)

/Bingo

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

Ok, so VTARGET is set correctly you say.

Does the target AVR have a valid clock? If it's looking for a crystal or oscillator, you need to set the OSC jumper accordingly. If using the internal RC oscillator, did you check to make sure the ISP speed is set to less than 1/4 of the clock?

Also make sure the programming mode is set to ISP Mode. I've panicked a few times after the programming mode was left on/reset to one of the parallel modes, or the ISP speed was set too high.

As a basic test, connect the ISP pins to the STK500's LEDs, set the ISP speed to the lowest possible and see if you can catch the LEDs twinkling.

- Dean :twisted:

Make Atmel Studio better with my free extensions. Open source and feedback welcome!

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

The target has its own 16mhz xtal , and i have also tried with a working m32 board.

I lowered ips speed to 115khz just to meet the 1mhz if internal osc was selected. I even tried at 4khz

No luck

I'll have to dig out my LSA :-(

/Bingo

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

abcminiuser wrote:
As a basic test, connect the ISP pins to the STK500's LEDs, set the ISP speed to the lowest possible and see if you can catch the LEDs twinkling.

- Dean :twisted:

That is such a brilliantly simple test - why have I never thought of that before? Thanks :-)

Ben
-Using IAR (& ocasionally CodeVision)
0.7734
1101111011000000110111101101

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

Just got my new STK-500 (Will debug the other one later)

2 Differences from the old one (New board dated 10-07-2006):

1: The Atmel 1200 is replaced with a Tiny2313V-10SI
2: The Atmel 90s8535 is replaced with an AtMega 8535I-8AJ

/Bingo