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

Using Debug Out (p19) to program 3rd Party nrf52840/nrf52810 boards with issues

I wrote some user data to 3rd party nrf52840 boards flash using the command "nrfjprog --memwr 0x1001084 --val 0x33333333" , when I ran the program the data values was not 0x333333333,

but running the command  "nrfjprog --memrd 0x1001084" returned the correct value 0x33333333. On the nrf52840DK I have cut the fuse in sb40 to prevent the boards 52840 chip to be programmed every time I program a chip using the Debug Out connection.The is the correct way, right?  I am also trying to erase(all) of the flash before writing to it, but it doesn't help either.

What are the correct steps to write reliable to flash memory?

Thanks

Related