uisp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Uisp-dev] mac os x and usb to serial adapter


From: Joakim Arfvidsson
Subject: Re: [Uisp-dev] mac os x and usb to serial adapter
Date: Thu, 1 Apr 2004 00:43:05 +0200

This is probably the exact adapter I'm having trouble with. Picture:
http://www.elfa.se/elfa-bin/setpage.pl?http://www.elfa.se/elfa/ produkter/en/6121.htm

Yes, it is that one.

This is a sample command you might want to look at:

/usr/local/bin/uisp -dprog=avr910 -dserial=/dev/cu.usbserial0 -dpart=auto --erase --upload --verify if=rom.hex

You might want to change -dprog if you don't have that kind of external hardware. /dev/cu.usbserial0 is the default location of the serial port. Check out this:

/usr/local/bin/uisp

Obviously, I meant /usr/local/bin/uisp --help :)

This command is probably the right one, but I realized that my programmer was not supported by uisp, so I must buy another one. I have a "SI-prog" which works with ponyprog. But it seems that it's not possible to install ponyprog on mac os x, and I can't get it work under Virtual PC with my adapter.

My problem with this adapter is that I have to reinsert it between every programming. When programming from AVR Studio in Virtual PC though, it works! And the usb-serial adapter is NOT taken over by VPC at the USB level, but only at the serial port level (COM1 is redirected to /dev/cu.usbserial0).


I tried to do that, but it doesn't work with ponyprog...

Do you think I should change my programmer? Do you know which one I have to buy to be sure that it works with atmega8535?

Weeell... you shouldn't listen to me, since me setup obviously is flawed:)

Like Theodore suggests, an STK500 will do everything you'd want. If you're a little economically minded and can make do without the more advanced features, choose the AVRISP. You would probably just want to program ISP anyway, and the only use of the advanced features that springs to mind is the enabling of the internal RC oscillator.

Instead of buying an AVRISP, you can build one according to these instructions:

http://www.qsl.net/wd6cmu/avr910.htm

With the suggested swapping of the 1200 to a 2313 with improved software of this site (look at the bottom):

http://www.serasidis.gr/circuits/avr_isp/avr_isp.htm

If you're not experienced, you might wonder a thing or two about that scheme. Feel free to ask me... or save yourself the hassle and buy something:)

Joakim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]