This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Help in Consumtion decrease

Hi All,

I work with AT91SAM7x256.
I need your help, I want to decrease the FLASH memory consumption of my program.
I try to do it with running from the RAM memory, it means, that in the main function I copy all the code from the FLASH to the RAM and remap.

From the data sheets, if the code doesn't approached to flash, the flash get in Ultra Low Power, and that's significant decrease the consumption.
In reality it's doesn't occurs.

What I need to do to decrease the Flash consumption?

  • Hi All,

    I work with AT91SAM7x256.
    I need your help, I want to decrease the FLASH memory consumption of my program.
    I try to do it with running from the RAM memory, it means, that in the main function I copy all the code from the FLASH to the RAM and remap.

    From the data sheets, if the code doesn't approached to flash (for some time, I guess), the flash get in Ultra Low Power, and that's significant decrease the consumption.
    In reality it's doesn't occurs.

    What I need to do to decrease the Flash consumption?

  • Is it?

    ie, is it actually significant relative to the consumption of the whole of the rest of the chip?

    How are you measuring it?

    Note that this is really a question for the chip manufacturer (Atmel?) - it's nothing specifically to do with Keil!

  • I think that it is only when the processor as a whole is put into deeper sleep modes that the reduced consumption from turning of the supply voltage to the flash will make a real difference. Are you regularly running your processor in 32768 Hz with a few quick interrupts and then directly back to sleep?