Hi Simon.
Thanks for the reply.
The IP-Address and Port are very well in existence; we have thousands
of (other kinds of) devices already connected to our server. (Just for
the record, our server is a MQTT-broker server. Currently I am trying
to connect our device to port 1883 on the server.
Ajay Garg wrote:
We are using lwip-1.4.1 with FreeRTOS on Atmel-Studio-7, on Windows.
During the call to netconn_connect, the resultant err_t code being
returned is ERR_ABRT.
[..]
I have googled, and I see a lot of people have this issue.
Great. This means the remote host did not respond to
Hi All.
We are using lwip-1.4.1 with FreeRTOS on Atmel-Studio-7, on Windows.
During the call to netconn_connect, the resultant err_t code being
returned is ERR_ABRT.
Upon debugging, the line that is triggering this is
Hello,
There seems to be a checksum issue that prevented a scussful ping.
(although it looked OK in wireshark)
After disabling CHECKSUM_BY_HARDWARE (for some reason it was defined)
, it works without any issues now.
Best Regards,
Ran
On Mon, Sep 25, 2017 at 10:31 AM, Wayne Uroda
Hi Ran,
What about using memcpy, since it can handle unaligned access?
#define ip_addr_copy(dest, src) memcpy(&((dest).addr), &((src).addr),
sizeof((dest).addr))
Maybe that would work? I am not 100% sure though.
- Wayne
On Mon, Sep 25, 2017 at 4:45 PM, Dirk Ziegelmeier
I've found that IAR use similiar flag; --no_unaligned_access.
So, now I get progressed , and see packes recieved and send.
Yet, for some reason althoyugh everything looks without errors in
wireshark, I get "request time out" for ping from PC.
I tried to ping from several PC but it didn't help.
Can
Hello Dirk.
Thank you for the suggestion.
I am using IAR compiler, and there is no such flag:
http://netstorage.iar.com/SuppDB/Public/UPDINFO/006738/arm/doc/EWARM_DevelopmentGuide.ENU.pdf
Is there any way to workaround this issue ? I tried many stuff but
lwip doesn't work in any way. I can't be