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

How to find where the flash crashlog is stored ( NRF_LOG_BACKEND_FLASH_START_PAGE = 0)?

Hello,

I use nrf52832 and SDK 17.0.2.

I use flash crashlog to store crash log on the flash.

I enabled  NRF_LOG_BACKEND_FLASH_START_PAGE = 0, which means flash log area starts directly after the application (ie first page aligned address).

I use nrfjprog tool to read out the flash content, the command is "nrfjprog --family nrf52 --readcode [file]".

Now I get a file containing the flash content, the snippet of it is:

:10FD4000B0F31A80741A749C1AC00C5AB80429149F
:10FD500029102920291C0114E9382318F61A100447
:10FD60001A20041A28041A30041A38041A40041AF3
:10FD700048041A500411045890D003031247595AEA
:10FD80004D1403FFFF0F3100FFFFFFFFFFFFFFFFD9
:10FD9000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF73
:10FDA000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF63
:10FDB000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF53
:10FDC000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF43
:10FDD000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF33

Since I haven't printed any log yet, I wonder if the log starts with the line "10FD9000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF73"? But "10FD9000" is not even a flash address...

 Plase guide me how to locate flash crashlog address, thank you.

Parents Reply Children
Related