Comments (9)
That is a bit strange as this is known to work since I enabled broadcast-receival on enc28J60-chip on Oct. 4th 2013:
https://github.com/ntruchsess/arduino_uip/blame/160df5327978405713cea74a22cadab71d52d7d5/utility/Enc28J60Network.cpp#L109
you might want to capture the packets using Wireshark and upload to http://www.cloudshark.org/ so I can compare bitwise to what my setup produces.
from arduino_uip.
Here you go: https://www.cloudshark.org/captures/46ecfd204d4a
https://www.cloudshark.org/captures/a66eecc476aa
https://www.cloudshark.org/captures/590a4ad3ecb5
I made several captures since the beginning sequence is not always the same, even though I don't know if it's relevant with what is wrong.
Hope it helps !
from arduino_uip.
just to let you know, I won't have time to work on this before Apr. 28th...
from arduino_uip.
Not a problem, take your time.
I am not expecting anything, just hope to help and understand if it's a bug
:)
from arduino_uip.
Hi, I'm back :-)
packages look all good. But I remember there can be an issue with the compiler not including the memory that contains the initialization of static variables into the hexfile. Requires the parameter '-j .data' (or .rodata, not sure where static const will be placed) in the options-list of avr-objcopy. How do you build the code?
from arduino_uip.
I'll check how the code is built this evening and keep you in touch.
from arduino_uip.
The objcopy invocation is the following : "/usr/bin/avr-objcopy -O ihex -R .eeprom build/cli-ethernet.elf build-cli/ethernet.hex".
Do you think removing the .eeprom section can cause the trouble ?
from arduino_uip.
Ok, I had some time to dig into the problem, and found out this is just a simple timeout.
As you can see on the captures, my DHCP sends ACK 5+ seconds after the request, while in the library the timeout value is set to 4s.
Changing the default value to 6s makes the whole thing work.
Anyway, thanks for your time, this library is great !
from arduino_uip.
closing as this got solved
from arduino_uip.
Related Issues (20)
- How to change the CS pin in software? HOT 3
- Can anyone advise on the current status of this library? HOT 9
- How to hookup the enc module to mega2560 to use this library? HOT 1
- How to make HTTPS connection using UIPEthernet lib? HOT 1
- Arduino Due
- ENC28j60 bitwise OR 0x80
- Starting Etherenet from an external class
- client.available() always returns false HOT 1
- How to recover the IP address of the client?
- Cannot open source file, Error
- How to send the data over tcp ? HOT 1
- how to send packet over tcp with static ip
- Arduino micro and enc28j60 doesn't work for me HOT 2
- where is udp.h HOT 1
- enc28j60 server connection only 4 times HOT 1
- enc28j60 server connection only 4 times
- compiler warning import => include
- ESP8266 freeze when TCP connection intempestively close.
- Arduino nano every
- error: #include nested too deeply #include <Arduino.h> & error: #include nested too deeply #include "clock-arch.h"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino_uip.