This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf8001 setup data locked

Dear All, I used the array defined in services_lock.h to setup the nrf8001 module. Therefore, the service setup is written to the OTP memory in the chip. Now, I want to change the setup.

How can I erase the setup on the memory?

regards, Mirac

Parents
  • There a 2 areas in the nRF8001 to store the Setup information. i.e. OTP (One Time Programmable) (NVM) location and a RAM area (volatile). If you used the OTP area using the services_lock.h, then everytime the nRF8001 is reset it will use the Setup stored in NVM. However you can load a new Setup to the RAM area as well even if a valid Setup is present in NVM.

    How do you do this: Wait for the ACI Device Started Event (Standby) , this will show that the Setup in NVM has been loaded. Proceed to Send the Setup messages for the new Setup and you should get a 2nd ACI Device Started Event (Standby) which shows that the new Setup has been loaded.

    So the answer provided earlier is correct that you cannot load a new Setup to the NVM however you can continue to load a Setup to the volatile memory and use the nRF8001.

Reply
  • There a 2 areas in the nRF8001 to store the Setup information. i.e. OTP (One Time Programmable) (NVM) location and a RAM area (volatile). If you used the OTP area using the services_lock.h, then everytime the nRF8001 is reset it will use the Setup stored in NVM. However you can load a new Setup to the RAM area as well even if a valid Setup is present in NVM.

    How do you do this: Wait for the ACI Device Started Event (Standby) , this will show that the Setup in NVM has been loaded. Proceed to Send the Setup messages for the new Setup and you should get a 2nd ACI Device Started Event (Standby) which shows that the new Setup has been loaded.

    So the answer provided earlier is correct that you cannot load a new Setup to the NVM however you can continue to load a Setup to the volatile memory and use the nRF8001.

Children
No Data
Related