Benutzer:Robomu: Unterschied zwischen den Versionen

Aus Ethersex_Wiki
Wechseln zu: Navigation, Suche
(Build avrdude with USB support from sources)
(Build avrdude with USB support from sources)
Zeile 7: Zeile 7:
 
and reports operating experiance.
 
and reports operating experiance.
  
== Build avrdude with USB support from sources ==
+
== Build avrdude with USB support from sources and configure udev to allow it access to AVRISP mkII ==
  
 
To use the ATMEL USB programmer AVRISP mkII avrdude requires libusb support. Here is how to build it from sources:
 
To use the ATMEL USB programmer AVRISP mkII avrdude requires libusb support. Here is how to build it from sources:
  
1. Make sure that libusb and libusb-dev is installed on your system
+
1. Make sure that libusb and libusb-dev is installed on your system <br>
2. Make sure that flex (substitute for lex) and bison (substitute for yacc) are installed on your system
+
2. Make sure that flex (substitute for lex) and bison (substitute for yacc) are installed on your system <br>
3. Download source package (avrdude-5.10.tar.gz) from savannah.nongnu.org and transfer it to a local install folder and unpack it with tar -xvf
+
3. Download source package (avrdude-5.10.tar.gz) from savannah.nongnu.org and transfer it to a local install folder and unpack it with tar -xvf <br>
4. cd to your extracted avrdude-5.10 folder and run ./configure
+
4. cd to your extracted avrdude-5.10 folder and run ./configure <br>
5. check config.log and if no errors reportet run make and make config to install avrdude to /usr/local/bin/avrdude
+
5. check config.log and if no errors reportet run make and make config to install avrdude to /usr/local/bin/avrdude <br><br>
 +
Since avrdude does not run under root during normal development you need to make sure that it is allowed to access the USB device associated to the AVRISP mkII. <br><br>

Version vom 5. Februar 2010, 21:03 Uhr

Ethersex Development using Eclipse Ganymede on Ubuntu 8.04 LTS

Eclipse may be used on Ubuntu 8.04 to work with the Ethersex Source Tree and even to directly flash the target from within Eclipse. However make menuconfig has to be run outside Eclipse since Eclipse does not provide a terminal window for running external tools. This article shows installation and configuration of

  1. avrdude with USB support for Atmel AVRISP mkII
  2. Eclipse Ganymede

and reports operating experiance.

Build avrdude with USB support from sources and configure udev to allow it access to AVRISP mkII

To use the ATMEL USB programmer AVRISP mkII avrdude requires libusb support. Here is how to build it from sources:

1. Make sure that libusb and libusb-dev is installed on your system
2. Make sure that flex (substitute for lex) and bison (substitute for yacc) are installed on your system
3. Download source package (avrdude-5.10.tar.gz) from savannah.nongnu.org and transfer it to a local install folder and unpack it with tar -xvf
4. cd to your extracted avrdude-5.10 folder and run ./configure
5. check config.log and if no errors reportet run make and make config to install avrdude to /usr/local/bin/avrdude

Since avrdude does not run under root during normal development you need to make sure that it is allowed to access the USB device associated to the AVRISP mkII.