Issue with nRF Connect and DFU service support for BT4 and BLE 5

Hello Nordic Semiconductor Support Team,

We are trying to update application using DFU. We use bootloader, BLE 5 long range coded phy. DFU is not successful, please find the details of the log message in the attachment. we are using nRF Connect version 4.27.1, Nordic SDK version 16, and soft device 140.

Could you please provide guidance on how to resolve this issue or if there are any updates or workarounds available for nRF Connect that support DFU service for BLE 5?

Thank you for your assistance.

Best regards,

Shreya

Parents
  • Hi Shreya, 

    What I can see in the log is that after nRF Connect app send the command to switch the device to bootloader mode, it's failed to reconnect or having trouble when sending write command after connected to the bootloader. 

    Do you have the issue if you do 1Mbps PHY in your application? 
    Did you modify the bootloader to use CODED PHY or the bootloader still do 1Mbps PHY ?
    Could you try to switch the application to bootloader manually (write 0x01 to the Buttonless characteristic after enable Indication). The bootloader will start advertising as DFUTarg and then you can connect to the bootloader from the phone and do DFU update. 

    Please try capture a sniffer trace when the bootloader is connected to the phone. 

  • Hi Hung Bui,

    Do you have the issue if you do 1Mbps PHY in your application? :
    Our application works ok for 1Mbps. Sorry didn't get your question, can you give more details about the question.

    Did you modify the bootloader to use CODED PHY or the bootloader still do 1Mbps PHY ?
    We have modified the bootloader to advertise in BLE 5 coded PHY

    try capture a sniffer trace when the bootloader is connected to the phone:
    I have used the USB where the debugger is connected, getting erorr -> nRF Sniffer extcap pipe gives error FIFO does not exist. I checked if the com port exists and it generates some data, and it does do something. I checked by using USB port near to reset button. but then nrfSniffer interface was not visible. 

    Could you please suggest how to proceed?!.

    Thank you

  • Shreya J B said:
    but only some mobile phones support this feature. 

    There are still many phones that don't support CODED PHY. Is the plan to always perform DFU with CODED PHY, and in that case, is it ok that DFU won't be supported for all phones? Also, is the main app using coded PHY as well?

  • Hi Vidar,

    There are still many phones that don't support CODED PHY

    Yes, even we are searching for latest low-cost mobile phone which support this feature. In nrfconnect Device information it is provided that it supports but, in some phones it shows the list of devices advertising in BLE5 but not able to connect.

    Is the plan to always perform DFU with CODED PHY, and in that case, is it ok that DFU won't be supported for all phones?

    Most of the times we will perform DFU with CODED PHY. it's okay if doesn't support all the phones. can we get to know exactly which phones support DFU with CODED PHY. 
    I have checked the previous posted queries regarding phones supporting CODED PHY. Those all are of more than 3 years. we are looking for latest phones.

    Thank you,
    Shreya

  • Hi Shreya,

    CODED PHY is an optional feature in Bluetooth 5. Therefore, you must specifically check for CODED PHY support in the feature list. iPhones do not support it. 

    Shreya J B said:
    Most of the times we will perform DFU with CODED PHY.

    How are you going to perform the update without coded PHY if the bootloader is only advertising with this PHY?

  • Therefore, you must specifically check for CODED PHY support in the feature list. iPhones do not support it. 

    Yes we have searched but we didnt get list of mobile phones there.

    How are you going to perform the update without coded PHY if the bootloader is only advertising with this PHY?

    we are entering into Bootloader mode manually and then doing DFU for DFUTARG. 

    Thank you,
    Shreya

  • Yes we have searched but we didnt get list of mobile phones there.

    It would be nice if someone maintained a list of all phones that support CODED PHY, but I'm not aware of any such list.

    we are entering into Bootloader mode manually and then doing DFU for DFUTARG. 

    That's fine, but it won't be possible to perform DFU if the bootloader is using coded PHY but not the phone.

Reply Children
Related