ESP8266 RAM Size
-
- 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!
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!

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
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
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
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.
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
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.