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

buttenlesss dfu interactive command and secure dfu uart

after accomplish merging buttonless dfu and interactive command -->the application

https://devzone.nordicsemi.com/f/nordic-q-a/72701/merging-interactive-command-and-buttonless-dfu-base-on-sdk-_17-0-2

doing lots of testing on my application show the application works correctly on buttonless dfu and upload the application with on air update(using  iphone application dfu upload)

after upload from my phone the apllication works fine

now im trying dfu uart upload but strange thing happened using same application to upload with dfu_uart

but the application caanot work does anyone know why(no error showing) 

knowing error because the interactive command does not wort

Parents
  • Hello,

     

    now im trying dfu uart upload but strange thing happened using same application to upload with dfu_uart

    but the application caanot work does anyone know why(no error showing) 

    knowing error because the interactive command does not wort

     Have you tried debugging? It is not clear to me whether your application is starting or not. Try logging something in the start of your application and see if it shows. Try using another log backend than the uart, if your application is using UART for CLI or something. Use the RTT log backend, and disable deferred logging (set it to 0 in sdk_config.h). 

    Please note that if you have programmed a bootloader, you can't program the application directly with a programmer without also programming the bootloader settings. And if you want to run a debug session, make sure that the IDE is not programming the application, as this will probably not match the bootloader settings. Test this with an application that you know is working before you try it on the application you are not sure of. If you are not sure how to do this, please let me know what IDE you are using.

    Best regards,

    Edvin

  • 6445.sdk_config.hsdk_config

    i found out the code stuck in 

    uint32_t ble_dfu_buttonless_async_svci_init(void)
    {
        uint32_t ret_val;
    
        ret_val = nrf_dfu_svci_vector_table_set();
        VERIFY_SUCCESS(ret_val);
    
        ret_val = nrf_dfu_set_adv_name_init();
        VERIFY_SUCCESS(ret_val);
    
        ret_val = nrf_dfu_svci_vector_table_unset();
    
        return ret_val;
    }

    which is in ble_dfu_unbonded.c

Reply Children
Related