JZH85F
hi,
I woud like to check how much flash memory on the total (my target is a 4MB flash) has been used once firmware is uploaded in the ESP32 target.
I'm thinking of using a higher flash size model of ESP32, since there could be a few other applications added to OpenPLC running on it...
in which result files can that be found ?
Reply 0 0
thiagoralves
It all depends on how big your PLC project is. In general a large project won’t take more than a few hundred KB, so 4MB flash should be more than enough.
 
Also, you can’t have multiple applications running in a microcontroller. Once you upload your PLC project to it, that’s it. Uploading another application would replace your PLC project
Reply 0 0
JZH85F
It all depends on how big your PLC project is. In general a large project won’t take more than a few hundred KB, so 4MB flash should be more than enough.
Also, you can’t have multiple applications running in a microcontroller. Once you upload your PLC project to it, that’s it. Uploading another application would replace your PLC project
yes, sure it depends on program content. when I say multiple application, I mean including, through a custom fonction block for instance, some code for Can management, for instance, or a photovoltaic power router (if possible, I will analyze this, the project I'm refering to is F1ATB, it's a great project (web site is in englsih too) the idea is to associate openPLC engine to the router application... or vice-versa
but in which file(s), after compiling openplc, is it possible to have a memory map of what is used ?
Reply 0 0
thiagoralves
Got it. There is no memory map besides what arduino-cli produces. At the end of the compilation process it shows the amount of flash being used by your project.
Reply 0 0
JZH85F
ok, I'll export the logs in that case, I can see a lot of interesting things recorded in the logfile.... thank you.
Reply 0 0
Reply