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

nRF51822: Unable to flash s110 softdevice using android app mcp over the air

Hi all,

I have failed when try to flash a new softdevice s110 to the target device is Wunderbar's sensor module which is using nRF51822 chip. Flashing application has no problem, however when flashing softdevice it was corrupted after the DFU has started to transfer data.

The application I used for flashing can be found here: play.google.com/.../details

Does anyone have any idea?

Thanks in advanced!

PS: please don't tell me better to ask in Wunderbar's forum. I would like to confirm if there is any possible issue with my Nordic environment as well.

Huyen.

  • Hi Huyen, I need some more information on the Wunderbar you have. Which orginial softdevice it has ? Which nRF51 SDK the installed bootloader based on? When you update the softdevice do you also update the bootloader ? The orginial bootloader usually won't work with the new softdevice if it's a major change in version.

  • Hi Hung,

    Thanks a lot for your help! I have no clue to say about the original softdevice and the installed bootloader or the nRF51 SDK on that wunderbar. They don't share this information.

    However, from their opened source code place, they state that users have to dowload the SDK version 8.0. So from what you say, it seems I have to update the bootloader too. Could you please share a link where I can get an appropriate bootloader for SDK 8.0 ? And should I use the nrf Toolbox DFU instead as Stefan stated here ?

  • @Huyen: I'm not very familiar with Wunderbar board, could you point me to the page that give you the instruction to update the softdevice ?

    The nRFToolbox and Master Control Panel share the same DFU service, so I think they should be fine to handle latest DFU bootloader.

  • Hi Hung, This is the page where I get the instruction: wunderbar' sensor module source code The module needs nRF SDK which can be downloaded from Nordic site. The above link says that I should download the S110 softdevice v7. However, on their repository, where nRF SDK is uploaded, they state that user should download SDK version 8.0 (link). That makes some confusion. So I would have to try with several options to find the correct one. But now i'm stuck at flashing the softdevice. The flashing could not be done, it stopped after a while without any error message.

  • @huyento: I assume you have a Segger Jlink programmer ? Note that program softdevice and application using JLink is usually not called DFU. We call the process as DFU when we update the firmware on the flight via a bootloader, either over the air (RF)or by serial (or other mediums).

    Could you capture a log or a screenshot when you do make flash-all?

    If you have a Windows computer, I would suggest you to use nrfjprog to program the chip. nrfjprog tool can be found in the nRFTool we provided here.

    I also suggest you to also ask on Wunderbar's forum, since they have more information on the module than us. You should have no problem flashing S110 v8.0 on the XLR2 chip ( as shown in the picture in your link)

Related