ISP problem

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

I am trying to use the STK500 to ISP a chip in an external circuit. I have connected vcc,gnd,mosi,miso,sck and rst to the appropriate pins on the ISP6PIN header on the board, but can't enter programming mode in AVR Studio. Is there something I've left out? All the docs I've read seem to say that this should be all you need to do in order to ISP. Only these six pins are connected all other pins are floating.

admin's test signature
 

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

Hello Nat,

Are you sourcing your application from the STK500 board? If not, make sure to remove the VTARGET jumper!

Morten, AVR tech. support, Atmel FAE

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

No, I'm letting the Stk-500 source everything. Chip is in a breadboard with only those six pins connected to it. All jumpers on the STK500 are mounted in their default positions.

admin's test signature
 

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

OK.

Then you should supply your breadboard from a different source. The Vcc pin is not meant to source anything big. In fact, the VTARGET jumper should only be closed when the the board itself is the target. When the jumper is closed, the STK500 programmer makes a voltage match for the ISP to be compatible. I see this is not very well specified in the STK500 manual, and will follow up this issue in the documentation on newer releases.

Morten, AVR tech. support, Atmel FAE

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

I had the same problem...
I had to use TRACE INTO (F11) and then I was able to program the memory to my board...
so what I do at this moment..
- I type my program...
- test it...
- TRACE INTO the code and the press the AVR STK 500 button....
- select FLASH: Use current Simulator/emulator FLASH memory
- and then the program button

works great...
maybe this is your solution too...