How can I consistently enforce/determine mapping of SNV base address? I intend to use the ROM bootloader, but want to preserve BLE name. Alternatively, can I reserve a raw flash sector with the linker and read/write directly?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
How can I consistently enforce/determine mapping of SNV base address? I intend to use the ROM bootloader, but want to preserve BLE name. Alternatively, can I reserve a raw flash sector with the linker and read/write directly?
Hi James,
The SNV is located right before the CCA in the flash memory map. See image below:
The SNV area should end at STACK_FLASH_END, so you could start at that address and move your way back until the start of the SNV area is found. The provided image is found in section 3.10.1 Flash Memory Map of the Software Stack User's Guide.
The bim and bim_extflash examples may offer insight into how to read and write directly to flash.
Best Regards,
Jan