Skip to content
This repository was archived by the owner on Feb 4, 2022. It is now read-only.
This repository was archived by the owner on Feb 4, 2022. It is now read-only.

RAM power down: what happens then? #28

@jerabaul29

Description

@jerabaul29

I saw that there is some 'RAM power down' happening for low power sleep:

am_hal_pwrctrl_memory_deepsleep_powerdown(AM_HAL_PWRCTRL_MEM_FLASH_512K); //Turn off everything but lower 512k

Does this mean that all the memory content outside of the first 512kb will be lost? (Assume it is b and not B as there are only 384kB of RAM?). Do you know how much power that saves?Asking as it sounds a bit scary; do we have any guarantees about how the RAM memory layout looks like? Any guarantees that the compiler does not use some RAM at the end and the start of the memory? What with dynamically allocated stuff? ...

If this is the wrong place for asking and I should ask on the main repo for Artemis just let me know :) .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions