# Free FLASH in netos

**URL:** <https://forums.digi.com/t/free-flash-in-netos/3446>\
**Category:** NET+OS\
**Tags:** hardware\
**Created:** [July 6, 2007, 8:07am UTC](https://forums.digi.com/t/free-flash-in-netos/3446 "2007-07-06T08:07:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cm1](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@cm1](https://forums.digi.com/u/cm1)\
**Post date:** [July 6, 2007, 8:07am UTC](https://forums.digi.com/t/free-flash-in-netos/3446/1 "2007-07-06T08:07:46Z")

</div>

What is the right way to find out what parts of the FLASH are free for use by the application?

At this moment I understand that image.bin (the compressed format of the application) is located at the start of the flash and the latest sector is recerved for the NVRAM settings.

Is the space between these two free?

My NET+OS 7.1 (ESP) settings are as follows,

#define HTTP\_SERVER\_ENABLED FALSE  
#define HTTPS\_SERVER\_ENABLED FALSE  
#define FTP\_SERVER\_ENABLED TRUE  
#define FTP\_CLIENT\_ENABLED FALSE  
#define CLI\_TELNET\_SERVER\_ENABLED TRUE  
#define CLI\_SERIAL\_SERVER\_ENABLED FALSE  
#define FLASH\_FILESYSTEM\_ENABLED FALSE  
#define SSL\_ENABLED FALSE  
#define SNTP\_ENABLED FALSE  
#define SMTP\_ENABLED FALSE

---

<div class="post-metadata">

**Author:** ![charliek](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@charliek](https://forums.digi.com/u/charliek)\
**Post date:** [July 9, 2007, 10:46pm UTC](https://forums.digi.com/t/free-flash-in-netos/3446/2 "2007-07-09T22:46:08Z")

</div>

See the attached Memory Map. You’ll want to either use the flash filesystem if you have something more than a few KB to write. Keep in mind that NVRAM stores the devBoardParamsType structure at the start of the last sector of flash.

---

<div class="post-metadata">

**Author:** ![cm1](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@cm1](https://forums.digi.com/u/cm1)\
**Post date:** [July 11, 2007, 1:17pm UTC](https://forums.digi.com/t/free-flash-in-netos/3446/3 "2007-07-11T13:17:00Z")

</div>

Thank you very much for the memory map.

Could you please tell me where can I find (linker output files maybe) OR how determine how big the application is?

Is the image.uncompressed file size (Input bytes, while compressing to image.compressed) the right way to check the size?

---

<div class="post-metadata">

**Author:** ![cm1](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@cm1](https://forums.digi.com/u/cm1)\
**Post date:** [July 11, 2007, 2:51pm UTC](https://forums.digi.com/t/free-flash-in-netos/3446/4 "2007-07-11T14:51:23Z")

</div>

I compiled your “Flash Memory Sample” example application which tells, that flash will start from the address of 0x2000000, but the PDF document you gave shows that it starts from 0x50000000.

So which is the right one?

---

<div class="post-metadata">

**Author:** ![cm1](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@cm1](https://forums.digi.com/u/cm1)\
**Post date:** [July 12, 2007, 1:01pm UTC](https://forums.digi.com/t/free-flash-in-netos/3446/5 "2007-07-12T13:01:45Z")

</div>

Flash can be written 100 000 times.

I understand this, that the erase can be executed 100 000 times/sector until the manufacturer does not guarantee the quality of the memory.

Right?
