Pages: [1]   Go Down
Author Topic: Arduino Mega cant transmit  (Read 457 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I have a very strange problem, possibly a bug.
When i upload code to my arduino mega that makes use of the serial library the TX is not working.
I tested this with Fedora 12 on 2 computers, using the Arduino IDE 0018 (and previous versions). When i upload to the Arduino Deumilanove i have no problems transmitting and receiving with the serial connection.
When i use Windows XP to upload to my Arduino Mega i have no problems at all!

I hope someone knows a fix for this problem.

If you need more information let me know.

-Randy

//Update: maybe this is useful info, if i upload code that makes use of the serial connection on windows xp and try it out on fedora, the arduino is able to Receive and Transmit, so no problems. However when i upload with the arduino IDE on fedora the arduino cannot Send. So the problem must be something related to compiling (toolchain??)
« Last Edit: May 07, 2010, 05:10:36 pm by SuicideFunky » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Okey i have done some more research and it seems that the ELF file (inside the applet folder) is different from the working version (on xp).

The're both identical except for Byte 33 of line 1, this byte differs on the working version. I have tested this with 2 very different pieces of code, compiling one on fedora and one on windows xp, both making use of the serial library.

I hope this will be some usefull information smiley
Logged

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

Hi,
could it be this problem here
http://code.google.com/p/arduino/issues/detail?id=131

Eberhard
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Eberhard,

Yes, this suggestion fixed my problem!
After i installed avr-gcc 4.3.3 and avr-gcc-c++ 4.3.3 on fc12  (previously i had version 4.4.2 installed) and uploaded my sketch the serial worked.

thank you very much smiley-grin

-Randy

ps: here you can find avr-gcc 4.3.3 and avr-gcc-c++ 4.3.3 for fc11/12/13:

-http://fr2.rpmfind.net//linux/RPM/fedora/12/i386/avr-gcc-c++-4.3.3-3.fc12.i686.html

and:

-http://fr2.rpmfind.net/linux/rpm2html/search.php?query=avr-gcc&submit=Search+...

« Last Edit: May 11, 2010, 10:21:15 am by SuicideFunky » Logged

Pages: [1]   Go Up
Jump to: