Nordic nRF52840 flash readout is inconsistent.

Hello,

We are working on a project using the Nordic nRF52840. When flashing the unit it fails a flash-readout comparison check. This failure is inconsistent among different tries. Upon further investigation we also see 'corruption' occur at differnt locations in flash memory.
The image attached shows how readouts of the same registers (without any re-flashing) is different between each read.
Does anyone know what can produce this problem? and even better how to resolve this to create a stable product ?

(image)
the image show dummy data in red which is written to the flash, the bottom shows 4 readouts of the flash (without re-flashing)

(sidenotes)
- we make sure to erase the flash as stated in the datasheet
- this problem occurred only on 2 of the 5 boards we tested
- We checked different read-speeds as low as 100kHz to exclude hardware noise/crosstalk issues
- we've isolated the power supply to this chip as well

Parents
  • Hi,

    • What kind of debugger/programmer are you using?
    • Are you testing this on a custom board?
    • Have you looked at the SWD signals with a scope/logic analyzer? Since you get different readouts from the same chip after multiple tries, this seems to indicate a problem with the signal integrity.
    • What supply voltage are you running the device on? Is the signal level of the SWD lines at the same level as the supply voltage?

    Best regards,
    Jørgen 

  • Hi Jorgen,

    • we are using a segger J-link Compact
    • Our board is custom but our design is identical to configuration 5 w/o USB and NFC
    • We have not had the chance yet due to some equipment being temporarily unavailable, soonest that we can do this test will be Thursday
    • We are running it on 3V3 lab supply (isolated from all other power on the board) and the SWD signal level is also 3V3 as far as we know.

    I want to re-emphasize that this problem only near-consistently occurs on just 2 of the 5 boards.

    Kind Regards,
    David Enthoven

Reply
  • Hi Jorgen,

    • we are using a segger J-link Compact
    • Our board is custom but our design is identical to configuration 5 w/o USB and NFC
    • We have not had the chance yet due to some equipment being temporarily unavailable, soonest that we can do this test will be Thursday
    • We are running it on 3V3 lab supply (isolated from all other power on the board) and the SWD signal level is also 3V3 as far as we know.

    I want to re-emphasize that this problem only near-consistently occurs on just 2 of the 5 boards.

    Kind Regards,
    David Enthoven

Children
No Data
Related