DFU failed during the work process.

SDK:nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_hrs\pca10040\s132_with_dfu\arm4\ble_app_hrs_s132_with_dfu_pca10040

Our product encountered a problem with DFU: the device fails to perform DFU mode on an Android phone during working. Phone specifications: [Sumsung Galaxy s23]--[Android version 14]--[DFU App:v2.9.0].
However, I can perform DFU mode without issues using another Android phone[Redmi Note 8]--[Android 11RKQ1.201004.002]--[DFU APP:v2.9.0] and an iPhone[13Pro,18.1.1]--[DFU APP: v6.0.1]

Why is this?



best regard

Parents Reply Children

  • Hi hung bi
    this is the log from android 14 - sumsung galaxy s23.

    Could you try to test with a sample in the SDK and DFU a very simple application ? 

    yeah. i did it.
    this is the simple application code

    int main(void)
    {
        bool erase_bonds;
            
        // Initialize.
    //  app_trace_init();
        timers_init();
        buttons_leds_init(&erase_bonds);
        LL_Key_Init();
    
        ble_stack_init();
        device_manager_init(erase_bonds);
        gap_params_init();
        advertising_init();
        services_init();
    //  sensor_simulator_init();
        conn_params_init();
    
        // Start execution.
        application_timers_start();
         
        //LL_BLE_SetAdManu(LL_BLE_ADV_PAIRING_FLAG); battery_level_update(); 
    		ble_advertising_start(BLE_ADV_MODE_FAST);
        // Enter main loop.
        unsigned long ulTimerCntPwm = gulTimerCnt1ms;    
        for (;;)
        {
            LL_Key_Scan();
        }
        
    }



    You may want to remove any bonding information, turn off an on Bluetooth on the phone and try again.

    i try it. but it not work.

  • Hi Zicongkuang, 
    I would like to see a sniffer trace when you do DFU. 

    It seems that that phone has cached the attribute table of the device and doesn't want to update it. 

    Could you check after the issue occurs, use nRF Connect app on the phone to open and check the attribute table. 
    You should use also the other phone that can do DFU to use nRF Connect app and open and see the attribute table. 

    Please take a screen shot

    What I expect you to see is to see the bootloader attribute table, with the DFU service (not the application table with the DFU buttonless service). 


  • Hi Hung Bui
    I'm very sorry for replying to you so late. I will follow your instructions to record the issues over the next few days. Could you please tell me if you have encountered the issue where Android 14 cannot upgrade to SDK 11.0?

    Best regard!

  • Hello, Hung is currently OOO, so I will take over this for a bit.

    kenyon said:
    I'm very sorry for replying to you so late.

    No problem Slight smile

    kenyon said:
    I will follow your instructions to record the issues over the next few days.

    Sounds good! Let us know when you have something.

    kenyon said:
    Could you please tell me if you have encountered the issue where Android 14 cannot upgrade to SDK 11.0?

    Nothing comes to mind. I tried searching a bit around here, and I am not immediately finding anything either.

    Regards,

    Elfving

  • SDK11_DFU_FAILED.7z
    Hi  Elfving
    I'm very sorry for not replying to your message until so late. I've been extremely busy recently QAQ

    I created the smallest example to assist you in troubleshooting the issue.

    I conducted experiments on the pca10040 development board and found that it is indeed impossible to perform DFU (unless entering the bootloader, in which case DFU can be successfully accomplished)


    The error message should be consistent.

    The model of the faulty mobile phone:


    Best regard

Related