Pages: [1]   Go Down
Author Topic: softwareSerial error arduino-0016 in ubuntu  (Read 566 times)
0 Members and 1 Guest are viewing this topic.
Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am using a "arduino duemilanove w/ 328"
Ubuntu 8.04 + arduino-0016

1.


unknown MCU 'atmega328p' specified
Known MCU names:
   avr2
   at90s2313
   [glow]much of list removed[/glow]
   at90usb1287
   at94k
   avr1
   at90s1200
   attiny11
   attiny12
   attiny15
   attiny28
SoftwareSerial.cpp:1: error: MCU 'atmega328p' supported for assembler only
In file included from /home/mydirectory/arduino/arduino-0016/hardware/cores/arduino/wiring.h:28,
                 from /home/my directory/arduino/arduino-0016/hardware/cores/arduino/WConstants.h:1,
                 from SoftwareSerial.cpp:24:
/usr/lib/gcc/avr/4.2.2/../../../../avr/include/avr/io.h:295:6: warning: #warning "device type not defined"

2.
 If I use "arduino duemilanove w/ 168" I do not get the same error
but cannot upload sketches.
error
avrdude: stk500_recv(): programmer is not responding

I have read much of the information on this site and cannot get this working from Linux. BTW works OK from Vista

I noticed the following the LINUX does not seem to be sending a reset to the board I see traffic on the RX none on the TX

On the windows setup the reset command is executed then there is two way traffic on the USB/serial. and the sketch uploads

This is a problem as I plan on using the finished controller to interface with a linux system
Logged

New Zealand
Offline Offline
God Member
*****
Karma: 0
Posts: 999
Arduino pebbles
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

My first guess is that you need to install a more recent version of avr-gcc.

--Phil.
Logged

Allentown, PA
Offline Offline
Newbie
*
Karma: 0
Posts: 39
Make it so!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

did this ever get resolved?
Logged

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you want to keep the Ubuntu 8.04 release you'll have to find a way to install a more recent version of the avr-gcc and avr-libc packages. (From the Ubuntu 9.04 repositories)

If you are on the latest Ubuntu 9.04 (or upgrade to this) the default avr- packages are ok.
Eberhard
Logged

Pages: [1]   Go Up
Jump to: