ESP8266 Developer Zone The Official ESP8266 Forum 2018-08-28T20:43:50+08:00 https://bbs.espressif.com:443/feed.php?f=65&t=11554 2018-08-28T20:43:50+08:00 2018-08-28T20:43:50+08:00 https://bbs.espressif.com:443/viewtopic.php?t=11554&p=22881#p22881 <![CDATA[Re: ESP8266 - two sdk applications]]> I want to ask can we establish a nodeMCU module to module communication ? in which one module will act as transmitter and keep sending a string while the second module with the lcd attached receive that string and show it on the lcd?

Statistics: Posted by JohnyWalter — Tue Aug 28, 2018 8:43 pm


]]>
2018-08-15T16:00:38+08:00 2018-08-15T16:00:38+08:00 https://bbs.espressif.com:443/viewtopic.php?t=11554&p=22770#p22770 <![CDATA[Re: ESP8266 - two sdk applications]]>
I've been scrutinizing how does it work and it is clear now. I have to load the cca 3 volatile sections (IRAM/DRAM..) and reset the stack manually from the FLASH before jumping into my application.

Statistics: Posted by sedlacek.david — Wed Aug 15, 2018 4:00 pm


]]>
2018-08-07T15:21:53+08:00 2018-08-07T15:21:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=11554&p=22587#p22587 <![CDATA[Re: ESP8266 - two sdk applications]]>
Yes you can, this is the "OTA" feature of the Esp.
In the SDK you have different bootloaders available. The bootloaders for OTA basivally consider the flash is split in two slots (called user1 and user2 by Espressif), and they will run one of the two applications according to a flag set in Eeprom. There even exist others bootloaders on the net like "rboot", that, if I remember, allows even more applications slots.

Each application is standalone and embeds all the library code it needs (no such thing like shared library).

For your question about IRAM, I'm not sure I understand, I would say the compiler/booloader already take care about loading the righ piece of code in IRAM on startup.

Statistics: Posted by Pato — Tue Aug 07, 2018 3:21 pm


]]>
2018-07-24T16:37:21+08:00 2018-07-24T16:37:21+08:00 https://bbs.espressif.com:443/viewtopic.php?t=11554&p=22190#p22190 <![CDATA[ESP8266 - two sdk applications]]>
I can imagine I'll have two iroms in flash. Also I believe the iram section of the first application sits at the beginning of the FLASH and gets copied after the startup.

What I'm not sure about is how can I manage to get the second IRAM section stored in the middle of the flash (application IRAM) to the actual IRAM?

Hope it is clear. Thanks in advance.

Statistics: Posted by sedlacek.david — Tue Jul 24, 2018 4:37 pm


]]>