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

Programming error

Hi, dear support team, I program the softdevice(S110,v7.1.0) to the nRF51822 devices(our product) by nRFgo Studio v1.21.1.3.

The nRFgo Studio shows a error message as below.

image description

Only one piece 100% failed and others are normal.

What it means?

Thank you so much.

  • Hi Stanley,

    Could you confirm, you have several custom boards (same layout) and on only one board you see the issue ? Could you check if you have the same error with nrfjprog and try "nrfjprog --recover" and then try to flash the softdevice with "nrfjprog --program" .

    If you simply flash an application without softdevice such as the blinky example, do you have the same issue ?

  • Hi Hung Bui,

    Thank you for the information.

    Yes, I have several custom boards and I see the issue on only one board.

    I have tried the command "nrfjprog --recover" and "nrfjprog --program", it seems normal.

    I have the same issue if I just flash the application with softdevice. The nRFgo Studio still popup the error dialog.

    There are some messages for your reference. Thank you so much.


    C:\Program Files\Nordic Semiconductor\nrf5x\bin>nrfjprog --recover

    Recovering device. this operation might take 30s.

    Erasing user code and UICR flash areas.

    C:\Program Files\Nordic Semiconductor\nrf5x\bin>nrfjprog --program E:/PB2_PackVe

    rsion/pb2/bin/170210_Release/hex/s110_nrf51822_7.1.0_softdevice.hex

    Parsing hex file.

    Reading flash area to program to guarantee it is erased.

    Checking that the area to write is not protected.

    Programing device.

    C:\Program Files\Nordic Semiconductor\nrf5x\bin>


  • So what you are telling is that the board was programmed and worked well if you use nrfjprog to program but it's not possible to program if you use nRFGo Studio ? Does the application work after you flash with nrfjprog ?

    Have you tried to call nrfjprog --verify to check if the hex is match ?

  • Hi Hung Bui,

    Actually, My board was programmed well but it doesn't work.

    I guess the ROM of nRF51822 was broken, right?

    I have tried to call nrfjprog --verify, It shows "verify failed".

    Let me show you the log below.


    C:\Program Files\Nordic Semiconductor\nrf5x\bin>nrfjprog.exe --verify E:/PB2_Pac

    kVersion/pb2/bin/170210_Release/hex/s110_nrf51822_7.1.0_softdevice.hex

    Parsing hex file.

    Verifying programming.

    ERROR: Write verify failed.


    Thanks!!

  • Has the board worked before ? Seems like an issue with the internal flash on the chip.

Related