Version 2.xx of STK500 protocol is toooooo slow (!!!)

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

Anyone knows why the "new" version v2.xx of STK500 protocol is so slow comparing to the previous versions v1.xx ???
... 5 (FIVE) times !!! :evil:

Real men don't use backups, they post their stuff on a public ftp server and let the rest of the world make copies.

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

It's very fast for me...but then again I have just bought an AVRISP and upgraded to V2 immediately. Check you clock frequency settings.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Quote:
Check you clock frequency settings.

Exactly where & how?

Real men don't use backups, they post their stuff on a public ftp server and let the rest of the world make copies.

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

In the "Board" page of the STK500/AVRISP program (Tools>Program AVR>Connect)

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

John... this is what I read:
- stk500 osc: 3.686 MHz;
- attainable: 3.686 MHz -> the same value, as you may see...
So... any ideas/options in order to improve the speed?
Thx in advance! :-)

Real men don't use backups, they post their stuff on a public ftp server and let the rest of the world make copies.

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

You might need to increase the ISP Freq. (it's also on the Board tab).

/Lars

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

Remember (it says also on the Board tab) that the ISP frequency can only be a maximum of 1/4 your clock frequency. I have mine (AVRISP) set at the 230 KHz setting as pretty much all the new chips come with the internal oscillator set at 1 MHz. Also be careful to enter ALL the zeros in your frequency setting as it is in Hz not MHz i.e. for 230HKZ enter 230000.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Well, mine clearly says:
- ISP freq. = 460.8 kHz (attainable = 460.8 kHz)
I know that 3.686 MHz / 4 = aprox. 921 kHz, but there is no such value in the related combo-box... (from 115.2 it skips directly to 460.8 ).
Anyway, it worked fine with these very settings before (v1.xx of stk500 protocol) and I just can't imagine why with v2.xx the speed is 5 times slower.

Real men don't use backups, they post their stuff on a public ftp server and let the rest of the world make copies.

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

Quote:
- ISP freq. = 460.8 kHz

I'm out of ideas, with the AVRISP (Not STK500) I get the ISP frequencies of 4KHz, 28.8KHz, 230.4KHZ and 921.6KHz so there must be some differences between the SKT500 and the AVRISP.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Quote:
I'm out of ideas

Thx John! No problem... :-)
Who knows, maybe it is a bug?! :-(
I'll try to check further (I'll ask Atmel about this).

Real men don't use backups, they post their stuff on a public ftp server and let the rest of the world make copies.