avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] how to connect USBasp to attiny2313


From: Ormund Williams
Subject: Re: [avr-chat] how to connect USBasp to attiny2313
Date: Fri, 02 Aug 2013 08:23:16 -0400

On Fri, 2013-08-02 at 09:53 +0200, YuGiOhJCJ Mailing-List wrote:
> This is the result of the command:
> $ sudo avrdude -v -B 50 -p t2313 -c usbasp -U flash:w:main.hex
> avrdude: Version 5.11, compiled on Jul 26 2013 at 17:11:14
>          Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
>          Copyright (c) 2007-2009 Joerg Wunsch
> 
>          System wide configuration file is "/usr/etc/avrdude.conf"
>          User configuration file is "/home/spierre/.avrduderc"
>          User configuration file does not exist or is not a regular file, 
> skipping
> 
>          Using Port                    : /dev/parport0
                                           ^
Problem is here----------------------------|

I think you need to add the switch that tells avrdude which port the
usbasp is connected to, so change your command from this:

  $ sudo avrdude -v -B 50 -p t2313 -c usbasp -U flash:w:main.hex

to this:

  $ sudo avrdude -v -B 50 -p t2313 -c usbasp -P usb -U flash:w:main.hex


Regards.

-- 
Ormund




reply via email to

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