Code Monkey home page Code Monkey logo

Comments (6)

Sonnengruesser avatar Sonnengruesser commented on July 28, 2024

I think partly write is not supported yet by the knx stack. Just do a full application upload.

from knx.

thelsing avatar thelsing commented on July 28, 2024

The flash memory usage is managed dynamically. So if the flash starts at address 1000 and you have an address table of 100 Byte, the association table starts at address 1100. I you now increase the address table by adding some more group addresses in ETS you need more space. So you have to rewrite everything, or move the address table to an address with more free space. This should work already, but you get flash memory fragmentation.

One would have to define maximum sizes for the address table, application program, etc to support partial programming.

from knx.

Sonnengruesser avatar Sonnengruesser commented on July 28, 2024

In the meanwhile is there an option to disable partial programming in the knxprod xml file?

from knx.

mumpf avatar mumpf commented on July 28, 2024

Hi @thelsing,

there are these entries in knxprod:

        <AddressTable MaxEntries="65535" />
        <AssociationTable MaxEntries="65535" />

Why not use these for the sizes of the according tables? Of course this would mean, they have to be set correctly in knxprod.
A further option for compability: As long as they are 65535, the flash memory is managed dynamically without partly programming (as it is now), but as soon as they are set to any other value, the required memory is used.

Regards, Waldemar

from knx.

thelsing avatar thelsing commented on July 28, 2024

You would have to keep those values in sync (knxpod <-> code). But otherwise its doable. One could use dynamic memory management if no sizes are set, and fix the sizes of the tables if the limits are set.

from knx.

OutOfSync1 avatar OutOfSync1 commented on July 28, 2024

I created a pull request (#132 ) to enable partial programming. This seems to work at least on ESP32 and SAMD. Thanks to mumpf and proggerKA at KNX-UF for the idea and testing.

from knx.

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.