Jump to content
pizviz

Memories in tm4c123gh6pm

Recommended Posts

Can anybody tell me what is importance of EEPROM,Flash,Rom memories in tiva c launchpad ??Other is that we can write EEPROM,Flash in tiva c launchpad so what is use of this means we can write where we can use it?

Share this post


Link to post
Share on other sites

Hi,

ROM = holds the boot loader and Tiva libraries; can be read/execute (i.e. you may call functions from there) but cannot be moved/erased/written back.

FLASH = where the application holds; cpu executes instructions read from flash. You may use it also to write there, erase, read. API functions provided in library.

EEPROM = a small section electrical erasable, for storing constants/parameters for program. Has a bigger write cycle count than flash(500K vs. 100K). API functions provided in library.

L

Share this post


Link to post
Share on other sites

There are also some speed differences (how long takes to read, write) - e.g. FLASH is slower to read than RAM - 

and some devices place restrictions on erasure (have to do on a block of a certain size/alignment).

 

Also, be sure to check the errata, since some versions of the Stellaris/Tiva chips have problems which will make the chip unusable if you use the EEPROM.

Share this post


Link to post
Share on other sites

Hi,

ROM = holds the boot loader and Tiva libraries; can be read/execute (i.e. you may call functions from there) but cannot be moved/erased/written back.

FLASH = where the application holds; cpu executes instructions read from flash. You may use it also to write there, erase, read. API functions provided in library.

EEPROM = a small section electrical erasable, for storing constants/parameters for program. Has a bigger write cycle count than flash(500K vs. 100K). API functions provided in library.

L

Once we have load our application in flash...means we write it ..But still i found that we can write flash using API library what is useful of it ?Means where we need this type of programming ?

Share this post


Link to post
Share on other sites

Hi,

Normally, once the application is written, will remain there forever. But some users may have also some other needs, and may use the flash instead adding other external components.

So, a couple of examples:

a) if you need a bigger memory for EEPROM and also you need to guarantee a bigger number of write cycles, then you may use the flash instead EEPROM (this may be done by using several sectors and if one is full the data is moved to another one and the previous is erased)

B) some companies use to write there a serial number and some other production data (passwords, etc).

 

L

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...