Pages: [1]   Go Down
Author Topic: cant upload to 2560 r3  (Read 437 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 57
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys,
I've been struggling with this for a couple of days and its time to ask for help:).

I am running fedora 18 64 bit. Trying to upload sketches fails with the following errors:

         Using Port                    : /dev/ttyS0
         Using Programmer              : stk500v2
         Overriding Baud Rate          : 115200
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout


When I start arduino from command line, i get these errors:

WARNING:  RXTX Version mismatch
   Jar version = RXTX-2.2
   native lib Version = RXTX-2.2pre2

There are rxtx lib files in /usr/lib64. I dont see no 32 bit libs. how do i get rid of this error.

I have created a link in /dev from acm0 to usb0. Tried sun jdk, openjdk. pulled out the bluetooth dongle, disabled selinux. No use.

arduino - v1.0.1
avrdude - 5.11.1
jdk - 7u13
avr-gcc (Fedora 4.7.2-1.fc18) 4.7.2
kernel - 3.7.7-201.fc18.x86_64
Logged

Offline Offline
Edison Member
*
Karma: 58
Posts: 2078
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you use the Arduino IDE that is included with that Fedora version ?

You can download version 1.0.3 and unzip it in a folder.
So you can remove version 1.0.1 from the package manager.
But you need the java and java-rxtx packages.

I also think that the link from acm0 to usb0 is not needed.

The Arduino Mega has problems with '!!!' characters in the code. You could try to write the bootloader with the newest Arduino 1.0.3.
You might want to try an Uno or Nano first, those cause the least problems.

You could even try to run the Windows Arduino in wine. But you need to make symlink for the serial port.
« Last Edit: February 19, 2013, 08:45:35 am by Erdin » Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 57
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yes I am using the one with fedora. I changed the preferences file, there the device was set to /dev/ttyS0, I changed it to /dev/ttyACM0, atleast now I am able to upload the sketches. At times IDE changes the usb to acm0 and acm1. The rxtx error is still there
Another question, how much current can the 5v output pins provide that is there on the board. The normal digital out pins can give 40ma, but nothing is mentioned about the 5v pins. Power to the board is from usb.
Logged

Offline Offline
Edison Member
*
Karma: 58
Posts: 2078
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you use the newest version of java rxtx, it should run without errors.

I still think that the USB power it not enough. You could try an extra adapter.

The current available at the 5V pin on the Arduino depends on the power supply.
The onboard voltage regulator could get very quickly hot if the power supply is 12V.
With only USB powered, the 5V drops if too much current is used. I think 4.5V will still be okay.

So it is hard to say. I'm guessing that with a power supply of 6V or 7V about 500mA should be possible.
« Last Edit: February 20, 2013, 08:27:37 am by Erdin » Logged

Pages: [1]   Go Up
Jump to: