Society of Robots - Robot Forum
Software => Software => Topic started by: Borot on January 23, 2010, 05:57:52 AM
-
Hi,
I am using avr studio 4.18, using the atmega8l 8 pin 8mhz 8kb microc and the pocket avr programmer pgm-09231. What platform do i implement in avr studio to connect?
-
You can try AVRISP, but its probably not supported by AVR Studio.
To use this programmer, attach to a Windows machine and install the drivers listed below. Open a command prompt. Assuming WinAVR (and therefore AVRDUDE) have been installed, type:
avrdude -c usbtiny -B 1 -patmega328 -U flash:w:main.hex
Be sure to include the "-B 1" flag as this will significantly increase the programming speed! You may need to change -p flag to your appropriate microcontroller. You can setup a tool and hotkey in Programmers Notepad to do this automatically.
-
thanx admin,
I tried to connect with AVR studio but with no success, avrisp didn't work on the auto setting. Would avr dude work? with my pololu pocket avr programmer? If not can you suggest a way of connecting to my atmega8L ?
-
sry didn't see the quote section!
-
I tried avr studio 4.18 again on com 9 instead of auto and it worked! also avr dude worked i had to use:
cd c:
avrdude -p m8 -P COM9 -c avrispv2 -e -U flash:w:BlinkLED.hex
thanx again
-
It also says:
Be sure to include the "-B 1" flag as this will significantly increase the programming speed!
Slow programming becomes a hassle after awhile!