How much AON availabble to user (CYW43907)?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
NiMc_1688136
Level 5
Level 5
10 sign-ins 50 questions asked 10 solutions authored

I know the CYW43907 has 8KB of AON memory. It looks like the tiny bootloader resides in this area and the binary is 4.76 KB. Is the remaining space available for my application to store information across a SW reset or is some of the space allocated for other uses?

0 Likes
1 Solution
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

Hello,

Your understanding is correct. Besides the tiny_bootloader, the AONRAM also contains deep sleep variables.

Check the ld script app_without_rom.ld

SECTIONS

{

    .always_on_ram :

    {

        . = ALIGN(4);

        KEEP(*(.rodata.tinybl*))

        *(.deep_sleep_saved_vars.*)

    } > AONRAM

You can use the space to declare some variables as

static <variable_datatype> WICED_DEEP_SLEEP_SAVED_VAR( <variable_name> );

View solution in original post

1 Reply
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

Hello,

Your understanding is correct. Besides the tiny_bootloader, the AONRAM also contains deep sleep variables.

Check the ld script app_without_rom.ld

SECTIONS

{

    .always_on_ram :

    {

        . = ALIGN(4);

        KEEP(*(.rodata.tinybl*))

        *(.deep_sleep_saved_vars.*)

    } > AONRAM

You can use the space to declare some variables as

static <variable_datatype> WICED_DEEP_SLEEP_SAVED_VAR( <variable_name> );