go_away

Author Topic: $50 Robot; Servo Hex File Question.  (Read 1175 times)

0 Members and 1 Guest are viewing this topic.

Offline Dr_WormTopic starter

  • Jr. Member
  • **
  • Posts: 19
  • Helpful? 0
$50 Robot; Servo Hex File Question.
« on: September 02, 2009, 12:04:37 PM »
I'm using the AVR MkII programmer with AVR Studio with the Atmega328p. The software for the 50 dollar robot uploads to the chip successfully but when I tried to upload the hex file that was provided in the servo tutorial, AVR Studio tells me "ISP frequency must be 5 kHz or above when programming EEPROM or FLASH". So I suppose my question is what should I set the ISP frequency at? It's currently set at 1.049kHz.

Edit: Nevermind, I figured out what I was doing wrong, I needed to set it to 125 kHz as airman00's tutorial said, and I needed to charge my batteries again. :-\ Sorry for the spam.
« Last Edit: September 02, 2009, 03:35:10 PM by Dr_Worm »

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,585
  • Helpful? 169
    • Society of Robots
Re: $50 Robot; Servo Hex File Question.
« Reply #1 on: September 05, 2009, 06:20:10 AM »
Well, it just needs to be 1/4th your clock frequency.

Your Atmega328p should be 1MHz by default, so that'll be 250kHz. By playing with fuses you can get the clock to 8MHz (but of course, DO NOT change fuses unless you know what you are doing).

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
2559 Views
Last post August 02, 2007, 06:58:37 AM
by Admin
3 Replies
1425 Views
Last post March 06, 2008, 09:29:32 PM
by goatfish
17 Replies
3918 Views
Last post December 26, 2010, 02:20:08 PM
by VegaObscura
4 Replies
1174 Views
Last post October 14, 2009, 10:18:32 AM
by Pierre


Get Your Ad Here