Author Topic: New AVR MKII Tutorial  (Read 4491 times)

0 Members and 1 Guest are viewing this topic.

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
New AVR MKII Tutorial
« on: January 23, 2009, 08:52:04 AM »
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline yerbie

  • Full Member
  • ***
  • Posts: 62
  • Helpful? 3
Re: New AVR MKII Tutorial
« Reply #1 on: January 23, 2009, 09:41:31 AM »
great tutorial airman00!

BTW, i'm using vista x64 with the AVRISP mkII and AVRStudio 4.15 without any issues.

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: New AVR MKII Tutorial
« Reply #2 on: January 23, 2009, 10:40:06 AM »
BTW, i'm using vista x64 with the AVRISP mkII and AVRStudio 4.15 without any issues.
thats strange , I searched the forum and even spoke to some members and they all claimed to be having difficulties
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline yerbie

  • Full Member
  • ***
  • Posts: 62
  • Helpful? 3
Re: New AVR MKII Tutorial
« Reply #3 on: January 23, 2009, 11:00:23 AM »
i only had difficulties using avrdude with vista x64 because of the libusb drivers that came with winavr.  However, the avisp mkii worked perfectly with avrstudio4 with vista.

Offline pomprocker

  • Supreme Robot
  • *****
  • Posts: 1,431
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
    • Nerdcore - Programming, Electronics, Mechanics
Re: New AVR MKII Tutorial
« Reply #4 on: January 23, 2009, 02:06:19 PM »
I don't think you can use avrdude and winavr mkII drivers at the same time, one shows up as Jungo, and the other just shows up as USB in your device manager

Offline pomprocker

  • Supreme Robot
  • *****
  • Posts: 1,431
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
    • Nerdcore - Programming, Electronics, Mechanics
Re: New AVR MKII Tutorial
« Reply #5 on: January 23, 2009, 02:18:03 PM »
Please mention in your tutorial that you can use the mkII  programmer with the 2x5 header that some people originally soldered on their $50 robot board, if they buy or make an adapter:

http://www.sparkfun.com/commerce/product_info.php?products_id=9046
http://www.sparkfun.com/commerce/product_info.php?products_id=8508
http://www.sparkfun.com/commerce/product_info.php?products_id=8535

Offline yerbie

  • Full Member
  • ***
  • Posts: 62
  • Helpful? 3
Re: New AVR MKII Tutorial
« Reply #6 on: January 23, 2009, 03:56:20 PM »
Quote
I don't think you can use avrdude and winavr mkII drivers at the same time, one shows up as Jungo, and the other just shows up as USB in your device manager

Yes, I know that.  I uninstalled AVRStudio4 and also uninstalled Jungo, and tried to install the libusb, but it didnt let me because the libusb x64 drivers were not Vista signed. :(

Offline RoBoTicS

  • Full Member
  • ***
  • Posts: 80
  • Helpful? 0
  • Man is a robot with defects
Re: New AVR MKII Tutorial
« Reply #7 on: January 23, 2009, 05:57:43 PM »
awesome I like it

Offline yerbie

  • Full Member
  • ***
  • Posts: 62
  • Helpful? 3
Re: New AVR MKII Tutorial
« Reply #8 on: January 24, 2009, 10:13:57 AM »
Quote
Now verify that the device selected is indeed your device. Click the "Settings" button right above ISP Frequency, and set your ISP frequency to 125 kHz.

airman00, i'm surprised you are using 125 kHz.  It really should be based on speed of your clock right?  If your ATmega168 is running at 16 MHz, you can put the ISP to 2.0 MHz which is less than 1/4 of the frequency.  I find the 125 kHz is too slow in programming the chip.
Quote
It should be set to less than 1/4 of the Microcontroller's frequency , but I've found that around 1/8 of the microcontroller's frequency works best.
Even at 1/8 of the frequency, you can run at 1.0 MHz and still be ok.

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: New AVR MKII Tutorial
« Reply #9 on: January 24, 2009, 11:01:38 AM »
airman00, i'm surprised you are using 125 kHz.  It really should be based on speed of your clock right?  If your ATmega168 is running at 16 MHz, you can put the ISP to 2.0 MHz which is less than 1/4 of the frequency.  I find the 125 kHz is too slow in programming the chip.
No such thing as too slow for ISP frequency. 125khz will ALWAYS work , so I figured I might as well write 125khz so there won't be any confusion.
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

 

SMF spam blocked by CleanTalk