Changes in MBR params cause programs to fail to start

I have a program that to fail to start.  I read the flash content use jflash,  found that the only difference between the program that can run normally  is  the value  on MBR_parameter_addr. I Want to know the data struct  of MBR_parameter?

Parents Reply Children
  • but the content at 0x7e000 and 0x7f000 is different on failing device.

    The settings pages is also invalid. I suggest you compare the whole memory between the failing and working device to see what else is different. You can do this with nrfjprog.

    # read out memory of working device
    $ nrfjprog --memrd 0x0 --n 0x80000 > good_device.txt
    # Same for failing device
    $ nrfjprog --memrd 0x0 --n 0x80000 > bad_device.txt
    # Compare the differences using 'diff' or a similar tool
    $ diff -u good_device.txt bad_device.txt

Related