Automatic Software Controlled Clock, Jumper-Free, USBasp

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

As you may already know, USBasp is a free open-source USB-based ISP programmer for Atmel"¹s AVR microcontrollers.

It uses a high speed clock for programming so AVRs with clock frequencies lower than 1.5MHz can not be programmed unless USBasp lowers its clock.

This decrease in speed can be done by a jumper connected to PC2 which its designator in schematic is JP3(Slow SCK).Automatic Software Controlled Clock Jumper Free USBasp ATmega8 2011-05-28

So for every new AVR which has an internal 1MHz RC oscillator the jumper must be set and after fuse bit configuration the jumper must reset for high speed operation.

This may be annoying and confusing for some people and I don't know the reason of using this way.

I have changed the code of USBasp for automatic software controlled SCK option to support targets with low clock speed(< 1.5MHz) and there's no need to JP3(Slow SCK Jumper) anymore!

Just download the HEX file and program it to a NEW ATmega8, config fuses with HFUSE=0xC9 LFUSE=0xEF, and check it!

If you find any bugs please report it!
http://automasys.wordpress.com/2...

پروژه الکترونیک میکروکنترلر اتوماسیون صنعتی ARM AVR LPC STM32 dsPIC 8051

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

Hi, I would like to use fast programing on this usbasp http://msx-elektronika.pl/en/usbasp-avr

Can I do it via above suggestion? Btw I am programming at tiny, which is by default 1Mhz!

Best.

Bravo!!!

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

mu234 wrote:
Can I do it via above suggestion?
You need to do ISP on the chip on your own USBAsp to change the code. For this you need another ISP programmer. Some folks have been known to use an Arduino for this - there's a sketch you can load that turns it into an ISP programmers. Failing that you probably need a second USBAsp.

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

Don't all of the Chinese USBasp's do this already?  

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274

 

 

 

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

Indeed they do. It's only the original German ones that use the Fischl software that does not do this.

 

@MU234 you might want to check whether you already have software that auto-adapts or maybe that responds to -B before doing anything as drastic as reprogramming a USBAsp

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

Pololu USB AVR Programmer v2.1 is less expensive than that specific USBasp but Pololu doesn't have zero price shipping to Poland; Pololu has five distributors in Poland.

 

Pololu - 5.2.1. Faster programming with F5 in Atmel Studio

Pololu - Distributors

 

"Dare to be naïve." - Buckminster Fuller