This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

【nRF52】Restored from ALL_RAM_OFF

Hello.

After executing the code below, the RAM was dropped and the program could not be written.

for(idx = 0; idx < 7; idx++)
{
  NRF_POWER->RAM[idx].POWER = (POWER_RAM_POWER_S0POWER_Off << POWER_RAM_POWER_S0POWER_Pos) | (POWER_RAM_POWER_S0RETENTION_Off << POWER_RAM_POWER_S0RETENTION_Pos) | (POWER_RAM_POWER_S1POWER_Off << POWER_RAM_POWER_S1POWER_Pos) | (POWER_RAM_POWER_S1RETENTION_Off << POWER_RAM_POWER_S1RETENTION_Pos)
}

How can I get it to recover??

Related