View Single Post
Old 05-17-2014, 04:56 PM   #368 (permalink)
t vago
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,807

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 829
Thanked 708 Times in 456 Posts
How to add Pololu ISP programmer to Arduino IDE

To use the Pololu ISP programmer with the Arduino IDE to program the JBD MPGuino board using Tools | Programmer, open the programmers.txt file in your Arduino IDE installation. Not sure where Windows 7 or linux stores it, but it's at C:\Program Files\Arduino\hardware\arduino in Windows XP.

Add the following lines to the end of programmers.txt, then save it. Ensure that the Arduino IDE is not running while you make this edit.

Code:
avrispv2.name=AVR ISP v2
avrispv2.communication=serial
avrispv2.protocol=avrispv2
To add the JBD board as a valid option under Tools | Board in the Arduino IDE, add the following to the end of boards.txt, in the same location where programmers.txt is.

Code:
##############################################################

mpguino_jbd.name=20MHz MPGuino JellyBeanDriver board
mpguino_jbd.upload.using=avrispv2
mpguino_jbd.upload.protocol=arduino
mpguino_jbd.upload.maximum_size=32256
mpguino_jbd.upload.speed=115200
mpguino_jbd.bootloader.low_fuses=0xff
mpguino_jbd.bootloader.high_fuses=0xde
mpguino_jbd.bootloader.extended_fuses=0x05
mpguino_jbd.bootloader.path=optiboot
mpguino_jbd.bootloader.file=optiboot_atmega328.hex
mpguino_jbd.bootloader.unlock_bits=0x3F
mpguino_jbd.bootloader.lock_bits=0x0F
mpguino_jbd.build.mcu=atmega328p
mpguino_jbd.build.f_cpu=20000000L
mpguino_jbd.build.core=arduino
mpguino_jbd.build.variant=standard
  Reply With Quote