ESP8266 Developer Zone The Official ESP8266 Forum 2016-01-12T18:19:17+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1599 2016-01-12T18:19:17+08:00 2016-01-12T18:19:17+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1599&p=5345#p5345 <![CDATA[Re: Free RAM in ESP-WROOM-02 Wifi Module]]>
Thanks for Reply.

SO, it seems like code without ICACHE_FLASH_ATTR stored in IRAM which is limited in size while code with ICACHE_FLASH_ATTR stored in CACHE Memory which is ROM and depends on SPI Flash Memory Size.

Currently, ESP-WROOM-02 has < 36KB of IRAM and 80 KB of DRAM so that User has to develop application in such a way to store less code in IRAM.

Regards,
Ritesh Prajapati

Statistics: Posted by ritesh — Tue Jan 12, 2016 6:19 pm


]]>
2016-01-11T14:57:21+08:00 2016-01-11T14:57:21+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1599&p=5328#p5328 <![CDATA[Re: Free RAM in ESP-WROOM-02 Wifi Module]]>
"system_get_free_heap_size()" gets the size of available DRAM.

For ESP8266_NONOS_SDK, IRAM stores the functions without "ICACHE_FLASH_ATTR". Other functions will be stored in Flash, and run in cache when it is called. More details in http://bbs.espressif.com/viewtopic.php?f=61&t=366&p=1345#p1345.

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Mon Jan 11, 2016 2:57 pm


]]>
2016-01-08T14:01:29+08:00 2016-01-08T14:01:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1599&p=5308#p5308 <![CDATA[Re: Free RAM in ESP-WROOM-02 Wifi Module]]>
I have called "system_get_free_heap_size()" and got around 34208 Bytes. I want to know that "system_get_free_heap_size()" returns total size of DRAM and IRAM which are freed or only IRAM or DRMA which is freed?

Also, let me know how DRAM and IRAM is oragnized in ESP-WROOM-02 Wifi Module if anyone knows about it.

I want to understand how IRAM and DRMA is managed in this ESP-WROOM-02 Wifi Module.


Regards,
Ritesh Prajapati

Statistics: Posted by ritesh — Fri Jan 08, 2016 2:01 pm


]]>
2016-01-08T11:41:55+08:00 2016-01-08T11:41:55+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1599&p=5304#p5304 <![CDATA[Re: Free RAM in ESP-WROOM-02 Wifi Module]]>
You can call system_get_free_heap_size() in the user_init, to get the size of free heap. It is about 45~50 KB.

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Fri Jan 08, 2016 11:41 am


]]>
2016-01-07T12:31:25+08:00 2016-01-07T12:31:25+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1599&p=5290#p5290 <![CDATA[Free RAM in ESP-WROOM-02 Wifi Module]]>
I have flashed AT Firmware 0.50 which is based on SDK 1.4.0. Now, I want to know howmych RAM is freed based on following informations.


ets Jan 8 2013,rst cause:1, boot mode:(3,7)



load 0x40100000, len 28076, room 16

tail 12

chksum 0x66

ho 0 tail 12 room 4

load 0x3ffe8000, len 2004, room 12

tail 8

chksum 0x3b

load 0x3ffe87e0, len 5120, room 0

tail 0

chksum 0x97

csum 0x97


Does anyone has idea about how IRAM and DRAM is allocated and howmuch RAM is freed for ESP-WROOM-02 Wifi Module?

Regards,
Ritesh Prajapati

Statistics: Posted by ritesh — Thu Jan 07, 2016 12:31 pm


]]>