DSPRelated.com
Forums

Using FLASH in 56F8013 as EEPROM

Started by Gentcho Nikolov May 31, 2006
Hello group,
I want to use unused part of FLASH as area to store
some parameters. Using corresponding bean it works,
but only when "waiting in RAM" is enabled. Code
increases in ~4KB, which becomes trouble for this
small DSP. Could you help with some example that
consumes less space than the bean uses - to set
protection Off, write data with pooling for the end of
operation, protection On and reading of data

Gentcho
Hello,

the real code size is increased in ~100 words only (see the project's .xMAP file). There is a data size calculated twice in the size, the debugger shows while downloading to a chip (this is because the linker doesn't know about program and data RAM overlapping and because the both program and data RAMs are used). The real size of the Wait in RAM routine is about 11 words. These 11 words are reserved for the routine in RAM. The rest of RAM could be used for data. So, there should not be a problem with memory consumption.

Petr

Hello group,
>I want to use unused part of FLASH as area to store
>some parameters. Using corresponding bean it works,
>but only when "waiting in RAM" is enabled. Code
>increases in ~4KB, which becomes trouble for this
>small DSP. Could you help with some example that
>consumes less space than the bean uses - to set
>protection Off, write data with pooling for the end of
>operation, protection On and reading of data
>
> Gentcho