# ESP8266 code error

**URL:** <https://forum.arduino.cc/t/esp8266-code-error/1100938>\
**Category:** Programming\
**Created:** [March 12, 2023, 11:53am UTC](https://forum.arduino.cc/t/esp8266-code-error/1100938 "2023-03-12T11:53:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sefaai10](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@sefaai10](https://forum.arduino.cc/u/sefaai10)\
**Post date:** [March 12, 2023, 11:53am UTC](https://forum.arduino.cc/t/esp8266-code-error/1100938/1 "2023-03-12T11:53:32Z")

</div>

I am getting this error while uploading the code to the 8266 card. What is the solution ?

 ![Screenshot_4](https://europe1.discourse-cdn.com/arduino/original/4X/f/e/a/fea8b301438d609c6399b85d2b20b68f9fd203a5.png)

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [March 12, 2023, 11:56am UTC](https://forum.arduino.cc/t/esp8266-code-error/1100938/2 "2023-03-12T11:56:56Z")

</div>

Welcome to the forum

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'  
  
Use **code tags** (the \</\> icon above the compose window)&nbsp;to make it easier to read and copy for examination

> [@How to get the best out of this forum](https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966):
>
> See also [FAQ - Arduino Forum](https://forum.arduino.cc/faq) for general rules on forum behaviour and etiquette. Hello, Welcome to the Arduino Forum. This guide explains how to get the best out of this forum. Please read and follow the instructions below. Being new here you might think this is having rules for the sake of rules, but that is not the case. If you don’t follow the guidelines all that happens is there is a long exchange of posts while we try to get you to tell us what we need in order to help you, which is fru…

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [March 12, 2023, 11:58am UTC](https://forum.arduino.cc/t/esp8266-code-error/1100938/3 "2023-03-12T11:58:45Z")

</div>

What makes you think that you have an error ?

---

<div class="post-metadata">

**Author:** ![sefaai10](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@sefaai10](https://forum.arduino.cc/u/sefaai10)\
**Post date:** [March 12, 2023, 12:00pm UTC](https://forum.arduino.cc/t/esp8266-code-error/1100938/4 "2023-03-12T12:00:26Z")

</div>

." Variables and constants in RAM (global, static), used 31384 / 80192 bytes (39%)  
║ SEGMENT BYTES DESCRIPTION  
╠══ DATA 1616 initialized variables  
╠══ RODATA 3200 constants  
╚══ BSS 26568 zeroed variables  
. Instruction RAM (IRAM\_ATTR, ICACHE\_RAM\_ATTR), used 61287 / 65536 bytes (93%)  
║ SEGMENT BYTES DESCRIPTION  
╠══ ICACHE 32768 reserved space for flash instruction cache  
╚══ IRAM 28519 code in IRAM  
. Code in flash (default, ICACHE\_FLASH\_ATTR), used 363440 / 1048576 bytes (34%)  
║ SEGMENT BYTES DESCRIPTION  
╚══ IROM 363440 code in flash "

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [March 12, 2023, 12:04pm UTC](https://forum.arduino.cc/t/esp8266-code-error/1100938/5 "2023-03-12T12:04:11Z")

</div>

That is not an error, rather it is information about how memory is being used by your sketch

I assume that after upload your sketch does not do what you want. What should it do and what does it do ?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [September 8, 2023, 12:04pm UTC](https://forum.arduino.cc/t/esp8266-code-error/1100938/6 "2023-09-08T12:04:17Z")

</div>

Closed on September 8, 2023, 12:04pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
