Comments (6)
I think partly write is not supported yet by the knx stack. Just do a full application upload.
from knx.
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.
In the meanwhile is there an option to disable partial programming in the knxprod xml file?
from knx.
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.
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.
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)
- Can only read 18 Bytes of parameter data from ETS HOT 7
- TPUART - Strange connection issue with Samd21 & TP HOT 1
- Unhandled service identifier: 20B on ESP8266 HOT 1
- is it possible to get knx product certification using this stack. HOT 1
- Device programming via ETS HOT 3
- getting error communicating with NCN HOT 1
- DPT 1.24 and 1.100 missing
- Transmitting Telegrams Over KNX Bus Error HOT 1
- cemi_frame.cpp
- big flash size though eeprom warning
- Issue on decoding DPT 10.001 values - "Index" HOT 3
- callbacks missing occasionally HOT 1
- Pass through KNX-bus to Serial with H8C09 board HOT 6
- Debug message since commit 338aa1b of 2023-05-28 maybe inconsistent ? HOT 8
- Update PlatformIO Registry Version and Example Projects HOT 2
- Arduino ethernet sheild supported?. HOT 1
- CI Pipeline broken HOT 1
- Basic documentation HOT 6
- Missing ARDUINO_ARCH_RP2040 in knx/bits.h HOT 7
- KNX-Demo no prog status in ETS HOT 1
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 knx.