Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRFx timestamps using nrfjprog

Hi there,

Is possible use nrfjprog to write in flash the data time using windows batch commands after programmed the device? 

actually, I want to use the nRF52 as a RTC where I can provide the timestamp using windows batch commands and read it from the memory at startup (when programming) and periodical updates through BLE

For example:

nrfjprog -f nrf52 --memwr 0x00060000 --val Year

nrfjprog -f nrf52 --memwr 0x00060010 --val Month

nrfjprog -f nrf52 --memwr 0x00060020 --val Day

nrfjprog -f nrf52 --memwr 0x00060030 --val Hour

nrfjprog -f nrf52 --memwr 0x00060040 --val Minute

I will read theses flash address and use that data time

Parents Reply Children
No Data
Related