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

a way to read the flash memory over UART without uploading a firmware to the target chip? (nrf52)

nRF52832 / SDK V15

Hello,

Is there is way to read the nRF52 flash memory (any location if possible) over UART without uploading a program in the flash memory for that? (because there might be already a firmware there

we don't want to alter)

Basically, it's like asking how "nRF Connect/ Programmer" app can display the flash memory map...

My first guess would be to upload and run a small sketch in the RAM of the target chip and only in there.

Thanks.

Parents Reply
  • I still don't understand what's your goal with this. If you just want to display the contents on flash somewhere, I'd advise you to just use JLinkExe, use the savebin command and open the bin file in Sublime Text using the HexViewer plugin.

    If you're just doing stuff for educational purposes then the pynrfjprog library is fairly easy to use. I've used it in the past to automate flashing of entire panels, writing serial numbers to UICR, etc.

Children
Related