Pages: [1]   Go Down
Author Topic: usbasp programmer - warning: cannot set sck period  (Read 6366 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

i am trying to burn a bootloader to a atmega168 with the arduino IDE under ubuntu 10.10
As programmer i have a usbasp. I added the programmer to arduino
Code:
usbasp.name=USBasp
usbasp.communication=usb
usbasp.protocol=usbasp
The board is selfdeveloped, but it is a default atmeag8 with a ISP connecter like usual, nothing strange here, I alredy programmed it this way
When i try to flash the bootloader i get an error:
Code:
avrdude: warning: cannot set sck period. please check for usbasp firmware update
avrdude: warning: cannot set sck period. please check for usbasp firmware update
avrdude: warning: cannot set sck period. please check for usbasp firmware update
avrdude: warning: cannot set sck period. please check for usbasp firmware update
in the terminal. Then the programmer LED is on for about a minute and in the end i get the message in the arduino integrate terminal as well
I tried it with and without the speed regulation pin on the programmer, doesnt work either way. I have two of the boards and two programmers, so it should not be a hardware problem

any ideas?

EDIT:

when i burn the flash directly from avrdude it works fine:
avrdude -p m168 -c usbasp -P usb -U flash:w:ATmegaBOOT_168.hex

seems to be some communication problem between avrdude and the arduino ide
« Last Edit: March 18, 2011, 01:53:04 pm by goaran » Logged

Norman, OK, USA!
Offline Offline
Full Member
***
Karma: 0
Posts: 127
Klingon Machinist
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a similar USBasp and I get the same messages. I've been told it's nothing to worry about.

So I don't worry and just burn my sketches...  smiley-roll
Logged

M.S.

0
Offline Offline
God Member
*****
Karma: 0
Posts: 593
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

if you read the usbasp source code, there's no command to set the sck period, it's done through a jumper instead
Logged

Freelance engineer, consultant, contractor. Graduated from UW in 2013.

Pages: [1]   Go Up
Jump to: