2

Author Topic: Mac + Axon + USB + avrdude  (Read 2048 times)

0 Members and 1 Guest are viewing this topic.

Offline emosemanTopic starter

  • Jr. Member
  • **
  • Posts: 22
  • Helpful? 0
Mac + Axon + USB + avrdude
« on: August 03, 2009, 09:19:27 PM »
I just got my Axon and am excited to get started, but I am running a Mac and don't have access to windows machines or software.  I'm wondering if there is any way to get avrdude to work.  I've been looking at the source, more specifically the usbasp and usbtiny programmers and they actually look straight-forward enough that if I had the right information I could hack together something that would work.  I'm trying to find the Axon's USB vendor and product id number, is that available?

Thanks!

--
Evan

Offline emosemanTopic starter

  • Jr. Member
  • **
  • Posts: 22
  • Helpful? 0
Re: Mac + Axon + USB + avrdude
« Reply #1 on: August 04, 2009, 10:40:07 AM »
Hi, I just received my Axon board and am a Mac user/developer and I don't have access to a PC to run the WinAvr application.  So, I'm trying to see if it is possible to write a programmer for the avrdude application so that I can program my Axon directly from the Mac command line or XCode as it were.  There is already sample code available in the avrdude source repository for the tinyUsb and USBasp programmers, so I have a lot of sample code to use if I could find out the vendor and product id for the usb interface on the Axon board.

Are there USB drivers required for the Axon board to connect to the WinAvr application?  I remember seeing posts related the windows drivers, I'm wondering if a) they are needed and b) if they are open-source so that I may apply that code to a Mac version.

Thanks for any info!

--
Evan

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,658
  • Helpful? 169
    • Society of Robots

Offline emosemanTopic starter

  • Jr. Member
  • **
  • Posts: 22
  • Helpful? 0
Re: Mac + Axon + USB + avrdude
« Reply #3 on: August 05, 2009, 01:16:54 PM »
Thanks for the info!

I ran across a Mac OS X driver for the USB->UART cp2102 chip so I'm going to try that when I get home tonight.  I have avrdude source, and it compiled and working.  I have also found a post here that looks promising:

http://tinkerlog.com/2007/09/29/programming-avr-with-a-macbook/

I'll give that a shot and hopefully I'll be programming my Axon tonight!

--
Evan

Offline emosemanTopic starter

  • Jr. Member
  • **
  • Posts: 22
  • Helpful? 0
Re: Mac + Axon + USB + avrdude
« Reply #4 on: August 05, 2009, 07:06:27 PM »
I downloaded and installed the drive and it is at least creating the new device file in /dev when the board is plugged in. 

My next question is: is there a compatible programmer that already exists for the avrdude program that would be compatible?

--
Evan

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,658
  • Helpful? 169
    • Society of Robots
Re: Mac + Axon + USB + avrdude
« Reply #5 on: August 06, 2009, 06:41:27 AM »
This should help you:
http://www.ladyada.net/make/usbtinyisp/avrdude.html

At the bottom is more info for Macs, too. And Linux!

 


Get Your Ad Here

data_list