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

S120 hex files will not load

s120 1.0.0.1-alpha loads fine s120 1.0.0.2-alpha won't load - The given hex file did not load successfully s120 1.0.0.3-alpha won't load - same error message

See attached screen shot

It appears the size of the SoftwareDevice image, 96KB, is supplied by the file for the case when the load works. For the case when the load does not work, this value is not picked up from the file and can be changed by the user.

s120 1.0.0.3 alpha.JPG

  • Hi Mark

    Take a look at the readme file and the release notes in the s120_nrf51822_1.0.0-3.alpha archive. They state that you need to program the softdevice with the .bat file in the archive.

  • Thanks for the heads up, but still a problem. See below.

    $ ./s120_nrf51822_1.0.0-3.alpha_program.bat Programming tool for s120_nrf51822_1.0.0-3.alpha SoftDevice. Will program the s120_nrf51822_1.0.0-3.alpha_softdevice.hex to the chip. The hex file must reside in the current directory. Please provide the Segger serial number if requested. Press any key to continue . . .

    Programming ... ERROR: The FICR of the device does not seem valid. The operation requires proper FICR configuration. Disabling flash write and erase protection mechanism. NRFJPROG ERROR: nrfjprog encounter an error condition that should not occur. Please report the error to Nordic semiconductor support with the text "disable_proten: return code 11". Disabling flash write and erase protection mechanism. NRFJPROG ERROR: nrfjprog encounter an error condition that should not occur. Please report the error to Nordic semiconductor support with the text "disable_proten: return code 11". Applying pin reset. NRFJPROG ERROR: nrfjprog encounter an error condition that should not occur. Please report the error to Nordic semiconductor support with the text "pin_reset: return code 12". Done. Press any key to continue . . .

  • Hi

    Before programming, try to select the device in nRFgo Studio and press "Erase All" to ensure the chip is blank before attempting to program it.

  • I had to type this

    $ ./s120_nrf51822_1.0.0-3.alpha_program.bat --program

    in Cygwin window. Good thing is that it told me to use "--program" if I don't use it.

    That worked! Hope it helps.

Related