[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] uisp problem
From: |
Theodore A. Roth |
Subject: |
Re: [avr-gcc-list] uisp problem |
Date: |
Wed, 14 Apr 2004 08:37:04 -0700 (PDT) |
On Wed, 14 Apr 2004, Torsten Hahn wrote:
> Hi,
>
> i hav build a serial programmer AVR-PG1B as shown on www.olimex.com/dev
> and i have trouble to get it to work with uisp. I connected the cable
> direct to the avr device (mega128) like shown in the doc:
>
>
> 1 -> MOSI (Pin 12)
> 2 -> +5V (Pin 52)
> 5 -> Reset (Pin 20)
> 6 -> GND (Pin 53)
> 7 -> SCK (Pin 11)
> 9 -> MISO (Pin 13)
>
> the cable sits in the first serial port of my linux box, but an
>
> uisp -v=4 -dprog=dasa -dlpt=serial -dserial=/dev/ttyS0 --erase
Using -dlpt and -dserial at the same time isn't going to work like
you've done it. You can use either "-dlpt=/dev/ttyS0" or
"-dserial=/dev/ttS0". Uisp knows it is a serial dongle from the
"-dprog=dasa" option.
What you've told uisp to do is open the "serial" device file in the
current directory and the -dserial option is ignored since giving -dlpt
will cause uisp to ignore the -dserial option.
Clear as mud, no? ;-)
---
Ted Roth
PGP Key ID: 0x18F846E9
Jabber ID: address@hidden