FOTA is working on nrf52840 dev kit but not Working on Custom board


Hello

I have two files first is bootloader_dfu and second is ble_led using two files i can test FOTA on nrf52840 dev kit which is working fine but same files
used my custom board in this board i can upload zip file successfully but after uploading zip file still getting same name(DFU Trag ) show in nrf connect app
but in dev kit after uploading zip . i got Nordic_Blinky.which is show below in photo 

5078.ble_led.zip3835.bootloader_dfu.hex

case 1 : for custom borad

   

  

case 2   after upload file zip on nrf52840 dev kit

  • Hi DG,

    It is very difficult to tell what is wrong with only this much information.
    Are you able to obtain the log from the bootloader on your custom board?
    Could you please also give some details about the steps you have taken?

    Also, have you tried to reset the custom board after uploading the application?

    Hieu

  • Hi Hieu

    i upload video for entire process can you tell me how to print log.

    i  reset the custom board but still getting same name DfuTarg

    BR

    DG

  • Hi DG,

    DG said:
    i upload video for entire process can you tell me how to print log.

    Regarding the device log:

    I assume your custom board at least have the debug interface, since you are able to flash the bootloader on. With that, you can enable logging via RTT.

    To enable logging, please refer to the NRF_LOG.* configurations in the pca10056_s140_ble_debug project.

    Regarding the phone app log:

    It seems you are on Android. Swipe right on the BLE Services screen, and it should reveal the log view. You can enable logging to the DEBUG level, and there should be a button to copy or save the log.

    DG said:
    i  reset the custom board but still getting same name DfuTarg

    Can you also try to readback the flash memory of the device to see if your application is there?


     There are two things I forgot to ask in my first reply:

    • Did you try with a different board?
    • Can the application you are trying to download run on the custom board in the first place?
      • You can test this by merging a generated bootloader setting page and the application together with your SoftDevice + Bootloader image.

    BR,

    Hieu

Related