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

Is there a way to write the value to the specified address on the flash?

Hello.
I am developing a central operation using nrf52832 (S132 v7.0.1, SDK v17.0.0).

I want to read / write a value to the specified address of the flash.
According to my research, FDS can read and write, but it is not saved in a fixed location.
Is there any way? teach me please.

Best Regards.

Parents
  • Hi

    Do you want to write to the flash from the CPU itself, or through the debugger from a PC?

    If you use the SoftDevice you can use the sd_flash_write(..) function to write to a specific address in flash. Just make sure to use an area of the flash that is not used for anything else (FDS for instance). 

    Best regards
    Torbjørn

Reply
  • Hi

    Do you want to write to the flash from the CPU itself, or through the debugger from a PC?

    If you use the SoftDevice you can use the sd_flash_write(..) function to write to a specific address in flash. Just make sure to use an area of the flash that is not used for anything else (FDS for instance). 

    Best regards
    Torbjørn

Children
No Data
Related