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

Writing programs using nRF Connect Programmer

I wrote a program for nRF51822 and compiled it with keil.
The app, boot, and sdk are combined and written to the chip.
However, if I write using nRF Connect Programmer, it works without boot.
Why does it work without boot when writing with nRF Connect Programmer?
*When writing without boot using a tool other than nRF Connect Programmer, it did not work.

Parents Reply
  • I checked the HEX file.
    We have confirmed that the HEX file we wrote sets the boot address (0x0003C000) to 0x10001014.
    The following is the setting location.
    -----
    :02000000041000EA
    :0410140000C0030015


    In addition, we have additionally confirmed the following
    Two patterns of writing (nRFconnect and NETIMPRESS) were performed, and the HEX files were compared by reading each pattern.
    As a result of comparison, the following differences were found between nRFconnect and NETIMPRESS.


    The following is an excerpt from the read results of nRFconnect.
    -----
     :020000041000EA
     :10100000FFFFFFFFFFFFFFFF00FFFFFFFFFFFFFFEF
     :10101000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0

    The following is an excerpt from the read results of  NETIMPRESS.
    -----
     :020000041000EA
     :1010000000800100FFFFFFFF00FFFFFFFFFFFFFF6A
     :10101000FFFFFFFF00C00300FFFFFFFFFFFFFFFF19


    Checking the above, I am still back to my initial question.
    I see that NETIMPRESS has the boot address set and works.
    In nRFconnect, the boot address is not set to 0x10001014.
    Why does it work?

Children
Related