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…
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…
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
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 Andres,
As I already wrote the SC future behavior (I mean start again) should not be a problem in my case as there will be a reset before to be done an attempt it to be used again. The main MCU also not going to use any peripheral before reset.
According…
Hi Tony,
Could you please check if the AUX_RAM (Sensor Controller) of the device could have been repurposed as RAM? This guide provides details .
When it comes to symbols, TI does not provide the symbols for the whole BLE stack. Do you think this is what…