Show Posts
Pages: 1 [2]
16  Using Arduino / Installation & Troubleshooting / Re: Arduino Ethernet no network connection(toolchain problem on amd64 linux) on: March 22, 2012, 03:15:57 pm
Finally it seems I was able to get a working toolchain on gentoo/AMD64:
Now I was able to compile and run blink and DhcpAdressPrinter  smiley-mr-green

I will do some more tests the next few days and report back if this toolchain can be considered stable.

Thanks again to all who tried to help
17  Using Arduino / Installation & Troubleshooting / Re: Attempting to use software serial anywhere in code causes freeze on startup. on: March 13, 2012, 01:33:25 pm
I'm very curious if you will be able to get it working. I tried many combinations and still no luck on linux smiley-cry
18  Using Arduino / Installation & Troubleshooting / Re: Attempting to use software serial anywhere in code causes freeze on startup. on: March 12, 2012, 11:15:10 am
Welcome to the club smiley-grin
In my case it's the ethernet which is not working. I think in your case it might be the wrong version of binutils. Try binutils < 2.20.1 and see if that solves your problem.
19  Using Arduino / Installation & Troubleshooting / Re: Arduino Ethernet no network connection(toolchain problem on amd64 linux) on: March 11, 2012, 01:28:06 pm
Well,
first of all with IDE on windows all modes work fine.
On Linux no mode works at all. It didn't even succeed the init of e.g. EthernetClient object.
20  Using Arduino / Installation & Troubleshooting / Re: Arduino Ethernet no network connection(toolchain problem on amd64 linux) on: March 11, 2012, 05:30:34 am
Thank you all for your help.

I replaced the Ethernet/utility folder content with the files from github, but still no ethernet  smiley-sad

Still no luck with Ethernet.

Regards
21  Using Arduino / Installation & Troubleshooting / Re: Arduino Ethernet no network connection(toolchain problem on amd64 linux) on: March 10, 2012, 03:59:42 pm
Unfortunately it still doesn't work.
I'm using a.t.m:

Code:
*  cross-avr/avr-libc
      Latest version installed: 1.7.1
*  cross-avr/gcc
      Latest version installed: 4.4.6-r1
*  cross-avr/binutils
      Latest version installed: 2.19.1-r1

Ethernet still not working...

Update:
Tested:
Code:
*  cross-avr/avr-libc
      Latest version installed: 1.7.1
*  cross-avr/gcc
      Latest version installed: 4.5.3-r2
*  cross-avr/binutils
      Latest version installed: 2.19.1-r1

Ethernet still not working...
22  Using Arduino / Installation & Troubleshooting / Re: Arduino Ethernet no network connection(toolchain problem on amd64 linux) on: March 10, 2012, 11:28:24 am
I'm using Gentoo on AMD64
23  Using Arduino / Installation & Troubleshooting / Re: Arduino Ethernet no network connection(toolchain problem on amd64 linux) on: March 10, 2012, 02:49:02 am
Hi,
I changed those lines but unfortunately it doesn't help.
I also tried the "blink" example this morning and found out it doesn't work on linux, too.
Can you post me your toolchain versions (avr-gcc, avr-libc) ?

Thanks

Update
Oh well, I think I bought a hell lot of problems with these ┬ÁController things.
First the blink example can be "fixed" as described here https://wiki.archlinux.org/index.php/Arduino#delay.28.29_function_doesn.27t_work
Seems that the avr-toolchain is awfully broken. Not only avr-gcc and avr-libc also binutils is affected.
Now on to find out which combination works correctly

Any help is greatly appreciated
24  Using Arduino / Installation & Troubleshooting / Re: Arduino Ethernet no network connection on: March 09, 2012, 10:15:10 am
Changed sketch to look like this:
Quote
/*
* Prints a message on serial console

*/
#include <SPI.h>
#include <Ethernet.h>

// Enter a MAC address for your controller below.
// Newer Ethernet shields have a MAC address printed on a sticker on the shield
byte mac[] = {  0x90, 0xA2, 0xDA, 0x00, 0xF0, 0x59 };
IPAddress ip(192,168,10,22);

EthernetClient client;

void setup() {
  // start the serial library:
  Serial.begin(9600);
  // print your local IP address:
  Serial.println("Hello I'm your arduino");
  Serial.println("Trying to get an IP Address...");
  Ethernet.begin(mac,ip);
}

void loop() {
}


Still no answer via serial console.

Edit1:
I narrowed the problem down to the wz5100 functions. As soon as one of Ethernetserver or Ethernetclient is used, the arduino stops working. If I only use Ethernet.begin(mac, ip) I can at least ping the arduino.

Edit2:
Problem seems to be the toolchain on my amd64 linux box. On my windows machine everythings ok now.
This is sad. I tried avr-gcc-4.5.3 and avr-gcc-4.3.6 both without success.

Does anybody know which combination of avr-gcc / avr-libc is working on amd64 linux ?
25  Using Arduino / Installation & Troubleshooting / Re: Arduino Ethernet no network connection on: March 09, 2012, 10:01:33 am
It should get one by dhcp. But it doesn't matter because as soon as I use any ethernet related feature (notice I just want to instantiate client object) the program stops to work at all.
26  Using Arduino / Installation & Troubleshooting / Arduino Ethernet no network connection(toolchain problem on amd64 linux) on: March 08, 2012, 03:07:50 pm
Hello,
I just received my Arduino Ethernet and tried some example sketches. Most of them worked, but all Ethernet related examples refused to work. To track down the problem I use the following sketch:
Code:
/*
 * Prints a message on serial console
 
 */
#include <SPI.h>
#include <Ethernet.h>

// Enter a MAC address for your controller below.
// Newer Ethernet shields have a MAC address printed on a sticker on the shield
byte mac[] = {  0x90, 0xA2, 0xDA, 0x00, 0xF0, 0x59 };

//EthernetClient client;

void setup() {
  // start the serial library:
  Serial.begin(9600);
  // print your local IP address:
  Serial.println("Hello I'm your arduino");
  Serial.println("Trying to get an IP Address...");
}

void loop() {
}
This sketch works until I activate the line
Code:
//EthernetClient client;
by removing the comment.
The sketch doesn't work anymore (no serial output).

Any help is appreciated.

Greetings
Anaxi
Pages: 1 [2]