ESP8266 RAM Size

younger
Posts: 39
Joined: Mon Dec 29, 2014 1:49 pm

ESP8266 RAM Size

Postby younger » Fri Jan 09, 2015 4:54 pm

I has some problem,

1. How much size of the ESP8266 RAM?

2. How much size in SDK(Version 0.9.5) can be use?

Thank you.

Espressif_Kelly
Posts: 140
Joined: Mon Oct 27, 2014 10:40 am

Re: ESP8266 RAM Size

Postby Espressif_Kelly » Fri Jan 09, 2015 7:07 pm

Dear Sir,

Based on the present SDK, the available space that customers can use are as below.

RAM size <45kB (In station Mode, when connected to AP, the available space of heap+data is about 40+KB)

No programm rom in chip, user codes are strored in spi flash. Take 4Mbit spi flash as example,the current available program area is <64KB.
The maximum size of flash that ESP8266 support can be up to 128Mbit.

Thanks for your interest in ESP8266! :)

scargill
Posts: 70
Joined: Sun Nov 02, 2014 8:09 pm

Re: ESP8266 RAM Size

Postby scargill » Fri Feb 12, 2016 9:34 pm

It would appear that as of SDK 1.5.2, Espressif are using more .TEXT Ram - my code which compiles perfectly under 1.5.1 and previous will no longer compile complaining that it is out of .TEXT space.

What can be done to reduce this - I already have my functions using the DIRECTIVE to keep functions in FLASH.... is it possible to eliminate some materials in the SDK from compilation? I don't use the AT commands for example..... or the WIFI NOW stuff - if .TEXT Ram cannot be recovered I'm forever doomed to use SDK 1.51

scargill
Posts: 70
Joined: Sun Nov 02, 2014 8:09 pm

Re: ESP8266 RAM Size

Postby scargill » Fri Mar 25, 2016 2:54 am

Espressif - any chance of a reply to this one - I cannot use the latest SDK as my .TEXT memory is at 7ace on the previous SDK and runs out with the new one - anything I can strip out or change in the SDK? I've already put all my routines in FLASH

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: ESP8266 RAM Size

Postby ESP_Faye » Fri Mar 25, 2016 9:50 am

Hi,

Please provide your ".dump" file which is generated by compilation. We will help optimize it.
If you can not compile it successfully, please change the length of text from 0x8000 to 0x9000 in ld file temporarily, just in order to pass the compilation.

Who is online

Users browsing this forum: No registered users and 14 guests