AVRISP RS232 Programmer

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

I have an AVRISP programmer with an RS232 port. I keep as a backup should my AVRISP MKII USB fail.

When I click the connection dialog box and select AVRISP, and select the COM port, the PC connects to it. I'm able to read the Hardware version of the programmer, so the RS232 path is working.

However, the programmer window title shows
"STK500 in ISP mode" Instead of "AVRISP in ISP mode"
Any attempt to program or read status, fails.

Should the window show "AVRISP..."?
I suspect that either programming app is not selecting the right programmer, or the programmer is bad.

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

I have never owned an AVRISP-1

However, I believe that later versions of Studio4 did not handle the AVRISP-1 properly. Studio6 makes no attempt to support it.

However, avrdude.exe, IAR, Imagecraft, Codevision, ... should all work properly.

I believe that King John Samperi has an AVRISP-1
He should be able to give an authoritative answer.

David.

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

I just noticed that in the programmer window at the bottom there is a little status area. In there it reads:

Detecting on 'COM6'...
AVRISP with V2 firmware found on COM6
Getting revisions.. HW: 0x0f, SW Major: 0x02, SW Minor: 0x0a .. OK
Getting isp parameter.. SD=0x4c .. OK

Then when I attempt to read the signature bits:

Setting mode and device parameters.. OK!
Entering programming mode.. FAILED!
Leaving programming mode.. OK!

It appears that it is being detected correctly, despite the window title. This likely means that the programmer is toast.

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

Well, it looks as if you have upgraded the original AVRISP-1 to use stk500v2 protocol firmware.

I suggest that you use avrdude.exe if you want to know what is going on.

The most common reasons for 'failed connection' are:
1. not connecting target chip with the correct wires
2. not having a CLOCK for your target AVR
3. having the wrong SCK speed.

The obvious thing is to test a board with the AVRISP-2
Then try it with the AVRISP-1

David.

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

I use the AVRISP MK1 with AS4.18 without problems. (too poor to afford a AVRISP Mk2)

It shows "STK500 in ISP mode" but it works well, remember that the STK500 and the AVRISP are pretty much the same thing as far as the programming part anyway.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

From the AS4.19 "AVR Tools Help", the AVRISP-1 had its firmware updated:

Quote:
September 18th, 2006 - FW v02.0A

The STK500 also had its firmware updated at the same time. You seem to have the current firmware.

So I presume that both use stk500v2 protocol nowadays.

The 'older' Atmel tools were well built both mechanically and electrically.

So I bet your AVRISP-1 is in full working order.
Check the clock / wiring / speed of your AVR connection.

Note that a ribbon cable can fail after a lot of flexing. Just replace it.

David.