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

nrf51822 programming using nrfgoStudio

Hello,

I programmed about 200 nrf51822 boards for prototype production. The order was softdevice - bootloader - application. In the process of test I saw some abnormal boards(over 30%). It seems that they go into halt state during operation, even though there was no fail in programming.

So, I have some question.

  1. If there is no fail message is it right to be regarded as a success?
  2. Is there anything special in programming?
  3. Does program include verity? If not, should I verify after programming every time?
  4. I want to program all in a time. I can merge softdevice/bootloader/application. After that, which tool could I use to do so?

That's all. Thanks.

Parents
  • Hi Air,

    1. Yes, if there are no error, then I would assume that the board was programmed correctly.
    2. I am not quite sure what you mean here.
    3. I believe that nRFGo Studio performs a verify operation after it flashes a hex file.
    4. Yes, after merging the bootloader, application and softdevice using mergehex, you can use nrfjprog to flash the combined hex file. nrfjprog and mergehex are both a part of the nRF5x Commandline Tools and can be downloaded from this page under "PC Software".

    Note that nRFGo Studio is just a GUI on top of nrfjprog, but generally, I would recommend using nrfjprog for production programming, e.g.

    nrfjprog --program <name of combined hex file>.hex --chiperase --verify
    

    This will erase the entire chip before flashing the combined hex file and finally read back the flash to verify that it was flashed correctly.

    Best regards

    Bjørn

  • Happy to help! If you found the answer helpful, then I would appreciate if you could mark it as accepted/correct by clicking the check-mark in the circle to the left of the answer.

Reply Children
No Data
Related