anilgkts / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Arduino Severino s3v3 problem with atmega8 #881

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I make arduino severino board based on site instructions, burned bootloader for 
atmega8 from arduino/hardware/arduino/bootloader/atmega8/ATmegaBOOT.hex with 
avrdude under Linux:

avrdude -p m8 -c stk200 -P /dev/parport0 -U flash:w:ATmegaBOOT.hex

After that i write fuse bits:

avrdude -p m8 -c stk200 -P /dev/parport0 -U lfuse:w:0xff:m -U hfuse:w:0xca:m

LED 4 (power) is "on" after i give power to arduino board, led L (LED 3) is 
blinking with ~10 seconds interval.

But i can't write sketches to arduino board with Arduino IDE (ver 1.0 latest): 
even when i choose any example sketch, when i push "Verify" button i have 
following errors:

/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:93:11: 
error: attempt to use poisoned "SIG_UART_RECV"
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:94:4: 
error: #error "Don't know what the Data Received vector is called for the first 
UART"

Error reproduces every time, when board type = Arduino NG or older w/ Atmega 8

Original issue reported on code.google.com by dkorzhevin@gmail.com on 8 Apr 2012 at 11:46

GoogleCodeExporter commented 9 years ago
I use Arch Linux and following package versions:

Arduino IDE arduino 1:1.0-3
compiled from this package: https://aur.archlinux.org/packages.php?ID=8388

avr-gcc 4.6.3-1
gcc 4.7.0-3 (base-devel)
gcc-libs 4.7.0-3 (base)
lib32-gcc-libs 4.7.0-3

My system is x86_64

I will provide any other info on your request to debug this problem

Original comment by dkorzhevin@gmail.com on 8 Apr 2012 at 11:49

GoogleCodeExporter commented 9 years ago
Arduino currently expects avr-gcc 4.3.2 and a similarly old avr-libc
Something as new as 4.6 is likely to have a lot of problems.  Here, there are 
changes in the way ISRs are defined for the serial interrupt.
instances of SIG_UART_RECV will eventually need to be changed to 
USART_RXC_vect, and SIGNAL changed to ISR

Original comment by wes...@gmail.com on 28 Apr 2012 at 6:34

GoogleCodeExporter commented 9 years ago
(that makes this a duplicate of 
http://code.google.com/p/arduino/issues/detail?id=831 )

Original comment by wes...@gmail.com on 28 Apr 2012 at 6:36

GoogleCodeExporter commented 9 years ago
Fixed, it will be available on next releases (1.0.5 and 1.5.3)

C

Original comment by c.mag...@arduino.cc on 3 Apr 2013 at 11:58

GoogleCodeExporter commented 9 years ago
Issue 831 has been merged into this issue.

Original comment by c.mag...@arduino.cc on 3 Apr 2013 at 11:59