go_away

Author Topic: AVR pocket programmer... AH HELP please!  (Read 2262 times)

0 Members and 1 Guest are viewing this topic.

Offline lowprofylTopic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
AVR pocket programmer... AH HELP please!
« on: September 17, 2010, 12:14:27 PM »
Hey there!

Built my 50 buck robot. Now i need to program the darn thing  ???. Bought the AVR pocket programmer...http://www.sparkfun.com/commerce/product_info.php?products_id=9825

I have no prior experience with programming. Can somebody please explain to me the general process of what im doing here.

I got WINAVR, AVRDude, AVR Studio4, and Pony Prong (Which i cant use cause i got a USB programmer)...

Im guessing that i'm taking the written source code (photovore_v1.zip), opening it in one of the mentioned programs, turning it into a language that the AVR pocket programmer understands using one of the mentioned programs? Then, finally flashing the AVR microcontroller?
 
Has anyone used the AVR pocket programmer while building the $50 robot?

Just wanna know what programs do what in which order?

Cheers!

Offline silo_xtreme

  • Robot Overlord
  • ****
  • Posts: 172
  • Helpful? 0
  • I really love robots, they keep me awake at night.
Re: AVR pocket programmer... AH HELP please!
« Reply #1 on: October 11, 2010, 09:38:30 PM »
Hi, since there has been no response ...

I'm not sure if you saw this.. it could be helpful.  It's from the $50 robot tutorial.  It walks through the process step by step.

http://www.societyofrobots.com/step_by_step_robot_step4.shtml

Offline 123laurens

  • Full Member
  • ***
  • Posts: 59
  • Helpful? 0
Re: AVR pocket programmer... AH HELP please!
« Reply #2 on: October 13, 2010, 09:56:35 AM »
compile yousing avr studio as in step 4

im actualy buying the same thing,its currently on order but i think you shud enter this in command prompt as far as i know:

Code: [Select]
avrdude -c usbtiny -B 1 -patmega8 -U flash:w:main.hex
making sure that the file is in the C drive-Not in a folder and that the file is called main.hex otherwize change it in the above code. ;)

 


Get Your Ad Here

data_list