Part Number: CC1310 Hello
We have reached a point in our project where we lack SRAM space
Since we do not want to change MCU just yet - we are considering using the Sensor Controller SRAM (AUX_RAM) as an extension of the main core SRAM
SimpleLink documentation…
Part Number: CC2640R2F Tool/software: hello, im using code composer studio version 10.3.0.00007
ble sdk simplelink_cc2640r2_sdk_5_10_00_02
XDC tool version 3_51_03_28_core
external flash w25x40cluxig
#define DEFAULT_MAX_SCAN_RES 10
// Advertising interval…
The AUX_RAM is 2kB , so 0x400E0000 + 2kB yields an end address of 0x400E07FF.
Please see 17.2 Memory Mapping in the CC26xx TRM (SWCU117) for an explanation of the 4kB memory space allocation.
Best wishes
I want to declare a time_t global variable in that section of the RAM to read and write every second. For that I need to do those steps?:
- Add the linker symbol "AUX_AS_RAM=1" in the Command File Preprocessing.
- Add all the code that is listed…
Hey Ammar;
Are you sure that ram have capable of non-volatile storing.
I writed codes below. When I restarted chip, passcode is erased.
#define APP_SERIAL_ADDRESS (0x400E0000) //AUX_RAM 0x400E 0000
#pragma RETAIN(Psw)
#pragma LOCATION(Psw, APP_SERIAL_ADDRESS…
Hi Tim,
I think that the AUX_RAM is not zeroed by HW on reset so you could try using it to save the data that needs to survive reset.
Regards
Dimitar Devedzhiev
Hi,
Great, glad we have found the solution together.
Let us know how it goes for the AUX_RAM. If needed, don't hesitate to open a new thread (that way this one will only be dedicated to Cache as RAM).
Best regards,
Hi Clement,
probably I found the problem…
When my data are too big I have an problem of memory allocation about AUX_RAM. as you can see below:
Instead when the AUX_RAM is disponible, I have:
So, the question is:
HOW CAN I MOVE AUX_RAM -> SRAM…
Hi,
Exactly, the same applies for the AUX_RAM as RAM. As you mentioned, the AUX_RAM can be leveraged no matter if the CACHE is already used as RAM and/or the configuration of the SNV.
Best regards,