uisp-dev
[Top][All Lists]
Advanced

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

Re: [Uisp-dev] Example command lines?


From: Theodore A. Roth
Subject: Re: [Uisp-dev] Example command lines?
Date: Mon, 16 Dec 2002 15:06:35 -0800 (PST)


On Mon, 16 Dec 2002, Bob Paddock wrote:

:)
:) > What does your command line look like?
:)
:)  uisp-20021201 # /usr/local/bin/uisp -dpart=AT90S8515 -dserial=/dev/ttyS1
:) --rd_fuses
:) Invalid parameter: -dpart=AT90S8515
:)
:) What is the right format for the 8515?  None the variations I tried worked.
:) This is what I get now, after recompiling and installing the Dec01 release.

The -dpart option should not be case sensitive. You are missing the
-dprog=stk500 option. This command should work for you:

  $ uisp -dpart=stk500 -dserial=/dev/ttyS1 -dpart=AT90S8515 --rd_fuses

:)
:) > This assumes that the stk500 is connected to the default port of /dev/avr
:) > which looks like this on my system:
:) >
:) >   $ ls -l /dev/avr
:) >   lrwxrwxrwx    1 root     root       5 Jun 18 09:26 /dev/avr -> ttyS0
:) >
:) > You could also at the -dserial=/dev/ttyS0 to avoid using the default.
:) >
:) > The "command not found" is more likely coming from your shell saying that
:) > it can't find uisp. Is directory you installed uisp into in your PATH?
:) > Where did you install uisp?
:)
:) I have uisp in /usr/local/avr/bin .  I just recompiled it and saw that it was
:) 'installed' in /usr/local/bin but I get the same results.
:)
:) If I try to run 'dog' which does not exist I get 'no such file', where uisp
:) gives 'no command specified'.
:)
:) Also I don't have a /dev/avr.  What should have created that?

I created it manually. It's complete optional though. You can create it
like this (must be done as root):

  $ cd /dev
  $ ln -s ttyS1 avr

:) address@hidden AVR $ uisp
:) uisp: No command specified.
:) address@hidden AVR $ dog
:) bash: dog: command not found

Ok. Uisp can be found in your PATH (/usr/local/avr/bin is in $PATH).
Uisp expects some options as commands, you didn't give it any.

Ted Roth




reply via email to

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