Problem using ISP on stk500

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

I have an stk500 that works fine when programming chips that are placed on the board. However, now that I am attempting to program an atmega32 (TQFP/MLF version) by hooking the isp10pin connector to my custom pcb, it gives an error in avr studio.

The error is pretty generic and says "a problem occurred when executing the command. make sure that you are using the correct programming method. current mode is ISP. See the command output for more info."

I've checked the connectivity, and MOSI, RST, SCK, MISO, VTG, and GND are all connected to the correct places on the chip and on the 10 pin header. No other components are connected to the chip at this time.

I do not have power connected to the chip. I do have the VTARGET jumper set on the stk500.

Am I doing something wrong? Are other components needed for ISP to work properly?

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

Quote:
No other components are connected to the chip at this time.
You should probably have at least some 0.1 uF caps between VCC and GND near each power pin of the AVR.

Also, make sure you have connected AVCC in addition to VCC as well as each GND pin.

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

Are you using the internal oscillator or an external source? I believe you need a clock source of at least 4X the ISP clock rate.