Re: arduino mega2560 and gcc-avr

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



Hi,

Am 17.07.2012 20:57, schrieb Sudaraka Wijesinghe:
> This is the avrdude settings I use:

Actually this has nothing to do with avrdude. avrdude is used to program
AVR devices. He got issues with avr-gcc, so basically there is nothing
to upload. Furthermore I think the Arduino IDE does take care of
uploading and issues like this.

> avrdude -c stk500v2 -p atmega2560 -b 115200 -P /dev/ttyACM0 -U
> flash:w:program-file.hex
> (You will need the root privileges for this).

This can (and to my opinion should) be changed, so you don't need to be
root. See [1] for some examples for various programmers.

First of all you should try to use the upstream package, which can be
downloaded here [2]. It already contains the necessary tool chain
(including avr-gcc and/or avr-g++), so it probably should work just
fine. If it does function, you can then look into the reason why your
setup doesn't work.

Best regards,
Karol Babioch

[1]
https://wiki.archlinux.org/index.php/Udev#Accessing_Firmware_Programmers_and_USB_Virtual_Comm_Devices
[2] http://arduino.cc/en/Main/Software


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux