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
  • Well my idea is just to experiment with the Python UART library.  

    So, if you say that I'm obliged to upload a little FW in the Flash, it mean nrfjprog (or nRF Connect) does it as well. But how can it manage to put it in an unused flash area in order not to corrupt the FW already present in the target chip?

    my guess: nrfproj calculates the flash application size, the actual size of the existing FW and then puts its little FW at the end of the area, am I right?

    Thanks. 

Children
Related