Show Posts
Pages: 1 2 [3] 4 5 ... 14
31  Using Arduino / Programming Questions / Re: Ethernet begin variable allocation on: March 13, 2013, 01:42:30 pm
I haven´t post the code because it is to dense, and i was trying to close in on the error.

Do you think it would be possible to release the previous DhcpClass object before calling Ethernet Begin again?

Another idea,

in case of using fixed ip, do you think this problem would persist?

Thank you for the input
32  Using Arduino / Programming Questions / Ethernet begin variable allocation on: March 13, 2013, 01:14:56 pm
Hi,

I´m having some problems with the ethernet component of my project.

I do data submissions to a personal server.
Sometimes when my server is down, my program restarts, because of the sistematic trys to establish a connection with my server.

Every time the server doesn´t answer, i reset the ethernet module and recall the Ethernet Begin function and after i do a Client connect.
I think it is the consistent calling to the Ethernet Begin function that might be my problem.

Does someone has an opinion?
Does anyone has any idea if this might be a memory problem related with the Ethernet Begin re calling?

Regards
33  Using Arduino / Programming Questions / Re: Ethernet Standard CS modification on: December 20, 2012, 06:14:46 am
Perfect.

Thanks MarkT

I tested it and it worked.

I tried to find it myself, but seems like lacked the persistence smiley
34  Using Arduino / Programming Questions / Re: Ethernet Standard CS modification on: December 18, 2012, 05:40:43 am
Hi,

In the case of Arduino UNO the SShardware pin is used for selecting the W5100 chip to comunicate.

In the case of the Arduino Mega the PB4 (pin 10) pin is used to select the W5100 chip to comunicate.

In the Mega case i cannot find the reference in the core Ethernet library to the PB4 (pin10). I need to find this or the way they do this so i can modify this port and use the one in my specific design.

Does anyone know?
35  Using Arduino / Programming Questions / Re: Ethernet Standard CS modification on: December 17, 2012, 01:20:03 pm
Hi,

The Arduino Ethernet Shield and respective library (Ethernet.h).
36  Using Arduino / Programming Questions / Ethernet Standard CS modification on: December 17, 2012, 11:06:56 am
Hi,

I am using a Mega2560 with a board redesign and i wanted to change the standard chip select pin 10 to another pin.

Where on the Ethernet library can i do this?

Thanks
37  Development / Other Software Development / Re: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches on: December 05, 2012, 06:11:45 am
If i forgot to say thanks, i´m sorry

I´m really glad you developed this plugin and still take the time to help others.

Thank you Jantje

Keep up the awesome work
38  Using Arduino / Programming Questions / Re: Client and Server runing at the same time on: November 30, 2012, 01:16:09 pm
What do you think i should be carefull with?

Only with the question of loosing requests? is that it?
Or are you envisioning other problems?
39  Using Arduino / Programming Questions / Re: Client and Server runing at the same time on: November 30, 2012, 11:43:53 am
So, you are saying that i can use a Server to serve the requests that arrive and i need to make some GET to a specific URL i can still use that same server?
Assuming that the GET do not collide with serving the requests...

This way i don´t have to instantiate a Client. Correct?
40  Using Arduino / Programming Questions / Client and Server runing at the same time on: November 30, 2012, 09:59:36 am
Hi,

I was wondering is it possible to run a server and a client at the same time with the Ethernet shield

Ideas?

Regards
41  Development / Other Software Development / Re: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches on: November 30, 2012, 06:04:23 am
Hi Jantje,

In my case it worked with 1.0.1. . Thank you

I helped Globe with is setup but somehow it didn´t worked, i did the same process.
He is using MacOS might that be a reason?
42  Development / Other Software Development / Re: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches on: November 29, 2012, 09:49:50 am
Hi Jantje,

I had the same problem as Globe.

When compiling the libraries i got the following errors:

Code:
**** Build of configuration Release for project ETHERNET_Test ****

make all
Building file: C:/Program Files/arduino 1.0.2/libraries/Wire/utility/twi.c
Invoking: AVR Compiler
avr-gcc -I"C:\Program Files\arduino 1.0.2\hardware\arduino\cores\arduino" -I"C:\Program Files\arduino 1.0.2\hardware\arduino\variants\mega" -I"C:\Program Files\arduino 1.0.2\libraries\Ethernet\utility" -I"C:\Program Files\arduino 1.0.2\libraries\Ethernet" -I"C:\Program Files\arduino 1.0.2\libraries\SPI" -I"C:\Program Files\arduino 1.0.2\libraries\Wire" -I"C:\Program Files\arduino 1.0.2\libraries\Wire\utility" -D__IN_ECLIPSE__=1 -DARDUINO=102 -DUSB_PID= -DUSB_VID= -Wall -Os -g -mmcu=atmega2560 -DF_CPU=16000000UL -MMD -MP -MF"Wire/utility/twi.d" -MT"Wire/utility/twi.d"  -c -o "Wire/utility/twi.o" "C:/Program Files/arduino 1.0.2/libraries/Wire/utility/twi.c"
C:/Program Files/arduino 1.0.2/libraries/Wire/utility/twi.c:115: error: conflicting types for 'twi_readFrom'
C:/Program Files/arduino 1.0.2/libraries/Wire/utility/twi.h:45: error: previous declaration of 'twi_readFrom' was here
C:/Program Files/arduino 1.0.2/libraries/Wire/utility/twi.c:192: error: conflicting types for 'twi_writeTo'
C:/Program Files/arduino 1.0.2/libraries/Wire/utility/twi.h:46: error: previous declaration of 'twi_writeTo' was here
make: *** [Wire/utility/twi.o] Error 1

**** Build Finished ****
43  Using Arduino / General Electronics / Re: Ethernet board Redesign on: November 27, 2012, 09:35:57 am
Hey,

I made some more tests, and it seems that the size of the cabling was the problem.
At the moment this design is working.

Strangely not following the rules from the W5100 reference schematics.
Anyway i´m going to add the modifications of running ground lines with the wiring and adding some more capacitors for decoupling.

Thanks

44  Using Arduino / General Electronics / Re: Ethernet board Redesign on: November 27, 2012, 06:33:52 am
I checked the "reference" schematic, even the latest version with POE doesn´t have capacitor in the 1V8 lines.

I read the W5100 reference schematics and in revision 2.1 it shows capacitors in the 1V8 lines ...
http://www.wiznet.co.kr/UpLoad_Files/ReferenceFiles/W5100_Ref_sch_MAG_R2.1.pdf

Strange...
45  Using Arduino / General Electronics / Re: Ethernet board Redesign on: November 26, 2012, 08:20:08 pm
Hi Mark,

In the case of the 1V8 source, there isn´t decoupling because there was none on the original arduino ethernet shield, i thought that it wouldn´t be needed.
Don´t forget that i copied the schematics completely for the ethernet redesign.
Maybe i can improve the trace distance between pins and read the datasheet of W5100 to improve decoupling.

The 3V3 source has some decoupling capacitors i can try to improve their placement.

The two regulators in the schematic are the same sugested and used in the original arduino ethernet shield (i copied).

The RJ45 connector is just a connector that brings the SPI pins to this ethernet board from another board, and the GND reference comes from the power source. As i´m writting this i just realize that this just might be the problem, the SPI bus. I know that SPI is a PCB bus, but separating the boards was the only way to make my design work.... I will have to try to use the shortest possible cabling between boards, and maybe slowdown comunication droping the SCK frequency.

Do you think droping SCK frequency in the Ethernet libraries will affect their correct functioning?
I will try to add some ground pins  in the connector this might help a little bit...

Any more ideas?

Thanks!

Pages: 1 2 [3] 4 5 ... 14