Code Monkey home page Code Monkey logo

Comments (7)

ntruchsess avatar ntruchsess commented on August 24, 2024

Can run these checks against the code from this branch: https://github.com/ntruchsess/arduino_uip/tree/static-memory ? I've removed dynamic memory-allocation from the library the last weekend, but not yet merged into master (guess I'd need more than 24 hours a day to do all testing in my freetime ;-))

from arduino_uip.

bibi21000 avatar bibi21000 commented on August 24, 2024

My enc28j60 module has gone away :((
I've bought another one ... but need to wait

from arduino_uip.

bibi21000 avatar bibi21000 commented on August 24, 2024

Don't think it's amiracle but it works again :)
And the memory leak seems to be solved :
freeMemory()=5569
DATA from Server
Client disconnect
Client connect
Client connected
freeMemory()=5569
DATA from Server
Client disconnect
Client connect
Client connected
freeMemory()=5569
DATA from Server
Client disconnect
Client connect
Client connect failed
Client connect
Client connect failed
Client connect
Client connect failed
Client connect
Client connect failed
Client connect
Client connect failed
Client connect
Client connected
freeMemory()=5569
DATA from Server
Client disconnect
Client connect
Client connected
freeMemory()=5569
DATA from Server
Client disconnect
Client connect
Client connected
freeMemory()=5569
DATA from Server
Client disconnect
Client connect
Client connected
freeMemory()=5569

I've stopped the server during test, that's why there is some connections failed.

from arduino_uip.

ntruchsess avatar ntruchsess commented on August 24, 2024

thank you for running those tests against my beta-code. Seems it's getting closer to 'release'-version now ;-)

from arduino_uip.

bibi21000 avatar bibi21000 commented on August 24, 2024

Your welcome.
I've got problems with my enc28j60 ... sometines it works, sometime I can't get DHCP addresse and sometimes nothing at all !!!
So I'll finish my devs with the official shield I've found in my stock :)
I've start to convert source code and it is really simple :))
Simply replace UIPEthernet with SPI/Ethernet ;).
Why don't you use SPI ?

from arduino_uip.

ntruchsess avatar ntruchsess commented on August 24, 2024

SPI-lib was not used in the code that Enc28J60Ethernet.cpp is based on. Have check whether it increases memory-footprint (in flash) by replacing direct register-io with methods from SPI

from arduino_uip.

ntruchsess avatar ntruchsess commented on August 24, 2024

having released http://github.com/ntruchsess/arduino_uip/tree/UIPEthernet_v1.04 and http://github.com//ntruchsess/arduino_uip/tree/UIPEthernet_v1.51 I consider the memory-leak as fixed.

BTW: added use of SPI-lib for DUE. Still using direct register-access on AVR as this is aprox. 70bytes of flash smaller.

from arduino_uip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.