Hello,
I would like to reserve 4kB non-initialized data block in FRAM to store some logged data.
I created in my C program:
#pragma NOINIT (data_log)
uint16_t data_log[2000];
And added in linker .cmd file:
.TI.noinit : {} section in FRAM READ_WRITE_MEMORY group
All works fine according to .map output file - the data is correctly allocated
The next step would be to tune Memory Protection Unit (MPU) and exclude this data block from write protection (PFWPOA = 0x04 offset)
How shall I modify either Project Properties or linker .cmd file to tune MPU offset to be effective before the main() is being executed?
In CCS 10.4.0.00006 I use I can only engage/disengage FRWI and DFWP in Project's Properties