nrf5 SDK ram noinit example

hi support team,

customer is asking about 832 keil noinit setting, i did one in KEIL IDE, and find out that when i using nrfjprog --reset  or watchdog reset or download image reset, ram is not initialized, 

however when i reset device by pinreset with button reset in DK board, the ram is changed.

uint32_t print_data  __attribute__((at(0x2000FFF0)));

print_data++;
NRF_LOG_INFO("program restart SPI example started%8x",print_data);

i could not understand why reset will cause this difference?

is it possible to do such function(keep ram not changed) with noinit?

Regards,

William.

Related